Help with playlist script windows - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic) +--- Forum: General Discussion (https://forum.jellyfin.org/f-general-discussion) +--- Thread: Help with playlist script windows (/t-help-with-playlist-script-windows) |
Help with playlist script windows - robyn - 2024-04-25 So far I have been able to get as far as generating an updated XML file in the playlists folder here C:\ProgramData\Jellyfin\Server\data\playlists\<name of playlist>\playlist.xml I can replace the file but nothing seems to update in jellyfin itself. If I update the playlist from within jellyfin it will overwrite the content of the file but I can't seem to update the other way around. I have tried restarting the jellyfin service, and refreshing the metadata but nothing changes when I look at the playlist from the web interface. Anyone have any suggestions on what to look at next to get jellyfin to reingest the file? RE: Help with playlist script windows - TheDreadPirate - 2024-04-25 I can't answer your specific question other than stating that when I copied my main music playlist from my stable Jellyfin to unstable for testing, it didn't immediately show up with no explanation as for why. Then a couple days later I noticed that my playlist was there....again, no explanation. RE: Help with playlist script windows - robyn - 2024-04-27 ended up abandoning updating the xml files it just wouldn't read the updates in. Decided to go a different route and wrote a script to make PLS files instead. Along the way I noticed these will break if you have any weird characters in your file names. I cleaned mine with advanced renamer. It will also break if you have non playable files (like album art) and have code to account for that. save the text below as a file with the extension of .ps1 and run on the machine hosting your files. update the paths and playlist names. I now have this running as a daily scheduled task. Code: # Function to filter audio files |