I have spend days trying to extract the file path of playlist tracks using roon api python code. The normal list_playlist_tracks python api function works fine but only extracts the title.
I have many playlists with broken links to a former NAS drive.
I need to extract the original old complete path information to create a new playlist programatically.
Is there any way to do this ?
Does the ROON api library contain any such functionality?
Please help on this subject - I spend so much time for nothing
Thank you
select all tracks in the playlist then at the top of the screen hit the 3 dots that have appeared next to play now and choose export then save to excel. Open in excel or google sheets and you will see a path column. You can extract the path after removing the roon storage part. So below the path to the flac for me will be “\FileStore\music” (where all my files are stored) plus Sault/5/SAULT - 5 - 07 Masterpiece.flac /roon/sys/storage/smbmounts/RoonStorage_458f3cde61b7dbc865e58768f62042a196a2efb6/Sault/5/SAULT - 5 - 07 Masterpiece.flac
thank you vey much for the kind respnse. This method works fine as long as the links/paths are still fine. I verified this with a newly created playlist.
In my case the links are all broken due to the change in the NAS. All the path fields are just empty
Thats why I tried to use the api
Is there a way to somehow recover these invalid but still existing path values. I have around 70 playlists, containing 50 - 150 tracks.
It is a real pain to recover these manually.
I really hope there is a solution, otherwise I am really afraid using playlists
Hi, i dont really use playlist but try this. Go to your playlist hit the three dots and export choose folder and pick somewhere to save. i chose music. it will try and copy all the files which for you will fail but if it doesnt fall ove it should create a playlists directory and in there will be a m3u file with a path to the files (your original path ?) Chnage that path to your new path and import the updated m3u
Thank you so much for responding. I am finally back home and tried as you said. Unfortunately it does not work. For all my old playlists I get the message “No current exports”. To test the function, I created a new playlist. For this one the export works. On my old playlists, some tracks are marked with the red “unavailable” text, some are not. None are exported, I get the “No current exports” and that’s it. Is there any chance I can recover my old playlists?
I have about 40 playlists with each around 100-300 tracks. They are all useless now.
Thank you very much. Finally I found some solution. There are 2 approaches depending if the list is local or Tidal/Qobuz. For Local Lists (that have a path) convert them into an importable m3u file, make sure the format is correct (../Jacob Karlzon - Big 5 2003/05 - For Our Dearest.flac) For lists linking to Tidal/Qobuz I export them to Excel, then from Excel to csv, then I use tunemymusic online service (that worked best for me) and created a Tidal or Qobuz playlist. This will be automatically be synced to Roon. The only drawback is, should you have any mixed Tidal/Qobuz playlist in Roon which you want to export from an old machine to a new one - it will not be mixed anymore, it will all be either Tidal or Qobuz with the complete list. But that’s acceptable - I have reated both variants, since for me they sound different
ps I also have done detailed analysis of why they sound different. The reason is NOT the quality of the encrypted data, the reason is the container structure. I will explain this in another thread
A big thank you @Gary, thanks to your input I kept trying all the different way