Skip to content

retrodans/ReMM

Repository files navigation

FIND A BETTER WAY TO CHECK FOR LAST ADDED VIDEO

  • I think that loading the most recently added video and checking its timestamp would work
  • Maybe create seperate scripts ** Create playlist ** Update videos Need something a lot better than this

ToDo

Phase 1

  • Test using the local cron

Phase 2

  • Get it running on my server on cron

Phase 3

  • Look at code improvements and housekeeping
  • Get it creating folder in tmp directory as/when required

Phase 4

  • Learn if/how to put a nice frontend on this (using node?)
    • Login that connects a google account to a user
    • Manage their authentication through oAuth
    • Management of the client_config.json file
      • Add/Remove ReMM playlists
      • Add subplaylists to each playlist using their URL
    • Create a new user, with json files

Phase 5

  • Architect a UX for this to act on a freemium SaaS model
    • Limit targets?
    • Limit sources per target group?
    • Work out how to add items to settings file using the UX (but securely)
    • Consider performance of files being read (SQLite instead?)
    • Add in collection capabilities aswell

Extras

  • Cleanup of 'watched' videos from certain playlists
  • Only keep one video from each source in a playlist

References

Requirements

  • python v2.7+
  • sudo pip install python-dateutil httplib2 apiclient urllib3 discovery google-api-python-client oauth2client python-gflags
  • sudo apt-get install python-lxml

How to run

python ReMM.py --noauth_local_webserver

Setup on a new machine

Troubleshooting

Cron

grep CRON /var/log/syslog

Seems to not be updating the client_dyn_data.json file

  • Cron should run as sudo
  • Set permissions on dyn_data to 664

About

Retrobadger Media Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published