xxwhirlpool
·
2026-04-12
README.md
1# plex server management
2
3tracking my plex library & stuff
4
5## tracklist.py
6
7- exports playlist tracklists to `~/Scripts/plex/playlists`
8- each filename is the title of the playlist + `.txt`
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```bash
16tracklist.py [TOKEN]
17```
18
19## cover.py
20
21- exports to `~/Scripts/plex/posters`
22- each filename is the name of the playlist + `.png`
23- exports in full original resolution
24
25### usage
26
27```bash
28cover.py [TOKEN]
29```
30
31## m3u.py
32
33- exports to `~/Scripts/plex/playlists_m3u`
34- each filename is the name of the playlist + `.m3u`
35- song file paths are absolute paths from the server they're hosted on
36
37### usage
38
39```bash
40m3u.py [TOKEN]
41```
42
43## token_plex.py
44
45- get the plex token
46- makes the other scripts easier lol
47
48### usage
49
50```bash
51token.py # follow prompts
52```