[App] Recording Title Patch C/D/E/F/H
Posted: Mon Jan 12, 2015 3:58 pm
This patch adds date suffix to recordings having no title or a predefined title. It also allows to offset EPG for recordings to have the right title, even if launched some time before (in case of manual scheduling, for example).
May not be obvious to non-advanced users, if it looks mysterious or ununderstandable to you, simply don't use it
*For D series (arm), replace /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO. The same goes in command lines.
May not be obvious to non-advanced users, if it looks mysterious or ununderstandable to you, simply don't use it

*For D series (arm), replace /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO. The same goes in command lines.
- Get latest samyGOso from there (v1.2.4 or higher required) and copy/overwrite samyGOso file (not folder) to /mnt/opt/privateer/usr/bin
- Set permissions if needed (usually not if overwritten)
Code: Select all
chmod +x /mnt/opt/privateer/usr/bin/samyGOso
- Extract current post archives and copy libRecTitle.so to /mnt/opt/privateer/usr/libso (create folder if needed)
- Execute. Usable switches:
- 'String1' ... 'StringN' - The beginning or whole string that corresponds to title(s) you want to add date suffix to. Can be 'No title' (in your local language) or even 'No ti', or a serie title e.g. 'Breaking Bad', 'Friends'...
- NO_TITLE - On some TVs (no way to know which ones until you try or check your .inf files), recordings with no titles are not parsed as plain text "No title" in inf file, but as empty string, this switch will detect such case.
- NO_TITLE_PREFIX:'String' - To be used only concurrently with NO_TITLE, replaces title empty string by any 'String' prefix of your choice.
- ADD_HOUR - Add not only date, but also hour in suffix.
- MINUTES_TO_ADD:Number - Offsets EPG by Number of minutes for TV to catch the right recording title in case of anticipated schedule/instant recording.
- CH:'Channel1'...CH:'ChannelN' - Add date suffix to ALL programs of some channel(s) (especially useful with dummy EPG).
- REVERSE_DATE - Outputs date to YYYY.MM.DD instead of DD.MM.YYYY.
- REVERSE_SMALL_DATE - Outputs date to MM.DD, no year shown.
- #REVERSE_DATE_CH - To be added next to a specific channel. e.g.:
CH:Name_Of_Channel#REVERSE_DATE_CH to reverse its date output format regardless of global setting.
Code: Select all
samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libRecTitle.so 'No title' MINUTES_TO_ADD:10
Logfile is written to /dtv/RecTitle.logCode: Select all
samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libDumpTitles.so NO_TITLE NO_TITLE_PREFIX:'No title'
- Autostart
- Copy 99_91_RecTitle.init to /mnt/etc/init.d
- Set permissions
Code: Select all
chmod +x /mnt/etc/init.d/99_91_RecTitle.init
- You might change OPTIONS value on top of script, default is onlysince it's not possible to establish a more advanced default configuration suitable to most people/languages.
Code: Select all
OPTIONS="MINUTES_TO_ADD:10"
Example of multiple options:So that's your job now.Code: Select all
OPTIONS="'No title' NO_TITLE NO_TITLE_PREFIX:'No title' MINUTES_TO_ADD:10"