Closed jimcampbell100 closed 3 years ago
Hi! Sorry for such a delayed reply. I've had a lot going on with work and uni - I do plan on continuing to support ultrasonics when I have time :)
Did you get any further with this? Does it happen with all playlists or just this one? I would recommend trying to upload the m3u manually with the api. Someone's posted a good looking guide here.
Feel free to also attach the playlist here if it's the only one causing issues, I'll try test it myself at some point but it might be quicker for you to try it manually ;)
For reference concerning the other script, PPP, I think that's expected behaviour that it would 'duplicate' playlists the first time. Plex doesn't treat playlists with the same name as the same playlist (there's some underlying UUID to identify them). When you sync the first time it treats them as separate playlists and creates them if they don't exist. Future syncs should match with the creates ones and shouldn't generate any more duplicates.
No, sorry, I didn't make any progress on it. I gave up, and ended up using the API directly to upload the playlists, in a way very similar to the link you provided. Thanks!
Hi,
I am setup and running in a docker container on an Ubuntu host. I created the applet to sync a local m3u (in Windows format) to Plex (on an Ubuntu host). I get the following error...any advice on how to debug this? I'm trying to sync one local m3u to Plex ("Test from MM"), where there are about a dozen existing playlists.
For what it is worth, I tried using your other script, which looked pretty promising. It was able to upload the local playlist I had, but unfortunately the playlists already on Plex were all duplicated. Rather than try to debug that, I moved over to your more recent work.
Thanks for nay help!!
2021-03-24 19:45:35,817 - plugins - DEBUG - Running plugin local playlists v0.3 (plugins.py:158)
2021-03-24 19:45:35,819 - š§ local playlists - DEBUG - ultrasonics paths and local playlist paths do not use the same separators! (up_local playlists.py:203)
2021-03-24 19:45:35,846 - plugins - DEBUG - Running plugin plex v0.1 (plugins.py:158)
2021-03-24 19:45:35,849 - š§ plex - INFO - Requesting playlists from endpoint: http://192.168.0.111:32400/playlists/?X-Plex-Token=*** (up_plex.py:179)
2021-03-24 19:45:35,886 - š§ plex - INFO - Found 15 playlists. (up_plex.py:195)
2021-03-24 19:45:35,887 - š§ plex - INFO - Creating temporary playlists to send to Plex. (up_plex.py:239)
2021-03-24 19:45:35,889 - š§ plex - INFO - Updating playlist: Test From MM (up_plex.py:243)
2021-03-24 19:45:35,914 - š§ plex - DEBUG -
500 Internal Server Error
(up_plex.py:298)2021-03-24 19:45:36,018 - plugins - INFO - Applet 0efde40c-8cd9-11eb-a5c6-0242ac120011 completed successfully in 0:00:00.204566 (plugins.py:296)
2021-03-24 19:45:36,635 - database - INFO - Applet lastrun updated (database.py:377)