Results 1 to 11 of 11

Thread: standalone drmcheck for non tivo ?

  1. #1
    Join Date
    Feb 2007
    Posts
    70

    standalone drmcheck for non tivo ?

    I am not currently running a tivo, but I have a huge backlog on my unix fileserver of old tmf files that I am going to start converting with s3tots.

    I'm running into some trouble with some of them, and I'd like a quick sanity check on the files - is there a way to run the 'drmcheck.tcl' script on a generic unix system ?

    Is it a plain old tcl file that should work in any unix environment ?

    Thanks.

  2. #2
    Join Date
    Feb 2007
    Posts
    70
    I know what you're thinking ... "why don't you just run it and see"

    Well, the problem is that my unix fileserver does not have tcl installed on it, and it is an embedded system running off of a flash card. So while I can install tcl, it's not trivial, and I don't want to install it just as an experiment.

    So, can anyone confirm or deny that drmcheck.tcl can run on a standard unix system ?

    If not, is there a unix equivalent that I can run to check DRM on files off of the tivo ?

    Thanks.

  3. #3
    Join Date
    Aug 2004
    Posts
    4,075
    drmcheck.tcl uses tivosh MFS extensions to walk through the list of recordings. You could certainly write a version that didn't use those extensions, if you wanted to, probably using mfs_streams instead to get the list of recordings and parts to check.

    Another possibility would be to rewrite the whole thing in C, as was done with ciphercheck. That would certainly run faster. If all you care about is knowing whether each part is encrypted or not, ciphercheck may work for you as is.
    Last edited by Jamie; 04-28-2010 at 01:49 PM.

  4. #4
    Join Date
    Feb 2007
    Posts
    70
    Yes, all I care about is whether a particular .tmf file is encrypted or not.

    Do you have a link to the binary ciphercheck source, so I can compile it ? I can only find the .tcl version of ciphercheck...

    Thanks.

  5. #5
    Join Date
    Aug 2004
    Posts
    4,075
    You'll have to check it out from CVS on sourceforge as described in this post.

  6. #6
    Join Date
    Jan 2002
    Location
    Sonoran Desert
    Posts
    2,829
    I think it would be easier to just write a bash script that checks the tystream magic. Have tar extract the first four bytes of the first part, hexdump, compare.
    Last edited by AlphaWolf; 04-29-2010 at 12:21 AM.
    Before PMing me: Iím not your personal tech support. If you have a question, ask in public so I don't have to repeat if somebody else asks. If you want images or slices, use emule. I will ignore all support PMs.

    Sponsor a vegetarian! I have taken the pledge, how about you?

  7. #7
    Join Date
    Aug 2004
    Posts
    4,075
    Quote Originally Posted by AlphaWolf View Post
    I think it would be easier to just write a bash script that checks the tystream magic. Have tar extract the first four bytes of the first part, hexdump, compare.
    You still need to walk through the list of recordings in some way, which probably means using mfs-utils. If you are going to compile an mfs64 version of mfs-utils anyway, you might as well use ciphercheck to do it, which is written in C and is much faster than a scripted solution.

  8. #8
    Join Date
    Dec 2001
    Posts
    603
    This is UNIX

    Make a file list to a file using ls

    Grep/Sed it into a batch script to do the tar or dd thingie piped to hexdump

    Look at results for each item

    Piece of cake

  9. #9
    Join Date
    Jun 2006
    Location
    Dougal County
    Posts
    1,007

  10. #10
    Join Date
    Jan 2002
    Location
    Sonoran Desert
    Posts
    2,829
    Quote Originally Posted by Jamie View Post
    You still need to walk through the list of recordings in some way, which probably means using mfs-utils. If you are going to compile an mfs64 version of mfs-utils anyway, you might as well use ciphercheck to do it, which is written in C and is much faster than a scripted solution.
    I thought he's just dealing with a bunch of tmf files on a regular unix filesystem?
    Before PMing me: Iím not your personal tech support. If you have a question, ask in public so I don't have to repeat if somebody else asks. If you want images or slices, use emule. I will ignore all support PMs.

    Sponsor a vegetarian! I have taken the pledge, how about you?

  11. #11
    Join Date
    Aug 2004
    Posts
    4,075
    Quote Originally Posted by AlphaWolf View Post
    I thought he's just dealing with a bunch of tmf files on a regular unix filesystem?
    Sorry, I guess I misunderstood and thought he had a tivo disk he was trying to extract from on a linux server.

Posting Permissions

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