QDivision 39 Posted June 19, 2018 Share Posted June 19, 2018 Hi, I use the emby for kodi addon and having an issue with the music section: The Recently Played Albums and Most Played Albums sections never seem to update and have been stuck at whatever they were when i first switched the emby music sync on.I have deleted the music database and done a clean library sync but it still doesn't update. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 23, 2018 Share Posted June 23, 2018 I will look into it when I have a bit of free time. Thank you for bringing this to my attention. Link to comment Share on other sites More sharing options...
QDivision 39 Posted June 27, 2018 Author Share Posted June 27, 2018 I've done a local database reset using the plugin and it has brought in the correct recently played and most played however over time it seems to bring in some random ones into those categories which aren't right which is only fixed by a local database reset. I'm testing disabling the fast startup plugin to see if that helps. Link to comment Share on other sites More sharing options...
QDivision 39 Posted June 28, 2018 Author Share Posted June 28, 2018 I've found out what's been causing it. When i use 'party mode' in kodi to generate an auto playlist it causes the recently played and most played to be wrong with only a local database reset fixing it. It seems to replace the recent and most played with songs from the library in A-Z order rather than what they should be.Is this a kodi bug or a plugin bug? 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 28, 2018 Share Posted June 28, 2018 Thank you for doing some investigating. I will test that on my side and see if it's fixable. 1 Link to comment Share on other sites More sharing options...
QDivision 39 Posted July 2, 2018 Author Share Posted July 2, 2018 I'm now not convinced it is the party mode that caused it, on one of my other kodi devices the same thing happened. Looking more closely it is artists that have a number as the first character that fill up the most played and recently played sections first then after those artists it appears to be correct. I'm tempted to remove those artists temporarily to see if that at least makes the sections correct. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted July 2, 2018 Share Posted July 2, 2018 Are you able to check your kodi database with db viewer or something? That'd give you an answer right away. if you open mymusicxx.db then select albumview, the last column, lastplayed should show a date/time. Can you compare with what you have in Emby and let me know if it doesn't match closely? 1 Link to comment Share on other sites More sharing options...
QDivision 39 Posted July 6, 2018 Author Share Posted July 6, 2018 it seems to just be 4 songs both the times played and last played are wrong values, i'm going to delete them from my library and see if that sorts it.On a side note i've also noticed that there's a column called strFileName, this is 'stream.mp3?static=true' for all songs. This affects when i want to user the lyrics fetcher for the song as it uses this value, could you fix it so this is the artist and song title? Thanks 1 Link to comment Share on other sites More sharing options...
QDivision 39 Posted July 6, 2018 Author Share Posted July 6, 2018 One more thing, the recently added is all NULL meaning the recently added albums view is wrong, is it possible for this to be pulled from emby? Link to comment Share on other sites More sharing options...
QDivision 39 Posted July 6, 2018 Author Share Posted July 6, 2018 (edited) I deleted the 4 songs and reset the database, it's now happened to another 2, I've attached 10 lines of the database you can see 2 of them in the most played and recently played columns are not right.I've tired to open up the emby database, i've found the music data but can't see anything relating to play count or play date EDIT: Think i've found the item within the emby database and all looks normal. export.txt Edited July 6, 2018 by thomasorr Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted July 27, 2018 Share Posted July 27, 2018 (edited) Just keeping you posted. I've tested with adding the missing dateAdded for songs, then changing the lastplayed date and it seems to work correctly. It will be fixed in the next beta that includes many other fixes. Just need some time to finish putting it together. Thanks for your patience. Edited July 27, 2018 by Angelblue05 1 Link to comment Share on other sites More sharing options...
QDivision 39 Posted July 27, 2018 Author Share Posted July 27, 2018 This is awesome. Thanks for your hard work. Look forward to trying out the next release. 1 Link to comment Share on other sites More sharing options...
Recommended Posts