GithubHelp home page GithubHelp logo

pjnes / cmcucp Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 5.0 29 KB

The Complete Marvel Cinematic Universe Chronological Playlist

Home Page: https://chronoplex.app

License: MIT License

Dockerfile 2.73% Python 94.10% Shell 3.17%
plex-server marvel-videos plex-playlist plex-library python

cmcucp's Introduction

CMCUCP: The Complete Marvel Cinematic Universe Chronological Playlist

This is a simple script that generates a Plex playlist with everything in your library from the MCU, in chronological order (according to this page).

Fun fact: This is about 17 days of continuous video.

I've created a web based version of this, that provides chonological playlists for the MCU, as well as Star Wars, Doctor Who, Star Trek and others.

You should check out Chronoplex, it does a prettier MCU chronological playlist

The new fancy docker way

  • docker run --rm ghcr.io/pjnes/cmcucp PLEX_USER PLEX_PASS PLEX_SERVER [PLEX_PLAYLIST]

The old manual way

Requirements

  • Python 3.
  • PIP.
  • A Plex server somewhere.
  • An unhealthily large collection of Marvel videos.

Setup

  • Clone this repo somewhere. Anywhere. Use your imagination.
  • Install the dependencies with pip install -r requirements.txt.

Usage

  • Just run python cmcucp.py PLEX_USER PLEX_PASS PLEX_SERVER [PLEX_PLAYLIST].
  • Wait.
  • It will create a new playlist in your Plex library and report any items it couldn't find.

cmcucp's People

Contributors

dependabot[bot] avatar joshuazick1 avatar pjnes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cmcucp's Issues

Can't find/match exisiting items

Hi,
first thanks a lot for this script. It saves a lot of work! I just tried and noticed there is a small issue. For some of the existing items in my library it can't find/match them and add them to the playlist. I guess it' because the items are searched by their titles and as I use their localized names they don't match with the configured ones inside the script. One example is that the name in the script is The Avengers and in my library it's Marvel's The Avengers. I suggest to rather use more general/universal identifiers like their original title or rather their db ids like from imdb or tvdb. I'll see if I can open a PR for that but would be helpful to see this fixed in the near future

Some series titles are not prepended with “Marvel’s”

After pull request #11 when the library’s are found and things are actually being added I spotted another peculiar issue concerning the tv shows matching. I don’t know if this is a localization problem in my Plex metadata (Swedish library with original titles always) or if it’s something else but the titles of newer shows like Falcon and WandaVision are not prepended with “Marvel’s” in my library and therefore they are not matched by the script. Shows like The Defenders and Agents of SHIELD are however prepended with Marvel’s and are added as expected. I tried a lazy fix and commented out the renaming on line 40 (show = "Marvel's %(show)s" % {'show': show}) and that actually worked, all four shows being matched and added. Now, I don’t know if there’s a specific reason to prepend Marvel’s to all the titles, maybe some shows get mixed up in the matching with other, non marvel series or something. If that’s the case maybe an acceptable solution could be to try match “Marvel’s %(show)s” first and if that fails attempt to match only “show” before throwing the no match error.

Edit:
If this is a localization problem it was an extremely easy fix to just add Marvel’s to the titles manually in the Plex library. Then the docker way of doing this works beautifully.

Library scan fails on foreign server

Thanks for an awesome little script! I have a suggestion, hope it’s fine that I post it here as it’s also a solution to a problem for all us non English speaking fans.
It would be great if the library section names could be passed as argument to support media servers running other languages than English. Easy to fix locally just swapping Movies for, let’s say Filmer which is the Swedish name of that section in the py file, but it would be amazing if this was passed as arguments so that one could always just run the most up to date docker image when adding content to the library. Keep up the good work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.