add albumId role to MediaPlayList and use it in ManageHeaderBar
Details
Details
tests are OK
Diff Detail
Diff Detail
- Repository
- R255 Elisa
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Hey, thanks for working on this. I tried this in the links branch but it seems all albums are giving back zero (even after deleting/rebuilding the db).
console.log('id', elisa.manageHeaderBar.albumId) // qml: id 0
Comment Actions
- include tests for DatabaseInterface for the albumId attribute of tracks
- configure ManageHeaderBar to get albumId role from MediaPlayList
should fix the albumId always at 0
Comment Actions
You forgot to set the role in elisaapplication.cpp similar to the other roles (it's done in c++). You changed the android main qml file instead (which is horribly outdated)