For the next time I try, here are the juicy bits:
Prep the m3u file
- iTunes -> File -> Library -> Export Playlist
- select 'm3u' as the file format
- open the playlist.m3u file and replace all ^Ms with real carriage returns
- remove any files that have non-ascii characters (eg ü, ç, ñ, é, à, etc.)
- https://github.com/dakusan/PlexPlaylistImporter
- The README says it requires python 3 but I got it to run with python 2.7.8
- I had to make some changes
- syntax error in print("...", end="")
- munge path at line 104 to change the path necessary because of the chrooted plex jail
- add some debugging print statements
- python imp.py ./playlists/playlist.m3u 90s "/mnt/bluepool/jails/plexmediaserver_1/var/db/plexdata/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db"
1 comment:
Post a Comment