Skip to content

Instantly share code, notes, and snippets.

@ocshawn
ocshawn / google_playlists_to_plex.py
Last active February 17, 2021 00:33
Add Google Play Music Takeout playlists to plex
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Python version 3
# Based off of LucidBrot migrate-from-google-play-music and gmusic_playlists_to_plex by Author: Blacktwin, pjft, sdlynx
# Author of this version: ocShawn
import os, sys, csv, html, requests, re
requests.packages.urllib3.disable_warnings()
from dataclasses import dataclass
from datetime import datetime
from plexapi.server import PlexServer, CONFIG
@ocshawn
ocshawn / trackDataToPlex.py
Last active December 2, 2020 02:21
Track data from GPM to Plex
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Python version 3
# Based off of LucidBrot migrate-from-google-play-music and gmusic_playlists_to_plex by Author: Blacktwin, pjft, sdlynx
# Author of this version: ocShawn
import os, sys, csv, html, requests, re
requests.packages.urllib3.disable_warnings()
from datetime import datetime
from plexapi.server import PlexServer, CONFIG