Results 1 to 4 of 4

Thread: DVR-810H - MFS mod to allow negative padding

  1. #1
    Join Date
    Jan 2005
    Posts
    27

    DVR-810H - MFS mod to allow negative padding

    Mods,

    Feel free to move this if S2 Development isn't the right place for this material. I just figured it out for my box, so I thought it would be good to contribute it to the knowledge base here.

    Over at TCF, there's a thread (here) on modifying the strings MFS supplies in order to enable 'hard' negative padding in the TiVo UI (much like TWP does). However, for newer TiVos like my DVR-810H (running 5.2.2), the thread is outdated, as the resource locations keep changing. The script is at least useful to sniff out the correct formatting for the string you want.

    We've got EndPadPlus already for when there's time available to pad recordings, but sometimes I want to make the judgement call myself to cut off a show that ends at 8:01 to record another one that starts at 8:00.

    To steal from those annoying textbooks, I'll leave "how to find the right items" as an exercise for the reader, and not write a guide. (hint - look at the resource groups in /SwSystem/Active/)

    For software version 5.2.2-01-2-275, the appropriate strings are in resources:

    45953/31 - Start recording times
    45953/33 - Stop recording times

    Update the strings, flush the MFS using AlphaWolf's flushres.tcl script, reboot, and enjoy.

  2. #2
    Join Date
    Jan 2002
    Posts
    1,778
    fsids can be different on each system (and, in the case of 5.2.2, probably are, since 5.2.2 is generally installed as an upgrade). That means that fsid 45953 on your system is probably not the same as 45953 on another system. It's also a reason why we advise people never to use "-f 9999" or "-f 4138" with mfsbackup.

    For an example of how to identify and locate ResourceItems in a "portable" manner, see this thread.

    The resources I suspect you are referring to are in group ID 1900544 on 5.2.2:

    Code:
            Subrecord ResourceItem/30 {
                    Id: 1900580
                    String: {On-time\x7c0\x7c1 minute early\x7c60\x7c2 minutes early
    \x7c120\x7c3 minutes early\x7c180\x7c4 minutes early\x7c240\x7c5 minutes early\x
    7c300\x7c10 minutes early\x7c600\x7c}
            }
    
    ...
    
            Subrecord ResourceItem/32 {
                    Id: 1900582
                    String: {On-time\x7c0\x7c1 minute longer\x7c60\x7c2 minutes long
    er\x7c120\x7c5 minutes longer\x7c300\x7c15 minutes longer\x7c900\x7c30 minutes l
    onger\x7c1800\x7c1 hour longer\x7c3600\x7c1 1/2 hours longer\x7c5400\x7c3 hours 
    longer\x7c10800\x7c}
            }

  3. #3
    Join Date
    Jan 2005
    Posts
    27
    fsids can be different on each system (and, in the case of 5.2.2, probably are, since 5.2.2 is generally installed as an upgrade). That means that fsid 45953 on your system is probably not the same as 45953 on another system. It's also a reason why we advise people never to use "-f 9999" or "-f 4138" with mfsbackup.

    For an example of how to identify and locate ResourceItems in a "portable" manner, see this thread.

    The resources I suspect you are referring to are in group ID 1900544 on 5.2.2:
    ADH,

    Thanks for the link. You're right - they are in 1900544. I found mine by digging through the MFS in TWP as opposed to telnetting in (since I was outside my firewall and I've got an HTTPS proxy to TWP), so I just changed by the item ID. Obviously, unless you like living dangerously (and/or dumb) , you're going to do a 'dbget' beforehand in a shell to ensure you're playing with the right item. They were in something completely different in 3.x and 4.x units, based on the scripts people had ginned up at TCF.

    However, as the post mentions, some of those group IDs could even change between major versions, so I might have to go fishing when I get a 7.x upgrade.

  4. #4
    Join Date
    Jan 2002
    Posts
    1,778
    In 7.1-01-2-540, it is stored in lib/resources/RecordOptionsDocument.brf:

    Code:
    TuikResourceHolder/1/39278196/1 {
            AxisSpecification: AxisSpecification/11
            ImportIteration: {20041223142230-540}
            ImportProcess: {uilib}
            MimeIndex: {09}
            PathBase: {lib/resources/RecordOptionsDocument.brf}
            TuikResource: TuikResource/1/31477080
            Subrecord AxisSpecification/11 {
                    ClientInvariant: -2147221501
                    ClientInvariant: -2147287037
                    ClientVariant: 65537
                    ClientVariant: 131073
                    InvariantSpecString: {010607}
                    VariantSpecString: {010101}
            }
    }
    
    TuikResource/1/31477080/1 {
            ContentHash: {E6625457AED4B6EBB2E40D7157AABB3B0228C11D}
            File: File of size 1/1366
            MimeType: {application/octet-stream}
    }
    An excerpt from that tyFile:

    Code:
    0000280: 6563 6f72 6469 6e67 3a81 014f 6e2d 7469  ecording:..On-ti
    0000290: 6d65 7c30 7c31 206d 696e 7574 6520 6561  me|0|1 minute ea
    00002a0: 726c 797c 3630 7c32 206d 696e 7574 6573  rly|60|2 minutes
    00002b0: 2065 6172 6c79 7c31 3230 7c33 206d 696e   early|120|3 min
    00002c0: 7574 6573 2065 6172 6c79 7c31 3830 7c34  utes early|180|4
    00002d0: 206d 696e 7574 6573 2065 6172 6c79 7c32   minutes early|2
    00002e0: 3430 7c35 206d 696e 7574 6573 2065 6172  40|5 minutes ear
    00002f0: 6c79 7c33 3030 7c31 3020 6d69 6e75 7465  ly|300|10 minute
    0000300: 7320 6561 726c 797c 3630 307c 0f53 746f  s early|600|.Sto
    0000310: 7020 5265 636f 7264 696e 673a 815e 4f6e  p Recording:.^On
    0000320: 2d74 696d 657c 307c 3120 6d69 6e75 7465  -time|0|1 minute
    0000330: 206c 6174 657c 3630 7c32 206d 696e 7574   late|60|2 minut
    0000340: 6573 206c 6174 657c 3132 307c 3320 6d69  es late|120|3 mi
    0000350: 6e75 7465 7320 6c61 7465 7c31 3830 7c34  nutes late|180|4
    0000360: 206d 696e 7574 6573 206c 6174 657c 3234   minutes late|24
    0000370: 307c 3520 6d69 6e75 7465 7320 6c61 7465  0|5 minutes late
    0000380: 7c33 3030 7c31 3020 6d69 6e75 7465 7320  |300|10 minutes 
    0000390: 6c61 7465 7c36 3030 7c31 3520 6d69 6e75  late|600|15 minu
    00003a0: 7465 7320 6c61 7465 7c39 3030 7c33 3020  tes late|900|30 
    00003b0: 6d69 6e75 7465 7320 6c61 7465 7c31 3830  minutes late|180
    00003c0: 307c 3120 686f 7572 206c 6174 657c 3336  0|1 hour late|36
    00003d0: 3030 7c31 2031 2f32 2068 6f75 7273 206c  00|1 1/2 hours l
    00003e0: 6174 657c 3534 3030 7c33 2068 6f75 7273  ate|5400|3 hours
    00003f0: 206c 6174 657c 3130 3830 307c 0b4b 6565   late|10800|.Kee
    0000400: 7020 756e 7469 6c3a 134b 6565 7020 756e  p until:.Keep un
    0000410: 7469 6c20 4920 6465 6c65 7465 1144 6f6e  til I delete.Don
    A naive hexedit might suffice. If not, time to get back to work on the brf files:

    http://www.dealdatabase.com/forum/sh...ad.php?t=38538

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •