I finally found some time to look at integration with theTVDB.com again. Those with long memories may remember the initial attempt a few months back which was partially successful but highlighted some problems.
I've just published webif 1.2.5-1 which contains a better implementation of this function. It's off by default but can be enabled via the settings page. It requires that your Humax has Internet connectivity.
Enabling it will add a new button to the media browser screen which allows you to search for a choose a series for the recordings contained within:
Once you have chosen a series the system will download the episode data and make it available to the dedup and sweeper functions. Note that this does not work 100% of the time as the broadcasters are pretty bad at consistent EPG data and sometimes just don't include enough information for the episode to be uniquely identified. - however I have had good results with most series, you just need to check that it is going to do something sensible before enabling it. I've used it to very good effect to sort out some of the series I've been recording for a while.
It is also possible to give the system a hint as to which series number is in the folder. This is important when episode names are re-used - more common than you might think - but can be left blank for most.
Assuming the EPG data is good enough, dedup will immediately begin to generate names with the correct episode name and with series and episode information. If more flexibility is required then sweeper rules can be used to automatically name recordings.
Here is an example sweeper ruleset that I have been using. It's actually what dedup will do by default now but should give a starting point for more complex requirements.
Please let me know how it works for you and post any suggestions here!
I've just published webif 1.2.5-1 which contains a better implementation of this function. It's off by default but can be enabled via the settings page. It requires that your Humax has Internet connectivity.
Enabling it will add a new button to the media browser screen which allows you to search for a choose a series for the recordings contained within:
Once you have chosen a series the system will download the episode data and make it available to the dedup and sweeper functions. Note that this does not work 100% of the time as the broadcasters are pretty bad at consistent EPG data and sometimes just don't include enough information for the episode to be uniquely identified. - however I have had good results with most series, you just need to check that it is going to do something sensible before enabling it. I've used it to very good effect to sort out some of the series I've been recording for a while.
It is also possible to give the system a hint as to which series number is in the folder. This is important when episode names are re-used - more common than you might think - but can be left blank for most.
Assuming the EPG data is good enough, dedup will immediately begin to generate names with the correct episode name and with series and episode information. If more flexibility is required then sweeper rules can be used to automatically name recordings.
Here is an example sweeper ruleset that I have been using. It's actually what dedup will do by default now but should give a starting point for more complex requirements.
Code:
!flag Deduped fileexists %asfilename/%epdescr_%epname/.ts action delete
!flag Deduped intmatch {%episode~~> 0} action {renamefile %epdescr_%epname}
lastrule "" action {settitle {%epdescr - %epname}}
lastrule "" action {flag dedup}
Please let me know how it works for you and post any suggestions here!