TiVo recording status on a photo frame

Discussion in 'TiVo Coffee House - TiVo Discussion' started by nrc, Jan 31, 2012.

  1. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    Ok, so I downloaded the new exe and when I run it from XP's cmd I get no images found and then it shows the file path it looked at which ended with the folder names nooled.

    I don't know if that means it's not finding the config file in the nooled folder where the exe resides but somethings wrong.

    FWIW, here's my config file...

    Code:
    tivo = 1.2.3.4
    mak = 123456789
    copies = 2
    suggestionTitles = yes
    transferTitles = yes
    textSize = 20
    imageSource = C:\Documents and Settings\Owner\nooled\input\
    frameTargetImage = C:\Documents and Settings\nooled\output\TivoEliteStat.jpg
    frameUpdate = 3600
    quiet = 1
    repeat = 5
    Edit: Hold that thought, might be because my config file is nooled and not nooledrc
     
  2. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    Edit 2: Ok, it seems the rc was the issue. It now I guess seems to be finding the config file but now this weirdness.

    See attached image, ok, now look at the file path in the config file. What's shown in the cmd image isn't right.
     

    Attached Files:

  3. nrc

    nrc Cracker Soul

    2,485
    26
    Nov 17, 1999
    Living in a...
    Maybe I'm not reading something correctly, but it's complaining that "C:\Documents and Settings\Owner\nooled\input\" doesn't exist. That appears to be the image source directory in the .nooledrc you posted. Am I misreading something?

    If that directory does exist something odd is going on. I've tested with a very similar setting (ie, under Documents and Settings\User\etc) with no problem.

    Oh, btw, I also changed "frameUpdate" to "switchImage". It seemd more descriptive since the frame image updates more often than we actually switch the picture.
     
  4. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    My apologies, I just realized I was a horses ass.

    I never added the My Documents folder to the link, just did a manual recording, ran nooled.exe it picked up the config file and is showing Seinfeld.

    So it looks like were G2G, just need to figure out the automation thing since even with the repeat = 5 which I assume is every 5 minutes it's still a one hit wonder under XP's cmd screen.

    Edit: About frameupdate, I should change it to switchImage then right ?
     
  5. nrc

    nrc Cracker Soul

    2,485
    26
    Nov 17, 1999
    Living in a...
    No worries, this isn't exactly a friendly user interface.

    Hmm. It really should keep running if you give it the repeat option. Note that if you run it from the command line with the quiet option it will just set there without returning a command prompt, but otherwise appearing to do nothing unless you check the files that it's updating. If it's really not staying in the loop I may ask you to gather some debugging information for me.

    Yes, that's correct.
     
  6. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    I actually didn't let it stay running, I just assumed it was still a one hit wonder because I wasnt sure how the repeat worked with cmd. That said, assuming even with CMD staying open keeps it running then I guess what I should have said was now that were G2G we just need to figure out a way to keep it running without me needing to keep a cmd screen open where I may accidentally close it which I have done before with browser windows, even those that are minimized.
     
  7. nrc

    nrc Cracker Soul

    2,485
    26
    Nov 17, 1999
    Living in a...
    I've posted a new update to this utility.

    Perl: http://www.offcamber.net/files/nooled
    Windows: http://www.offcamber.net/files/nooled.exe

    Primary change is that it fixes a bug where it would fail to update the program information sometimes when running in continuous loop mode (--repeat).

    It now also attempts to shorten the program title to fit the shadowbox if it would overflow. The maximum length is a guesstimate. You can set the maximum length by setting "maxLabelWidth" in your config file to the number of characters allowed.

    Finally, when running in continuous loop mode it will only update the image if the active recordings change or the timer to switch the picture expires (as opposed to every time it checks). This cuts down on the number of updates which can sometimes confuse my frame.

    I've had good luck running this as a service using the nssm utility linked above. Just create a folder and put nooled.exe and nssm.exe in it. Create a configuration file called .nooledrc in that same directory with your preferred options (presumably including the repeat option). Then run ".\nssm.exe install nooled". You'll have to run it in Administrator mode if you're on Windows 7. It will pop up a file selector. Select your nooled.exe executable and click "OK." It should confirm creation of the service but note that you'll have to start it manually the first time. Either bring up the Service management interface, select the service and click "Start", or run "net start nooled" at the command line.
     
  8. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    Thx for the update, will also try the service thing on XP and see how that goes.

    In any event, I have a question...

    Would it be posible to modify this in a way to read the todo list and have filters that would allow you to show those items not recording by say conflicts with other higher priority recordings ?

    Edit: Ok, so it seems I was able to run .\nssm.exe install nooled andd then select the nooled.exe and it said the service was successfully started but how do I check running services ?

    Also, I asume .\nssm.exe install nooled needs to be "ran" upon every reboot right ?

    Ps; I did close the cmd window if that matters which if it does would seem to defeat the purpose of what I guess nssm is supposed to do.

    Right now I started a manual recording after I started nssm so here's hoping it works.

    Edit 2: Nothing after half an hr ;-(
     
  9. nrc

    nrc Cracker Soul

    2,485
    26
    Nov 17, 1999
    Living in a...
    As far as I know there's no way to pull that information directly from the TiVo like I do with the Now Playing list. Some folks have done work pulling the To Do list from the TiVo web site, but I'm not sure that the information there would allow you to find conflicts.

    1. Right click on My Computer in the start Menu and select "Manage".
    2. In the left pane of the window that opens, expand "Services and Applications" by clicking the "+".
    3. Select "Services".
    4. You should see the nooled service that you created in the services list in the right hand pane.
    5. Right click the service and select "Start".
    nssm doesn't start the service when it creates it, but it installs it as a service and sets it to "automatic" so that it should start automatically each time your system reboots. That's the point of running it as a service.
     
  10. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    Looks like were golden, you rock ;-)

    Sucks about the TD list, I would soooo love to be able to do something like this for it or at the very least hack the damn tivo it self so the TD list nly shows issues due to scheduling conflicts since I don't care about the other stuff. I mean the space ones nice but it would be so cool just to be able to sort the darn thing.
     
  11. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    Been some time since I've used this but I wanted to make a how to use doc on my end.

    Any way, to install the service using nssm, this is what I do right ?

    nssm install ./path/to/.nooledrc

    Then every time after the computer shuts down, restarts etc I never have to worry about changing anything except for maybe the TiVo's IP in the nooled file.
     
  12. nrc

    nrc Cracker Soul

    2,485
    26
    Nov 17, 1999
    Living in a...
    Glad to hear that you're finding this useful. I finally have a Premiere Elite on the way and I can't imagine giving up my S3 without something to display recording status.

    The second argument to nssm is just a name for the service. It doesn't matter what you name it, you just have to remember what name to look for if you manually start or stop the service. For example, "nssm install nooled" names the service "nooled".

    When you execute nssm you'll get a prompt to select the executable that you want to run as a service. At that point you should select your nooled.exe file. nooled will look in the same directory as your .exe for the .nooledrc file.

    With all your options set in the config file the same settings will take affect each time your reboot and the service starts. To avoid having my TiVo IP address change I set my router to assign the same IP for my TiVo every time. You could also set your TiVo IP manually as long as you make sure you set it to something within the subnet but outside the range that your router will assign.
     
  13. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    I clicked nssm yesterday, got prompt that was on screen for like 3 secs and then went poof. Thats why I wanted to ouble check on the execution. I don't remember what I did the first time when I got it up and urnning.
     
  14. nrc

    nrc Cracker Soul

    2,485
    26
    Nov 17, 1999
    Living in a...
    Just clicking nssm won't work since nssm requires command line options. Here's the full usage page for nssm:

    http://nssm.cc/usage
     
  15. TiVo_Fanatic

    TiVo_Fanatic Member

    532
    0
    May 29, 2006
    Pa
    Got it, Thx.
     

Share This Page