Skip to content

Instantly share code, notes, and snippets.

View habanany's full-sized avatar

Lazaro Alejo habanany

  • Kingwood, Texas
  • 23:07 (UTC -06:00)
  • X @habanany
View GitHub Profile
@JonnyWong16
JonnyWong16 / sync_playlists_to_users.py
Last active January 30, 2026 03:40
Sync Plex playlists to shared users.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Description: Sync Plex playlists to shared users.
# Author: /u/SwiftPanda16
# Requires: plexapi
from plexapi.exceptions import NotFound
from plexapi.server import PlexServer
@habanany
habanany / Radio and TV playlist XSPF
Last active May 15, 2018 18:34
Radio and TV playlist XSPF
<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1">
<title>Playlist</title>
<trackList>
<track>
<location>http://107.22.125.82/foxnewsradio-foxnewsmp3-ibc2</location>
<title>FOX-News</title>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
</extension>