[App] Recording Title Patch C/D/E/F/H

Here are software that related with Samsung C series TVs, applications, programs that will run in your TV or computer...:!:This forum is NOT FOR USER QUESTIONS or Problems.

sectroyer
Official SamyGO Developer
Posts: 5598
Joined: Wed May 04, 2011 5:10 pm

[App] Recording Title Patch C/D/E/F/H

Post by sectroyer » 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.
  • 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.
    Sample usages:

    Code: Select all

    samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libRecTitle.so 'No title' MINUTES_TO_ADD:10

    Code: Select all

    samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libDumpTitles.so NO_TITLE NO_TITLE_PREFIX:'No title'
    Logfile is written to /dtv/RecTitle.log
  • 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 only

      Code: Select all

      OPTIONS="MINUTES_TO_ADD:10"
      since it's not possible to establish a more advanced default configuration suitable to most people/languages.
      Example of multiple options:

      Code: Select all

      OPTIONS="'No title' NO_TITLE NO_TITLE_PREFIX:'No title' MINUTES_TO_ADD:10"
      So that's your job now. :)
You do not have the required permissions to view the files attached to this post.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

zoelechat
SamyGO Moderator
Posts: 7568
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Recording Title Patch D/E/F/H

Post by zoelechat » Tue Jan 13, 2015 4:29 pm

Phew, done. What a huge and laborious procedure, don't ask me more, I'm tired of that crap :D
I do NOT reply to any question by PM. Please use forum.

sectroyer
Official SamyGO Developer
Posts: 5598
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Recording Title Patch D/E/F/H

Post by sectroyer » Tue Jan 13, 2015 6:38 pm

zoelechat wrote:Phew, done. What a huge and laborious procedure, don't ask me more, I'm tired of that crap :D
Hehe, only libEPG but this should be simpler ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

cmuc05
SamyGO Project Donor
Posts: 84
Joined: Tue Jan 13, 2015 1:39 pm

Re: [App] Recording Title Patch D/E/F/H

Post by cmuc05 » Tue Feb 03, 2015 4:52 pm

This is the content of my RecTitle.log. ES6300 T-MST10PDEUC.
A few things failed. And I am not sure, what this patch does. I thought it renames f.i. "20150203154055.srf" to "20150203_Gorilla.srf" or something like that.

Code: Select all

[RecTitle] SamyGO D/E/F/H libRecTitle v0.7.8 - (c) sectroyer 2014
[RecTitle] lib_init, Setting MINUTES_TO_ADD to: 10!
[RecTitle] lib_init, pthread_mutex_init success.
[RecTitle] _Znwj [0xf3fbb4].
[RecTitle] dlsym '_ZN9TCTvProxy17GetPresentProgramEP9TCChanneljP9TCProgram' failed.
[RecTitle] _ZN4TCTv14GetProgramListEPK9TCChannelmmP12CCSortedList [0x168dd40].
[RecTitle] dlsym '_ZN9TCTvProxy14GetProgramListEPK9TCChannelmmP12CCSortedList' failed.
[RecTitle] dlsym '_ZN14TCTvProxyCache11GetTimeZoneEPiS0_' failed.
[RecTitle] _ZN4TCTv11GetTimeZoneEPiS0_ [0x168a458].
[RecTitle] dlsym '_ZN5TCAPI5GetTvEv' failed.
[RecTitle] g_pAppTV [0x72f7aa4].
[RecTitle] _ZN12CCSortedList6CreateEv [0x159a49c].
[RecTitle] _ZN12CCSortedList4SizeEv [0x159a504].
[RecTitle] _ZN12CCSortedList4SeekEii [0x159a5f8].
[RecTitle] _ZN12CCSortedList3AddEiPv [0x159a754].
[RecTitle] _ZN12CCSortedList4DataEv [0x159a4dc].
[RecTitle] _ZN12CCSortedList7DestroyEv [0x159a4c0].
[RecTitle] _ZTV12CCSortedList [0x402e048].
[RecTitle] _ZNK9TCChannel14GetChannelNameEPhPt [0x16e7770].
[RecTitle] _ZNK9TCChannel3PTCEv [0x16e91bc].
[RecTitle] _ZNK9TCChannel5MajorEv [0x16e91f4].
[RecTitle] _ZNK9TCChannel5MinorEv [0x16e91d8].
[RecTitle] _ZNK9TCChannel4TypeEv [0x16e9170].
[RecTitle] _ZNK9TCChannel17TransportStreamIdEv [0x16e7b94].
[RecTitle] _ZNK9TCChannel13ProgramNumberEv [0x16e7d10].
[RecTitle] _ZN9TCProgramC2Ev [0x16f9b64].
[RecTitle] _ZNK9TCProgram8GetTitleEPcPj [0x16fb704].
[RecTitle] _ZN9TCProgram8SetTitleEPci [0x16fb834].
[RecTitle] _ZN9TCProgram15SetExtendedTextEPci [0x16fb820].
[RecTitle] _ZN10TCChNumber7SetTypeEi [0x16f3cb8].
[RecTitle] _ZN10TCChNumber10SetChannelEttt [0x16f3c98].
[RecTitle] _ZN10TCChNumber16SetProgramNumberEt [0x16f3d60].
[RecTitle] _ZNK9TCProgram9StartTimeEv [0x16f8638].
[RecTitle] _ZNK9TCProgram7EndTimeEv [0x16f8698].
[RecTitle] _ZNK9TCProgram8DurationEv [0x16f8680].
[RecTitle] _ZN9TCProgram7SetTimeEjj [0x16f8604].
[RecTitle] _ZN9TCProgram20SetTransportStreamIdEt [0x16f891c].
[RecTitle] _ZN9TCProgram10SetEventIdEt [0x16f85ec].
[RecTitle] _ZN9PCWString7ConvertEPcPKtiiPi [0xf416c0].
[RecTitle] _ZN9PCWString7ConvertEPtPKciiPi [0xf41958].
[RecTitle] _ZN9PCWString6LengthEPKt [0xf41580].
[RecTitle] _ZN8CPVRUtil10StringSwapEPtPcii [0x26105e4].
[RecTitle] _ZN11CPVRInfoMgr12WriteInfFileEPKcPK9_PVR_INFO [0x260b070].
[RecTitle] dlsym '_ZN14CPVRCoreInfMgr12WriteInfFileEPKcPK9_PVR_INFO' failed.
[RecTitle] dlsym '_ZN11CPVRInfoMgr22m_GetRecordProgramInfoEP9_PVR_INFON8TCWindow7EWindowEb' failed.
[RecTitle] dlsym '_ZN14CPVRCoreInfMgr22m_GetRecordProgramInfoEP9_PVR_INFOb' failed.
[RecTitle] _ZN11CPVRInfoMgr22m_GetRecordProgramInfoEP9_PVR_INFOib [0x260c8ac].
[RecTitle] dlsym '_ZN9TCTvProxy17GetPresentProgramEP9TCChanneljP9TCProgram' failed.
[RecTitle] _ZN4TCTv17GetPresentProgramEP9TCChanneljP9TCProgram [0x168dbc0].
[RecTitle] init done...
[RecTitle] CTV_GetPresentProgram, Channel: "Das Erste HD", Total: 1, Changing program title: "Panda, Gorilla & Co. (304)" to: "Panda, Gorilla & Co. (304)"

UE50ES6300, UE32D5700

zoelechat
SamyGO Moderator
Posts: 7568
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Recording Title Patch D/E/F/H

Post by zoelechat » Tue Feb 03, 2015 6:00 pm

Failed "things" correspond to functions used on other series TV.
Patch operates on EPG info only, not on filenames. What it does is explained in first post. Especially:
May not be obvious to non-advanced users, if it looks mysterious or ununderstandable to you, simply don't use it ;)
I do NOT reply to any question by PM. Please use forum.

mikemcgear
SamyGO Project Donor
Posts: 14
Joined: Tue Dec 23, 2014 5:38 pm

Re: [App] Recording Title Patch D/E/F/H

Post by mikemcgear » Sat Feb 07, 2015 5:30 pm

Great patch, however I am facing this issue:

Code: Select all

# samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libRecTitle.so MINUTES_TO_ADD:10
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libRecTitle.so' resident: '1'
Segmentation fault
No log file is written as a consequence.
UE48H6600, T-GFSDEUC 1184 1210.5 1240.2 1300 1321

User avatar
juusso
SamyGO Moderator
Posts: 9522
Joined: Sun Mar 07, 2010 6:20 pm

Re: [App] Recording Title Patch D/E/F/H

Post by juusso » Sat Feb 07, 2015 6:01 pm

What tv model and firmware?
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

mikemcgear
SamyGO Project Donor
Posts: 14
Joined: Tue Dec 23, 2014 5:38 pm

Re: [App] Recording Title Patch D/E/F/H

Post by mikemcgear » Sat Feb 07, 2015 8:17 pm

UE48H6600, T-GFSDEUC 1210.5
UE48H6600, T-GFSDEUC 1184 1210.5 1240.2 1300 1321

User avatar
juusso
SamyGO Moderator
Posts: 9522
Joined: Sun Mar 07, 2010 6:20 pm

Re: [App] Recording Title Patch D/E/F/H

Post by juusso » Sat Feb 07, 2015 8:24 pm

possible this patch is not ported to T-GFS yet, cause here was almost no rooted models :) You have to wait until @sectroyer adds your tv to supported list :)
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

sectroyer
Official SamyGO Developer
Posts: 5598
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Recording Title Patch D/E/F/H

Post by sectroyer » Sun Feb 08, 2015 10:16 am

juuso wrote:possible this patch is not ported to T-GFS yet, cause here was almost no rooted models :) You have to wait until @sectroyer adds your tv to supported list :)
It works :) I am not picky :) If he has root I support his TV :P
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

Post Reply

Return to “[C] Software”

Who is online

Users browsing this forum: No registered users and 1 guest