Page 1 of 2

[App] Contents and PVR Brwoser Info Bar Lines Number Patch

Posted: Mon Aug 18, 2014 9:27 pm
by sectroyer
This patch changes the number of lines for labels that are displayed in Contents and PVR Browser on the right. Be default the maximum is two lines so if for instance the title of the movie is longer it will be shortened with "...". With this patch you get up to 4 lines :D Samples usage:

Code: Select all

infobarlinesnumpatch -d -n exeDSP

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Mon Aug 18, 2014 10:32 pm
by zoelechat
Works perfectly! Good idea, I was bored of incomplete/unreadable titles with many empty remaining room just below :)

Code: Select all

./infobarlinesnumpatch -d -n exeDSP
pc=428234dc lr=428234c8 sp=bee2def8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: adbg_CheckSystem -> @0x03658ac4
Patched adbg_CheckSystem at @0x03658ac4
SHM, created: 1
symbol: _ZN10CMMInfoBar6CreateEP8CCObject -> @0x024521d0
Create Info Bar patch location found at: 0x024523f8
symbol: _ZN10CMMInfoBar11SetTextInfoEiSbItN16string_helpers__14PTWChar_traitsESaItEEb -> @0x02452794
First Update Info Bar patch location found at: 0x02452a64
Second Update Info Bar patch location found at: 0x02452adc
symbol: _ZN10CMMInfoBar11SetTextInfoEiSbItN16string_helpers__14PTWChar_traitsESaItEEb -> @0x02452794
Update Info Bar patch location found at: 0x02452d28
Update Info Bar patch location found at: 0x02452e38
Contents and PVR Brwoser Info Bar Lines Number Patch applied successfully.
Patching completed!

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Mon Aug 18, 2014 11:57 pm
by sectroyer
zoelechat wrote:Works perfectly! Good idea, I was bored of incomplete/unreadable titles with many empty remaining room just below :)

Code: Select all

./infobarlinesnumpatch -d -n exeDSP
pc=428234dc lr=428234c8 sp=bee2def8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: adbg_CheckSystem -> @0x03658ac4
Patched adbg_CheckSystem at @0x03658ac4
SHM, created: 1
symbol: _ZN10CMMInfoBar6CreateEP8CCObject -> @0x024521d0
Create Info Bar patch location found at: 0x024523f8
symbol: _ZN10CMMInfoBar11SetTextInfoEiSbItN16string_helpers__14PTWChar_traitsESaItEEb -> @0x02452794
First Update Info Bar patch location found at: 0x02452a64
Second Update Info Bar patch location found at: 0x02452adc
symbol: _ZN10CMMInfoBar11SetTextInfoEiSbItN16string_helpers__14PTWChar_traitsESaItEEb -> @0x02452794
Update Info Bar patch location found at: 0x02452d28
Update Info Bar patch location found at: 0x02452e38
Contents and PVR Brwoser Info Bar Lines Number Patch applied successfully.
Patching completed!
Yeah my words exactly. In theory I could add some customization to the patch to select how many lines you want (I was thinking of options from 2-5). However this would require partial rewriting of the patch and I think 4 is enough. However I may quite easily change the number of lines to 8 (basically using multiples of 2 is much easier than any other number). Nevertheless for me 4 was enough :) But I am open for suggestions ;)

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Tue Aug 19, 2014 12:27 am
by zoelechat
From what I tried 4 lines is enough for 99% titles to be displayed entirely, and even if title is still incomplete, it is widely enough to understand what's in.
I'm especially thinking of titles from PVRdecoder such as:

Code: Select all

2014.01.18_21h33_RMC DECOUVERTE - alien theory  empereurs, rois et pharaons.ts
From which I could see only date and time before patch! :)
It would be needed to ask people using long words (such as German) if more lines are necessary :mrgreen:

However, seeing that informations below title ((channel)/date/(resolution)/size) are moving up and down according to title length and that there's still empty room below, maybe you could fix more than 4 lines if all room is really available (roughly 8 or even 10 :?: )

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Tue Aug 19, 2014 8:26 am
by greenhorn
works great!

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Tue Aug 19, 2014 8:44 am
by sectroyer
zoelechat wrote: However, seeing that informations below title ((channel)/date/(resolution)/size) are moving up and down according to title length and that there's still empty room below, maybe you could fix more than 4 lines if all room is really available (roughly 8 or even 10 :?: )
10 is not multiple of 2 :p I can either switch to 8 (a multiple of two) or rewrite the patch to support "any" number... I am also afraid that not in all situations there will so much free space :) Anyway for now it is as it is. For me 4 is also enough and I don't se a point in changing it. Let's wait for feedback :)

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Tue Aug 19, 2014 11:03 am
by zoelechat
sectroyer wrote:10 is not multiple of 2 :p I can either switch to 8 (a multiple of two) or rewrite the patch to support "any" number... I am also afraid that not in all situations there will so much free space :) Anyway for now it is as it is. For me 4 is also enough and I don't se a point in changing it. Let's wait for feedback :)
10 is not a multiple of 2 ??? :D You probably meant a power of 2...
Allowing custom number would be overkill in my opinion :)

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Tue Aug 19, 2014 11:14 am
by sectroyer
zoelechat wrote: 10 is not a multiple of 2 ??? :D You probably meant a power of 2...
Allowing custom number would be overkill in my opinion :)
Yeah, sorry for confusion :) That's exactly what I meant :) So 2,4,8,16,etc. are not a problem but any other number would require little work and since I don't see a point (4 is enough for me) I decide it to leave it as it is :)

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Pat

Posted: Tue Aug 19, 2014 11:21 am
by zoelechat
sectroyer wrote:I decide it to leave it as it is :)
I totally agree, just suggesting because you were open to suggestions ;)

Re: [App] Contents and PVR Brwoser Info Bar Lines Number Patch

Posted: Wed Jun 17, 2015 6:10 pm
by tadzpadz
hello,
sectroyer, could you share .init file for autostart?
thanks