Hashed Key Thread Updateing Notifications?
Posted: Sun Jul 29, 2018 6:28 pm
how can we be notified when the hashed key file is updated, since mike is only editing the original post, subscription notifications are not sent.
MakeMKV support forum
https://forum.makemkv.com/forum/
Honestly, worst case scenario, this site or the servers get shut down, if you have the hashed key file locally, you can always decrypt them.danBoi2016 wrote:what about a database for 4k hashed keys the same used for normal blurays and dvds
I wrote a small app to do just that (all you need is nodejs (https://nodejs.org/en/download/) installed on windows, osx or linux). And when you run the app, it checks the date in the pinned forum post, if it's a newer date it, it opens the URL and downloads the new keys. I have it running as a cronjob and a windows task.bmillham wrote:Or at least use a URL that does not change every time you access it so I could do something like setup a cron job that updates the file daily.
pleasearcher wrote: βSat Aug 11, 2018 3:31 pmI wrote a small app to do just that (all you need is nodejs (https://nodejs.org/en/download/) installed on windows, osx or linux). And when you run the app, it checks the date in the pinned forum post, if it's a newer date it, it opens the URL and downloads the new keys. I have it running as a cronjob and a windows task.bmillham wrote:Or at least use a URL that does not change every time you access it so I could do something like setup a cron job that updates the file daily.
I'll share it if anyone is interested.
Code: Select all
#!/bin/bash -x
URL1=$(curl --silent 'https://www.makemkv.com/forum/app.php/feed/topic/16959' | grep tinyupload | sed 's/ /\n/g' | grep '^href.*tinyupload' | sed 's/href="//;s/"//')
URL2=$(curl --silent -c cookies.txt "$URL1" | grep download.php | sed 's/.*download.php/download.php/;s/".*//')
curl --silent -c cookies.txt "http://s000.tinyupload.com/$URL2" | tee hash_keys.txt.new | grep -q VAN_HELSING && mv hash_keys.txt.new ~/.MakeMKV/keys_hashed.txt || (rm -f hash_keys.txt.new && echo failed)
DEBUG: Code 03DF
Downloading latest HK to C:/Program Files (Portable)/KEYS ...
Loaded content hash table, will verify integrity of M2TS files.
Thank you for this, tested and working on Mint 19garretn wrote: βWed Aug 15, 2018 2:31 pmIf you just want a cron job I use this small bash script to do just that:
Code: Select all
#!/bin/bash -x URL1=$(curl --silent 'https://www.makemkv.com/forum/app.php/feed/topic/16959' | grep tinyupload | sed 's/ /\n/g' | grep '^href.*tinyupload' | sed 's/href="//;s/"//') URL2=$(curl --silent -c cookies.txt "$URL1" | grep download.php | sed 's/.*download.php/download.php/;s/".*//') curl --silent -c cookies.txt "http://s000.tinyupload.com/$URL2" | tee hash_keys.txt.new | grep -q VAN_HELSING && mv hash_keys.txt.new ~/.MakeMKV/keys_hashed.txt || (rm -f hash_keys.txt.new && echo failed)
works perfect with a minor change for user scripts on unRAIDgarretn wrote: βWed Aug 15, 2018 2:31 pmIf you just want a cron job I use this small bash script to do just that:
Code: Select all
#!/bin/bash -x URL1=$(curl --silent 'https://www.makemkv.com/forum/app.php/feed/topic/16959' | grep tinyupload | sed 's/ /\n/g' | grep '^href.*tinyupload' | sed 's/href="//;s/"//') URL2=$(curl --silent -c cookies.txt "$URL1" | grep download.php | sed 's/.*download.php/download.php/;s/".*//') curl --silent -c cookies.txt "http://s000.tinyupload.com/$URL2" | tee hash_keys.txt.new | grep -q VAN_HELSING && mv hash_keys.txt.new ~/.MakeMKV/keys_hashed.txt || (rm -f hash_keys.txt.new && echo failed)