Skip to content

Instantly share code, notes, and snippets.

@Nixellion
Nixellion / bro_dockable_old.py
Last active February 17, 2018 19:25
Maya - Universal dockable window module and class (OLD)
'''
------------------------------------------------------------------------------------------------------------------------
# Maya 2017 PySide2 Docking Qt QMainWindow by Michael Davydov | https://github.com/Nixellion/
## https://www.michaeldavydov.com | https://www.nixes.ru
------------------------------------------------------------------------------------------------------------------------
The goal of this module is to be base module and class for Maya dockable UI windows, with support of Maya versions
before and after 2017, when Maya switched to PySide2, and workspaceControl instead of dockControl.
Code works but still WIP.
@Nixellion
Nixellion / bro_windows.py
Last active September 10, 2021 09:35
Maya - Creating PySide windows in Maya 2014-2018+, with docking
'''
------------------------------------------------------------------------------------------------------------------------
# Maya 2017 PySide2 Docking Qt QMainWindow by Michael Davydov | https://github.com/Nixellion/
## https://www.michaeldavydov.com | https://www.nixes.ru
------------------------------------------------------------------------------------------------------------------------
This module aims to have functions and classes that you can use to create your own Maya UI, with support of Maya with
PySide and PySide2 (2014-2018+). Primary focus on dockable windows.
Major changes have been made in Maya version 2017, when it moved from Qt4\PySide to Qt5\PySide2.
@Nixellion
Nixellion / stargate_playlist_generator.py
Last active March 22, 2024 11:50
Generate Plex Playlist for Stargate shows based on Canonical watch order
# TODO:
# - [ ] Add films processing
# https://docs.google.com/spreadsheets/u/0/d/1b5T6bk5bS9LDaIVXR55-agOd_FYgTN0TZcpZDfvnMg4/pub?output=html
# https://python-plexapi.readthedocs.io/en/latest/modules/playlist.html
# https://www.reddit.com/r/PleX/comments/hmunh9/creating_playlists_with_plex_server_api/
data = '''
Film 01x01
Film 01x01
Film 01x01