VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Apr 2024
    Location
    Scotland
    Search PM
    https://github.com/getmy5/get_my5

    Based on the work of and Diazole A_n_g_e_l_a, I've created a new program to manage and download My5 programmes.

    It's made up of three parts:

    hmac-aes-update.py to get the HMAC and AES keys and update the .env file
    gen_my5_cache.py to crate a SQLite3 DB of all My5 shows
    get_my5.py to download the actual programme either individually, a season at a time or a complete programme.

    I've extensively tested this on my Linux box but not on Windows but it should work there.

    Sample Usage

    Code:
    ./hmac-aes-update.py --env .env --keys file://$HOME/src/get_my5/keys/retrieve-keys.html
    Code:
    ./gen_cache.py --create
    Code:
    ./get_my5.py --show "My Show" --season 1 --episode 1,2,3 --plex --download
    ./get_my5.py --search "Show" --list
    ./get_my5.py --url https://www.channel5.com/show/wanted-show --plex --download
    Code:
    usage: get_my5.py [-h] (--url URL | --search SEARCH | --show SHOW) 
                    [--episode EPISODE | --episode-list EPISODE_LIST]
                    [--season SEASON | --season-list SEASON_LIST] [--db DB]
                    [--download] [--subtitles] [--audio-description] [--verbose]
                    [--dry-run] [--plex] [--list]
                    [--force]
    
      --help, -h            show this help message and exit
      --url URL             The URL of the episode to download
      --search SEARCH       Name of show to search for
      --show SHOW           Name of show to download
      --episode EPISODE     Episode(s) wanted
      --season SEASON       Season wanted
      --season-list SEASON_LIST
                            List of Seasons wanted (TODO)
      --db DB               Path to database
      --download, -d        Flag to download the episode
      --subtitles, -s       Flag to download subtitles
      --audio-description, -ad
                            Download Audio Description audio track
      --verbose, -v         Verbose output
      --dry-run             Don't do anything, just print out proposed actions (TODO)
      --plex                Include Season in output dir
      --force               force overwrite of output file
      --list                List the episodes available from search
    Quote Quote  
  2. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Briskly6533 View Post

    Based on the work of and Diazole A_n_g_e_l_a, I've created a new program to manage and download My5 programmes.
    Well you acknowledge the origins - that is good. But you seem only to have taken my adaptation of Diazole's code and made it work from the command line using another add-hoc list of parameters to set.

    I know the command line 'list of parameters to set' is flavour of the month - it started with Vinetrimmer and is continued by Freevine and now Devine - all wonderful in their own way, but perfunctory and wholly unimaginative in their design of the user interface. In fact I really don't think design of the interface crossed those coders minds. They produced code to do a job. So every one and now yours needs a differing way to make a download work. Why should a user need to remember your code's foibles and requirements?

    To me, at an age when I now sometimes forget to eat meals, remembering more command line parameters to deal with is a pain. So I think your 'solution' is a little unimaginative too - sorry to be harsh. But it does what YOU want to to do, I suppose. But my original interface is partly there too?

    If only you thought of using beaupy options to set parameters to match your needs. I wonder what might have been?

    I recognize that UK-FTA from when your my5 came is rather take-it or leave-it in its options. Partly that's MY style and a response to a small group here who pop up and ask for miniscule resolutions or 360 Kb/s audio or train style naming rather than camel. And then can it be saved to mp4 and not mkv? I wanted people to adapt my code for themselves and stop being so dependent - that is my style. I hoped people would use my code as a starting platform to to go forward with the interactive way, and not step back a few years to the foundations of the Linux universe and the ways of the impenetrable VineTrimmer set. So, sorry, I'm a little disappointed; but it is your first design iteration - perhaps next time?

    ( I only tried briefly to get it to run but failed miserably, for me, at hmac/aes update - I probably didn't give it the care and attention it needed
    PS My latest my5 automates getting hmac and aes without user intervention.)
    Last edited by A_n_g_e_l_a; 20th Apr 2024 at 07:07. Reason: spelling
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  3. Nice work, always nice to see more scripts being posted. And I'm sure there are users here that will appreciate that it works on its own rather than having to use a bigger utility.
    Quote Quote  
  4. Member
    Join Date
    Apr 2024
    Location
    Scotland
    Search PM
    ( I only tried briefly to get it to run but failed miserably, for me, at hmac/aes update - I probably didn't give it the care and attention it needed
    PS My latest my5 automates getting hmac and aes without user intervention.)
    That's on my TODO list.

    A_n_g_e_l_a, a bit harsh but I get your point about the UI but I've been a CLI user for >40 years and that's how I prefer things. Each to their own

    I'm planning on developing this into a semi-pvr along the lines of get_iplayer, hence not building an interactive element.
    Quote Quote  
  5. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    It's always nice to have other options, so thank you for the post. I'm a GUI guy myself, so I like all the different parameters - that gives me more radio buttons and check boxes to build
    Quote Quote  
  6. Originally Posted by A_n_g_e_l_a View Post
    To me, at an age when I now sometimes forget to eat meals
    Calorie restriction is the proven way for longevity.
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  7. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by A_n_g_e_l_a View Post
    To me, at an age when I now sometimes forget to eat meals
    Calorie restriction is the proven way for longevity.
    Thanks I'll try telling that to my kidneys.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!