Commit 698ef1f

chasinglightning  ·  2025-03-23 20:22:40 -0400 EDT
parent fedbf10
new script
2 files changed,  +21, -0
+0, -0
Binaries are not rendered as diffs.
+21, -0
......@@ -0,0 +1,21 @@
1+from plexapi.server import PlexServer
2+from plexapi.myplex import MyPlexAccount
3+
4+SERVER_URL = 'http://192.168.1.123:32400'
5+TOKEN = 'x'
6+PLAYLIST_TITLE = 'watchlistexport1'
7+USERNAME = "x"
8+PASSWORD = "x"
9+
10+plex = PlexServer(SERVER_URL, TOKEN)
11+account = MyPlexAccount(USERNAME, PASSWORD)
12+
13+item = account.watchlist(libtype='movie')
14+
15+for item in account.watchlist():
16+ plex.library.search(guid=item.guid)
17+ for lol in item:
18+ tada = item.title
19+
20+ for help in plex.library.search(tada, libtype='movie'):
21+ print(help.media[0].parts[0].file)