Rolisteam is a virtual tabletop. It helps you to manage tabletop role playing games with remote friends/players. It provides many features to share maps, pictures, dice roller, manage background music and much more. The main git repository is available here: [https://invent.kde.org/kde/rolisteam].
Rolisteam version: 1.9.0 (latest)
Operating System and tools :
Windows 10
QtCreator 4.6.2
Qt 5.10.1
msvc2017 64bits
Mode - 2 windows :
GM and host
PC and client
What did you do ? (Explain each step from starting rolisteam to the issue)
Both windows : edit preferences, set MusicDirectoryPlayer to the same dir on both sides.
GM : add a song, play it.
Client : error with wrong dir.
Reason :
in preferencesdialog.cpp, we have :
m_preferences->registerValue("MusicDirectoryPlayer",ui->m_musicDirPlayer->path());
while playerwidget.cpp is using
QString("MusicDirectoryPlayer_%1").arg(m_id)
Other bug (or feature request ?)
Even when directories are correctly set on both sides, songs in this directory are OK. However, when playing songs from subdirectories, client can't find it.
Reason : on new song, playerwidget.cpp emits
emit newSongPlayed(m_id,media.canonicalUrl().fileName());
It could instead emit a relative file path, starting from music directory.
Your configuration:
Rolisteam version: 1.9.0 (latest) Operating System and tools :
Mode - 2 windows :
What did you do ? (Explain each step from starting rolisteam to the issue)
Reason :
m_preferences->registerValue("MusicDirectoryPlayer",ui->m_musicDirPlayer->path());
QString("MusicDirectoryPlayer_%1").arg(m_id)
Other bug (or feature request ?)
Even when directories are correctly set on both sides, songs in this directory are OK. However, when playing songs from subdirectories, client can't find it.
Reason : on new song, playerwidget.cpp emits
emit newSongPlayed(m_id,media.canonicalUrl().fileName());
It could instead emit a relative file path, starting from music directory.