Page 1 of 1

Hashed Key Thread Updateing Notifications?

Posted: Sun Jul 29, 2018 6:28 pm
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.

Re: Hashed Key Thread Updateing Notifications?

Posted: Mon Jul 30, 2018 11:46 pm
by onienzeru
^-- This would be awesome

Re: Hashed Key Thread Updateing Notifications?

Posted: Tue Jul 31, 2018 12:30 am
by Lovely Rita
No notifications exist in phpBB, by default, for post edits.
This applies to both the user and Admin control panel.

Re: Hashed Key Thread Updateing Notifications?

Posted: Tue Jul 31, 2018 1:15 am
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.

Re: Hashed Key Thread Updateing Notifications?

Posted: Tue Jul 31, 2018 2:44 am
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.

Re: Hashed Key Thread Updateing Notifications?

Posted: Wed Aug 01, 2018 11:06 pm
by danBoi2016
what about a database for 4k hashed keys the same used for normal blurays and dvds

Re: Hashed Key Thread Updateing Notifications?

Posted: Sat Aug 04, 2018 4:43 am
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.

Re: Hashed Key Thread Updateing Notifications?

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

Re: Hashed Key Thread Updateing Notifications?

Posted: Wed Aug 15, 2018 1:33 am
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

Re: Hashed Key Thread Updateing Notifications?

Posted: Wed Aug 15, 2018 2:31 pm
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)

Re: Hashed Key Thread Updateing Notifications?

Posted: Wed Aug 15, 2018 4:09 pm
by SamuriHL
Nice script. Just ran it under WSL and works great. Wish I had thought of that. LOL Thanks for sharing.

Re: Hashed Key Thread Updateing Notifications?

Posted: Thu Aug 16, 2018 10:38 pm
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.

Re: Hashed Key Thread Updateing Notifications?

Posted: Sun Aug 19, 2018 12:14 am
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

Re: Hashed Key Thread Updateing Notifications?

Posted: Sun Aug 19, 2018 12:37 am
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