PPP icon indicating copy to clipboard operation
PPP copied to clipboard

Playlists not being sent to Plex, everything else seems to work

Open Pe6r0 opened this issue 2 years ago • 3 comments

Hi, love the script. I consider this an essencial part of anyone using Plexamp. A shame the ppl at Pleax don't agree.

Anyway I have plex running on a NAS and I ran the script locally. Got the following log:


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#                     _____  _____  _____                         #
#                    |  __ \|  __ \|  __ \                        #
#                    | |__) | |__) | |__) |                       #
#                    |  ___/|  ___/|  ___/                        #
#                    | |    | |    | |                            #
#                    |_|    |_|    |_|  v3.0.6                    #
#                                                                 #
#              --- PPP Copyright (C) 2020 XDGFX ---               #
#                                                                 #
#  This program comes with ABSOLUTELY NO WARRANTY.                #
#  This is free software, and you are welcome to redistribute it  #
#  under certain conditions                                       #
#                                                                 #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


Running PPP at 2022-11-30-21-49-11

Attempting to load existing variables...

Variables loaded successfully!

------

I'll ignore  from local playlists and \volume2\music from Plex playlists     

Plex playlists will be converted from Unix to Windows directories
Local playlist paths will not be converted
SSL certificates will be validated

------

Attempting to make .tmp folders
Successfully created .tmp folders

------

INFO: Number of backups (11) exceeds backup retention (10)
Deleted oldest backup

------

Backing up local playlists...

Backed up local playlists to local_backups/2022-11-30-21-49-11
INFO: Your backups are currently taking up 10.24MB of space

------

Requesting playlists from Plex...
URL: SECRET/playlists/?X-Plex-Token=***********
Request was successful.

------

Found 3 playlists.

------

Requesting playlist data from Plex...
URL: SECRET/playlists/115161/items?X-Plex-Token=***********
Request was successful.

------

Found playlist: 5Stars
Found 0 songs.
Saving Plex playlist: 5Stars
Save successful!

------

Requesting playlist data from Plex...
URL: SECRET/playlists/115138/items?X-Plex-Token=***********
Request was successful.

------

Found playlist: Ffxiv
Found 474 songs.
Saving Plex playlist: Ffxiv
Save successful!

------

Requesting playlist data from Plex...
URL: SECRET/playlists/115139/items?X-Plex-Token=***********
Request was successful.

------

Found playlist: Love
Found 21 songs.
Saving Plex playlist: Love
Save successful!

------

Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Most Played.m3u
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/3Stars.m3u
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/5Stars.m3u
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/4Stars.m3u
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Car.m3u   
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Gym.m3u   
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Hate.m3u  
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Love.m3u  
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Mix it up.m3u
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Ffxiv.m3u 
Copying local playlist: /volume2/music/MusicBee/Exported Playlists/Recently Added.m3u

------

Found new local playlist: Most Played.m3u

------

Found new local playlist: 3Stars.m3u

------

Found new local playlist: 4Stars.m3u

------

Found new local playlist: Car.m3u

------

Found new local playlist: Gym.m3u

------

Found new local playlist: Hate.m3u

------

Found new local playlist: Mix it up.m3u

------

Found new local playlist: Recently Added.m3u

------

Merging: 5Stars.m3u
Merging: Love.m3u
Merging: Ffxiv.m3u

------

Sending updated playlist to Plex: 5Stars.m3u
Sending updated playlist to Plex: Ffxiv.m3u
Sending updated playlist to Plex: Love.m3u
Sending updated playlist to Plex: Most Played.m3u
Sending updated playlist to Plex: 3Stars.m3u
Sending updated playlist to Plex: 4Stars.m3u
Sending updated playlist to Plex: Car.m3u
Sending updated playlist to Plex: Gym.m3u
Sending updated playlist to Plex: Hate.m3u
Sending updated playlist to Plex: Mix it up.m3u
Sending updated playlist to Plex: Recently Added.m3u

------

Copying updated playlist to local playlists: Most Played.m3u
Copying updated playlist to local playlists: 3Stars.m3u
Copying updated playlist to local playlists: 5Stars.m3u
Copying updated playlist to local playlists: 4Stars.m3u
Copying updated playlist to local playlists: Car.m3u
Copying updated playlist to local playlists: Gym.m3u
Copying updated playlist to local playlists: Hate.m3u
Copying updated playlist to local playlists: Love.m3u
Copying updated playlist to local playlists: Mix it up.m3u
Copying updated playlist to local playlists: Ffxiv.m3u
Copying updated playlist to local playlists: Recently Added.m3u

------

Complete!

This is my variables.json

{
  "server_url": "SECRET",
  "check_ssl": "True",
  "plex_token": "SECRET_LOL",
  "local_playlists": "/volume2/music/MusicBee/Exported Playlists/",
  "working_directory": "/volume2/Storage2/PPP/workingdirectory",
  "working_directory_plex":"volume2/Storage2/PPP/workingdirectory",
  "section_id": "7",
  "plex_prepend": "/volume2/music",
  "local_convert": false,
  "plex_convert": "u2w"
}

I mean it looks like it's working but it's never updating plex and I'd love to know why

Pe6r0 avatar Nov 30 '22 21:11 Pe6r0

Same problem here. I've gone over my pathing and prepend settings with a fine-tooth comb. PPP successfully brings plex playlists to local with properly converted paths. That part's great. However, no local playlists show up on the plex side even though PPP sent them without error.

I'm wondering if something changed in recent versions of Plex's API that's caused PPP to no longer work. I'd use XDGFX's newer ultrasonics but most of my files are flac and apparently it doesn't support that.

I love Plex but this is a serious PITA.

cpuhog avatar Jan 20 '23 16:01 cpuhog

Same problem here. I've gone over my pathing and prepend settings with a fine-tooth comb. PPP successfully brings plex playlists to local with properly converted paths. That part's great. However, no local playlists show up on the plex side even though PPP sent them without error.

I'm wondering if something changed in recent versions of Plex's API that's caused PPP to no longer work. I'd use XDGFX's newer ultrasonics but most of my files are flac and apparently it doesn't support that.

I love Plex but this is a serious PITA.

Hi, i was sorta fed up with it so I adapted a script to work: feel free to use it. Its the most recent project in my page. It requires light python knowledge.

Pe6r0 avatar Jan 24 '23 13:01 Pe6r0

https://github.com/Pe6r0/plexmusic-rating-sync

Pe6r0 avatar Jan 31 '23 15:01 Pe6r0