dots


commit
05d8576
parent
f519bbe
author
xxwhirlpool
date
2026-04-05 22:37:13 -0400 EDT
yolo
2 files changed,  +8, -4
M scripts/Scripts/plex/README.md
+5, -3
 1@@ -4,12 +4,14 @@ tracking my plex library & stuff
 2 
 3 ## plex_playlists.py
 4 
 5-- exports to ~/Scripts/plex/playlists
 6+- exports to `~/Scripts/plex/playlists`
 7 - each filename is the title of the playlist + `.txt`
 8-- each track is formatted as "Artist - Song"
 9+- each track is formatted as `Artist - Song`
10 - only works for music playlists
11 - no track numbers; add them with `cat -n [FILENAME]`
12 
13 ### usage
14 
15-`plex_playlist.py [TOKEN IN QUOTES]`
16+```bash
17+plex_playlist.py [TOKEN]
18+```
M scripts/Scripts/plex/plex_playlist.py
+3, -1
 1@@ -6,7 +6,7 @@
 2 # ]
 3 # ///
 4 
 5-# USAGE: plex_playlist.py [TOKEN IN QUOTES]
 6+# USAGE: plex_playlist.py [TOKEN]
 7 # this is such script kiddie shit idk python
 8 
 9 from plexapi.server import PlexServer
10@@ -27,5 +27,7 @@ for list in plex.playlists(playlistType="audio"):
11         albumArtist = i.grandparentTitle
12         if artist == None:
13             artist = albumArtist + " - "
14+        else:
15+            artist = i.originalTitle + " - "
16         pl_file.write(artist + title + "\n")
17     pl_file.close()