• The forum software that supports hummy.tv has been upgraded to XenForo 2.3!

    Please bear with us as we continue to tweak things, and feel free to post any questions, issues or suggestions in the upgrade thread.

Beta Updates for testing

prpr

Well-Known Member
Now available in the Beta repository are the following updates:
  • jim 0.82
  • jim-xconv 1.0.1
  • sqlite3 3.41.1
jim now includes the optional extensions for json, jsonencode and zlib.
You must install jim-xconv rather than jim, as the latter will then get automatically installed. Installing jim without jim-xconv will result in things not working.

If anyone feels like testing and letting me know if anything got broken, that would be helpful. Thanks.
 
ir 1.23 has fixes for the limited size of the map file, and corrects operation of the foreign keys list. If anyone knows how to test the latter that would be good - I don't have anything that generates any foreign codes.
 
Last edited:
Updates to test:
  • sweeper 2.3.0
  • webif 1.5.3
  • epg 1.3.0
  • hmt 2.0.12
Upgrade sweeper and it will fetch the others via dependencies. If you don't have sweeper installed then upgrade webif.
Do not expect things to work properly/at all unless all are upgraded together.
This tidies up the EPG content type naming as discussed here: https://hummy.tv/forum/threads/epg-listing-swamped-by-great-movies.11375/
 
Last edited:
Fixes bugs and adds features. The 4+ years of Git commit log is that way ----->
Even 7.88.1 is nearly 2 years old, so might update that as a second step.
Keeping stuff up to date where possible is generally a good thing (tm).
 
Database rebuilds only happen every 15 minutes. If you want to force a rebuild, you have to stop and start the epg service and wait a minute for it to complete.
I've got something better in the works that will update whenever a change is detected in the data the Humax software caches.
This is now ready for Beta test. Install webif 1.5.3-4 which will update to epg 1.3.0-1 (you can't just install the latter).
 
Looking at the changes to epg, the 'close_write' event is never captured because the Humax app is deleting the epg.dat file and creating a new one on each update. If the directory is monitored then these events can be seen...
Code:
hdr# inotifywait -m -e create,delete /mnt/hd1/dvbepg/
Setting up watches.
Watches established.
/mnt/hd1/dvbepg/ DELETE epg.dat
/mnt/hd1/dvbepg/ CREATE epg.dat
/mnt/hd1/dvbepg/ DELETE epg.dat
/mnt/hd1/dvbepg/ CREATE epg.dat
 
the 'close_write' event is never captured
It certainly is. Expand your filter and you see it:
Code:
humax# inotifywait -m -e create,delete,open,close,close_write,close_nowrite /mnt/hd1/dvbepg/
Setting up watches.
Watches established.
/mnt/hd1/dvbepg/ DELETE epg.dat
/mnt/hd1/dvbepg/ CREATE epg.dat
/mnt/hd1/dvbepg/ OPEN epg.dat
/mnt/hd1/dvbepg/ CLOSE_WRITE,CLOSE epg.dat
/mnt/hd1/dvbepg/ OPEN epg.dat
/mnt/hd1/dvbepg/ CLOSE_NOWRITE,CLOSE epg.dat
/mnt/hd1/dvbepg/ DELETE epg.dat
/mnt/hd1/dvbepg/ CREATE epg.dat
/mnt/hd1/dvbepg/ OPEN epg.dat
/mnt/hd1/dvbepg/ CLOSE_WRITE,CLOSE epg.dat
/mnt/hd1/dvbepg/ OPEN epg.dat
/mnt/hd1/dvbepg/ CLOSE_NOWRITE,CLOSE epg.dat
etc.
because the Humax app is deleting the epg.dat file and creating a new one on each update.
So what? It still closes the file every time after writing it. This is what's important.
Are you saying it doesn't work for you?
 
OK, I think I see what you're saying:
Code:
humax# inotifywait -q /mnt/hd1/dvbepg/epg.dat
/mnt/hd1/dvbepg/epg.dat DELETE_SELF
humax# echo $?
0
humax# inotifywait -q -e close_write /mnt/hd1/dvbepg/epg.dat
humax# echo $?
1
The inotifywait drops out regardless because the file is deleted. Monitoring the directory is better because it will trap the file's CLOSE_WRITE and eliminate the potential race condition that now exists.
 
The HD does not have a separate directory for the epg file so may have to compare the output from inotifywait to check it is the epg file which is being closed.
 
Last edited:
Indeed, which is probably why it got (wrongly) done in the first place.
Thanks for the feedback.
Package updated.
 
Back
Top