Hashed Key Thread Updateing Notifications?

Please post here for issues related to UHD discs
Post Reply
spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Hashed Key Thread Updateing Notifications?

Post by spl147 »

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.
onienzeru
Posts: 11
Joined: Mon Jun 25, 2018 6:02 pm

Re: Hashed Key Thread Updateing Notifications?

Post by onienzeru »

^-- This would be awesome
Lovely Rita
Posts: 273
Joined: Wed Apr 17, 2013 10:29 pm

Re: Hashed Key Thread Updateing Notifications?

Post by Lovely Rita »

No notifications exist in phpBB, by default, for post edits.
This applies to both the user and Admin control panel.
Registered User :wink:
Buy MakeMKV
st4evr
Posts: 705
Joined: Tue Mar 06, 2018 11:38 pm

Re: Hashed Key Thread Updateing Notifications?

Post by st4evr »

Additionally, Mike has already mentioned that eventually he would like to have an automatic key/file update occur through the app. So, it’s most likely that is what he will pursue in his development.
bmillham
Posts: 155
Joined: Mon Mar 27, 2017 12:42 am

Re: Hashed Key Thread Updateing Notifications?

Post by bmillham »

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.
danBoi2016
Posts: 30
Joined: Sat Sep 12, 2015 11:58 pm

Re: Hashed Key Thread Updateing Notifications?

Post by danBoi2016 »

what about a database for 4k hashed keys the same used for normal blurays and dvds
Krawk
Posts: 275
Joined: Thu Jul 02, 2015 12:10 am

Re: Hashed Key Thread Updateing Notifications?

Post by Krawk »

danBoi2016 wrote:what about a database for 4k hashed keys the same used for normal blurays and dvds
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.

Much like I would like to maintain a copy locally of all BD patches, but I suspect that would get rather large.
archer
Posts: 33
Joined: Thu Jul 16, 2015 9:41 pm

Re: Hashed Key Thread Updateing Notifications?

Post by archer »

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 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.

I'll share it if anyone is interested.
spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Re: Hashed Key Thread Updateing Notifications?

Post by spl147 »

archer wrote:
Sat Aug 11, 2018 3:31 pm
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 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.

I'll share it if anyone is interested.
please
garretn
Posts: 15
Joined: Mon Aug 01, 2016 9:44 pm

Re: Hashed Key Thread Updateing Notifications?

Post by garretn »

If 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)
SamuriHL
Posts: 2322
Joined: Mon Jun 14, 2010 5:32 pm

Re: Hashed Key Thread Updateing Notifications?

Post by SamuriHL »

Nice script. Just ran it under WSL and works great. Wish I had thought of that. LOL Thanks for sharing.
gonca
Posts: 24
Joined: Mon Feb 19, 2018 10:35 pm

Re: Hashed Key Thread Updateing Notifications?

Post by gonca »

Script might not be needed with newest version
DEBUG: Code 03DF
Downloading latest HK to C:/Program Files (Portable)/KEYS ...
Loaded content hash table, will verify integrity of M2TS files.
bmillham
Posts: 155
Joined: Mon Mar 27, 2017 12:42 am

Re: Hashed Key Thread Updateing Notifications?

Post by bmillham »

garretn wrote:
Wed Aug 15, 2018 2:31 pm
If 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)
Thank you for this, tested and working on Mint 19 :D
spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Re: Hashed Key Thread Updateing Notifications?

Post by spl147 »

garretn wrote:
Wed Aug 15, 2018 2:31 pm
If 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 unRAID
Post Reply