Automatic SkipMode Project Proposal

Discussion in 'TiVo Coffee House - TiVo Discussion' started by RoamioJeff, Mar 6, 2016.

  1. Nov 9, 2016 #81 of 188
    slowbiscuit

    slowbiscuit FUBAR

    4,686
    628
    Sep 19, 2006
    In the ATL

    Advertisements

    Hey Kev, do you think we need an auto-prune of skips that should be removed from the table because the show has been watched and deleted (i.e. keep skip table in sync with what's in now playing)? Might be something else to add on the scheduled retrieves, otherwise the file and table is going to get bigger and bigger.

    Probably not a big deal since it will take a long time to have any real impact, I guess. Just a thought.
     
  2. Nov 9, 2016 #82 of 188
    TivoJD

    TivoJD Active Member

    414
    92
    Feb 7, 2005
    Polk Co,...
    Slowbiscuit, I think what you are looking for is on the AutoSkip tab in configure (Prune Skip table automatically after NPL refresh)
     
  3. Nov 9, 2016 #83 of 188
    slowbiscuit

    slowbiscuit FUBAR

    4,686
    628
    Sep 19, 2006
    In the ATL
    Thanks, yeah didn't realize that tab was there and it works great; however it requires a manual NPL refresh right? What I'm asking for is a prune after a daily auto-skip get, so it's all automated (gets and purges).
     
  4. Nov 14, 2016 #84 of 188
    Connor

    Connor Member

    39
    0
    Oct 12, 2002
    So, I'm running Ubuntu.. Is there a way to run this as a service without the GUI for just the AutoSkip stuff?
     
  5. Nov 14, 2016 #85 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...

    Advertisements

    Nope.
     
  6. Nov 14, 2016 #86 of 188
    Connor

    Connor Member

    39
    0
    Oct 12, 2002
    Any possibility of getting that added? :) Is there any reason to have the gui if it's ran as a service?
     
  7. Nov 14, 2016 #87 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    I'll look into it...
     
  8. Nov 18, 2016 #88 of 188
    Connor

    Connor Member

    39
    0
    Oct 12, 2002
    Cool, Thanks..

    The other thing that would be cool would be the ability to send the NPL Refresh command along with the AutoSkip from Skipmode - ALL (w) command via some sort of tcp listener. I currently have a Alexia app setup that allows me to control my TiVo, so, If I could just tell Alexa "Tell Tivo Refresh AutoSkip" it would then refresh the NPL and then Execute the AutoSkip - All functions.. Then I don't have to run to my computer and do it everytime I turn around..
     
  9. Nov 18, 2016 #89 of 188
    BrettStah

    BrettStah Well-Known Member

    33,693
    6,520
    Nov 12, 2000
    San Antonio
    OK, so I got this running today - works great! What an awesome program.

    Question from a newbie... I set up the service off of the File menu. Do I need to do anything else to have this run automatically each night, on new shows that get recorded? Apologies if this is covered in this thread or the documentation - if it is, I missed it.
     
  10. Nov 18, 2016 #90 of 188
    TivoJD

    TivoJD Active Member

    414
    92
    Feb 7, 2005
    Polk Co,...
    In the Wiki, go to windows_task_scheduler Its at the bottom of the page. That is if you have windows ...
     
    BrettStah likes this.
  11. Nov 18, 2016 #91 of 188
    BrettStah

    BrettStah Well-Known Member

    33,693
    6,520
    Nov 12, 2000
    San Antonio
    Yep, it's running on a Windows 10 box. No problem setting up a task either! Thanks. Please excuse another possibly dumb question though.

    My understanding is that kmttg needs to always be running for the automatic skip mode to actually do the automatic skipping, because it monitors the TiVo for what's playing and sends the skip button signal when it detects a commercial break. I have this box set to reboot daily and auto-login for another reason, so my plan is to have kmttg start up at logon.

    So if that's always running, then when the new scheduled task runs, won't that cause two instances of kmttg to be running? Will that second instance automatically close once it's finished scanning the NPL to find new shows for skip mode?
     
  12. Nov 19, 2016 #92 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    @BrettStah, there's 2 pieces to it:
    1. In v2.2h release autoskip service can only be run from the GUI, so yes if you want autoskip service then the GUI needs to be up and running. (In next release I've added capability to run autoskip service in non GUI mode).

    2. The second piece is you have to run "AutoSkip from SkipMode" for every new show that records that has SkipMode. There's 2 ways to do that. From kmttg GUI manually refresh the NPL table then use the "w" bindkey to kick off AutoSkip from SkipMode on all shows that need it. Or if you don't want to manually do it using the GUI, then you can setup a task for it as exemplified in:
    kmttg / Wiki / windows_task_scheduler
     
  13. Nov 19, 2016 #93 of 188
    billpiper

    billpiper Member

    66
    7
    Sep 17, 2015
    Richmond, VA
    Reference the windows task scheduler wiki. On the General tab, what should the "Configure For" setting be? Several Options there Windows 10, Windows 7, Windows Server 2008 R2, and Windows Vista Windows Server 2008. Mine is defaulting to Windows Vista, Windows Server 2008. Im running Windows 10
     
    Last edited: Nov 19, 2016
  14. Nov 19, 2016 #94 of 188
    ej42137

    ej42137 Well-Known Member

    3,812
    605
    Feb 15, 2014
    Los Angeles
    That option is for programs that have dependencies on a particular version of Windows; Java does not, so whatever you specify will have no effect.
     
  15. Nov 19, 2016 #95 of 188
    mrizzo80

    mrizzo80 Well-Known Member

    3,272
    594
    Apr 16, 2012
    Enjoying the auto-skip functionality. :)

    I'm running into issues of it disabling itself. The status message is [TiVo name - AutoSkip - DISABLED] (not sure on the exact ordering of the info, but DISABLED is definitely in upper case and comes last.) The only way to turn it back on is to close and re-open the kmttg. There are no error entries preceding the DISABLED message. I'm not tuning to Channel 0 when this occurs.

    Also, since the service needs to ping the TiVo every second or so to get the current playback timestamp, are there any potential negative side effects to that (slowing down the TiVo, etc)?
     
    billpiper likes this.
  16. Nov 19, 2016 #96 of 188
    BrettStah

    BrettStah Well-Known Member

    33,693
    6,520
    Nov 12, 2000
    San Antonio
    Thanks! So I can configure kmttg to run automatically without the GUI whenever the computer starts. Then I could use a Windows task to automatically run to the task that runs "AutoSkip from SkipMode" - then when that's done that instance of kmttg closes when the task finishes. Is that about right?

    And when you have the update ready for use, will there be a scheduler built-in so that we can determine when it should scan through new NPL shows looking for SkipMode data?
     
  17. Nov 19, 2016 #97 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    Yes.

    There's no built in scheduler. That's the purpose of running the "AutoSkip From SkipMode" task on a recurring basis and at a time where it won't interfere viewing on your TiVo. Every time you run if there are new shows with SKIP data available they will be picked up.
     
  18. Nov 19, 2016 #98 of 188
    BrettStah

    BrettStah Well-Known Member

    33,693
    6,520
    Nov 12, 2000
    San Antonio
    Ah, I understand now. Finally. o_O

    Thanks for the awesome program!
     
  19. Nov 19, 2016 #99 of 188
    BrettStah

    BrettStah Well-Known Member

    33,693
    6,520
    Nov 12, 2000
    San Antonio
    OK, one more question this morning... I have the scheduled task tested and working. Does running it with the -s also cause the NPL to refresh before it iterates through the list, and if not, is there a way to have it do so?
     
  20. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    Using -s grabs fresh NPL list every time. One issue is that the TiVo itself doesn't process SKIP immediately following a recording unless you actively bring up My Shows listings, so for new recordings that don't yet have "SKIP" indicated on TiVo obviously those won't be processed in AutoSkip from SkipMode.
     

Share This Page

spam firewall

Advertisements