2023-03-09, 03:05
I've been using Kodi 17.x for some time, got used to it and liked how music (other media files too) were handled in the File View mode. I used to organize my music files in folders and only used 3 basic playlist files, all saved in a separate folder, for some online radio channels.
The playlists are in simple PLS format, containing only one radio station- like:
More on basic playlists:
https://kodi.wiki/view/Basic_playlists
In Kodi 17.x I was browsing to the file - hit Enter on it (OK - remote) and the playback started.
I used to play these stations individually for hours - kind of a background music and some of them experienced some short interruptions (network/routing errors at the source). Kodi 17.x (I believe it's curl handling the stream) was trying to reconnect and usually succeeded - the playback started again automatically. At times, I believe curl reached its maximum retry count, the playback didn't resume and I got an error message - well, sometimes the whole Kodi 17.x would crash because of this "unable to resume playback" (very rarely).
Even if the option "play next item automatically" in Settings>Player>Music was activated Kodi 17.x never jumped to the next PLS file.
Just recently switched to Kodi 19.5 and noticed that if "play next item automatically" in Settings>Player>Music is activated, then Kodi 19.5 would jump to the next PLS file in the list if the actual one stopped playing (network/routing errors at the source).
I believe the same is happening in Kodi 18.x - I recall testing the LibreELEC releases a few times - but I'm not 100% sure about the behavior.
Furthermore, in Kodi 19.5 the list of PLS files in File View gets corrupted - the file names disappear after they're played - kind of a cosmetic issue. If I refresh the folder content - that's exiting and re-entering the folder, then the file names get displayed correctly.
See here a screenshot (actually a photo shot):
https://imgur.com/a/pmhp7eh
I believe this is a regression, Kodi doesn't make a difference between a basic playlist and simple music/audio item when "play next item automatically" in Settings>Player>Music is activated and a bug with the corruption of the PLS file list in File View.
My actual workaround to beat the logic (actually the lack of it) is to keep "play next item automatically" in Settings>Player>Music activated because I need it for the folders where I store my music files and put the basic PLS radio files separately each in its own sub folder - so that there are no "other items" to play.
I hope this is getting addressed, basic PLS files should be excepted from music item rules and I'd be happy to recompile Kodi and test the correction if a patch will be available. I'm not registered on GitHub but able to grab the code changes and apply them to my source tree.
The playlists are in simple PLS format, containing only one radio station- like:
Code:
[playlist]
NumberOfEntries=1
File1=URL:PORT/
More on basic playlists:
https://kodi.wiki/view/Basic_playlists
In Kodi 17.x I was browsing to the file - hit Enter on it (OK - remote) and the playback started.
I used to play these stations individually for hours - kind of a background music and some of them experienced some short interruptions (network/routing errors at the source). Kodi 17.x (I believe it's curl handling the stream) was trying to reconnect and usually succeeded - the playback started again automatically. At times, I believe curl reached its maximum retry count, the playback didn't resume and I got an error message - well, sometimes the whole Kodi 17.x would crash because of this "unable to resume playback" (very rarely).
Even if the option "play next item automatically" in Settings>Player>Music was activated Kodi 17.x never jumped to the next PLS file.
Just recently switched to Kodi 19.5 and noticed that if "play next item automatically" in Settings>Player>Music is activated, then Kodi 19.5 would jump to the next PLS file in the list if the actual one stopped playing (network/routing errors at the source).
I believe the same is happening in Kodi 18.x - I recall testing the LibreELEC releases a few times - but I'm not 100% sure about the behavior.
Furthermore, in Kodi 19.5 the list of PLS files in File View gets corrupted - the file names disappear after they're played - kind of a cosmetic issue. If I refresh the folder content - that's exiting and re-entering the folder, then the file names get displayed correctly.
See here a screenshot (actually a photo shot):
https://imgur.com/a/pmhp7eh
I believe this is a regression, Kodi doesn't make a difference between a basic playlist and simple music/audio item when "play next item automatically" in Settings>Player>Music is activated and a bug with the corruption of the PLS file list in File View.
My actual workaround to beat the logic (actually the lack of it) is to keep "play next item automatically" in Settings>Player>Music activated because I need it for the folders where I store my music files and put the basic PLS radio files separately each in its own sub folder - so that there are no "other items" to play.
I hope this is getting addressed, basic PLS files should be excepted from music item rules and I'd be happy to recompile Kodi and test the correction if a patch will be available. I'm not registered on GitHub but able to grab the code changes and apply them to my source tree.