Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Playlistname cannot be blank" #15

Open
Sourdoughbiker opened this issue Apr 27, 2018 · 3 comments
Open

"Playlistname cannot be blank" #15

Sourdoughbiker opened this issue Apr 27, 2018 · 3 comments

Comments

@Sourdoughbiker
Copy link

Firstly I am not any sort of programmer and am sort of feeling my way with Python...
I am trying to run the script on my Synology NAS (have installed Python3 app) and am constantly getting the following
root@WilsonSynology:/volume1/music/Converter/PlexPlaylistImporter# python PlexPlaylistImporter.py /volume1/music/Converter/PlexPlaylistImporter/paul_canada.m3u Paul
File "PlexPlaylistImporter.py", line 108
print("Playlist name (Cannot be blank): ", end="")
^
SyntaxError: invalid syntax

As far as I can see I have parsed the existing playlist file path (/volume1/music/Converter/PlexPlaylistImporter/paul_canada.m3u) and also the new plex playlist file (Paul).
The error message seems to refer to the new PLex Playlist name not being recognised.

Can anyone help me?

@Sourdoughbiker
Copy link
Author

OK - so I read some of the other issues here and saw using Ubuntu you have to run as python3. The error does not reappear - a different one does but I will try to solve that one before coming back here!
Sorry to bother...

@Sourdoughbiker
Copy link
Author

Got it to work finally just as a result of my python ignorance. To clarify, the script can be run on the Synology and successfully works on a fairly small playlist. Now to amend the script slightly to run through a folder containing a number of playlists and convert each one in turn...

@Doonut
Copy link

Doonut commented Sep 4, 2018

please update us on your progress, i need a script that detects a change in my playlist folder, auto converts relative paths to actual ones, and auto imports them into plex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants