Automatic SkipMode Project Proposal

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

  1. Mar 7, 2016 #21 of 188
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,030
    7,788
    Apr 17, 2000
    Nevada

    Advertisements

    That's true when you're manually pressing the button. But the OP is talking about an automated system that listens for that chime and uses that as a cue to do it automatically.
     
  2. Mar 8, 2016 #22 of 188
    aaronwt

    aaronwt UHD Addict

    23,636
    1,299
    Jan 31, 2002
    Northern...
    Or even a TV if set for DD. All my TVs for many, many years have accepted Dolby Digital on the HDMI inputs.
     
  3. Mar 8, 2016 #23 of 188
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    I'm more interested in the challenge of identifying the ding sound in real-time with a Raspberry Pi. Haven't ever worked with sound processing before...should be fun :).
     
  4. Mar 8, 2016 #24 of 188
    jrtroo

    jrtroo Chill- its just TV

    5,095
    322
    Feb 4, 2008
    Chicagoland
    Seems cool for someone looking for a project. I don't understand how the OP thinks this would be trivial, if that were the case the OP could do it themselves. :)
     
  5. Mar 8, 2016 #25 of 188
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...

    Advertisements

    Matter of scale. It's trivial compared with something like Amazon Alexa via Echo, for instance, which has to listen for its keyword then respond to a virtually limitless range of possible requests. This just has to reliably detect one specific sound from a real-time audio stream, the rest is an absolute cakewalk.
     
    bradleys likes this.
  6. Mar 9, 2016 #26 of 188
    Johncv

    Johncv Well-Known Member

    1,920
    96
    Jun 11, 2002
    Chula Vista, CA
    You sound like my brother, too lazy to press a button. :p
     
  7. Oct 28, 2016 #27 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
  8. Oct 28, 2016 #28 of 188
    mrizzo80

    mrizzo80 Well-Known Member

    3,272
    594
    Apr 16, 2012
    Thanks for doing this. :)

    I tested this out on an episode of The Daily Show and it worked great. I was quite surprised to find out that this appears to work WITHOUT initiating playback from kmttg (i.e. it works when I initiate playback from my remote.) How are you accomplishing that?

    Is it possible to automate the "bindkey v" step? Like maybe a service that runs overnight and runs that step for any newly recorded shows that have TiVo SkipMode data but not kmttg "cut points" yet?
     
  9. Oct 28, 2016 #29 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    If you run kmttg AutoSkip service then yes, it will work without having to initiate playback from kmttg. As a bonus it will also work for playback from series 4 TiVos as well (even though they don't support SkipMode), as well as from TiVo Minis.

    The service works by just polling the TiVo every few seconds to find out what's playing. If kmttg sees you are playing something that has AutoSkip data then AutoSkip automatically kicks in for it, and ends once you are no longer playing it. It really is a neat trick!

    If you don't enable AutoSkip service you can still initiate play from kmttg for a single show using the 'z' bindkey.

    Yes I will have to think about further automation. Since the part that collects the skip point data can disrupt viewing on the TiVo it is running on obviously it's not something that can run in the background at unplanned times.
     
    TivoJD likes this.
  10. Oct 28, 2016 #30 of 188
    TivoJD

    TivoJD Active Member

    414
    92
    Feb 7, 2005
    Polk Co,...
    moyekj, I just discovered this post and turned on the AutoSkip service, it works great, love it! Can't thank you enough for your work.
     
  11. Oct 28, 2016 #31 of 188
    mattack

    mattack Well-Known Member

    25,690
    677
    Apr 9, 2001
    sunnyvale
    Because some people are against theft.
     
  12. Oct 28, 2016 #32 of 188
    Azlen

    Azlen Well-Known Member

    2,654
    67
    Nov 24, 2002
    Peoria, AZ
    So downloading a show to watch without commercials is bad but having automated process on your Tivo to watch a show without commercials is fine? That's really splitting hairs.
     
  13. Oct 29, 2016 #33 of 188
    slowbiscuit

    slowbiscuit FUBAR

    4,689
    629
    Sep 19, 2006
    In the ATL
    Thanks for this!! One problem I found (maybe I'm doing it wrong) - can't queue up a bunch of skip point requests for shows by selecting either a group or multiple shows. Have to select each show one by one then hit 'v' which is time-consuming. Also if you try to do more than one show at a time without waiting for each request to finish, none of them get requested correctly (looking at the log window that is).

    Also, small bug - if you hit the 'import skip' button then don't have a file to import, you can't cancel out of the dialog. Have to kill the program.
     
  14. Oct 29, 2016 #34 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    Yes it's designed for only 1 at a time for now.

    That's expected since it's sending remote presses to your TiVo, so doing more than 1 at a time won't work. I suppose I could look into preventing doing more than 1 at once.

    You can just "X" the Skip Share Import window to close it.
     
  15. Oct 29, 2016 #35 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    New kmttg version released to address issues discussed above and add a menu entry to process AutoSkip from SkipMode automatically for all eligible entries. See release notes:
    kmttg / Wiki / release_notes
     
  16. Oct 30, 2016 #36 of 188
    mrizzo80

    mrizzo80 Well-Known Member

    3,272
    594
    Apr 16, 2012
    Thanks for the "W" key update.

    I've noticed a few issues that I'll pass along:
    1.) the "V" and "W" commands tend to leave the TiVo in a weird state after it finishes. (The main menu is missing several options. When I drill into My Shows nothing shows up but a blue spinning circle. I get 501 error dialogs. Sending the HDUI Reset button sequence flushes out whatever the problem is and returns the TiVo to a valid state.) I've seen this happen 3 times.

    2.) I tried the new "W" command. Overall I think it's a great feature that you were able to publish very quickly, but I'd like to report a couple bugs. (It had quite a bit to process - like 65 shows; I'm guessing 20 or so worked.)

    I saw quite a bit of these types of errors across different shows.
    Living Room: Scanning SkipMode cut points for 'Designated Survivor - The Mission'
    rpc Read error - Invalid Padding length: 243
    rpc Auth error - null

    And 1 of these:
    Living Room: Scanning SkipMode cut points for 'This Is Us - The Game Plan'
    rpc Read error - Invalid TLS padding data
    rpc Auth error - null


    3.) I'm not sure if this occurs under just W or both V and W, but the "Partially Watched" smartlist in My Shows appears to fill up with anything this functionality touches. Some look like they've been watched for about a minute and some look like they've been watched for just a few seconds. Is there any way you can force the show back to a 0.00 timestamp so it doesn't put shows into that list?
     
  17. Oct 30, 2016 #37 of 188
    UCLABB

    UCLABB Well-Known Member

    6,189
    1,723
    May 29, 2012
    Riverside, CA
    I tried using the "w" key to do all of the eligible programs on the NPL. It first identified all the programs and listed them It then did a couple, listing the cut points. It then listed a few more, but didn't list the cut points. It then stopped. I then went into the NPL to a program without the "S" and used the "v" key on a program and I got the dialog box asking if I wanted to override existing skip data. If I clicked yes, it then said data removed and set a new table and showed cut points.

    So, some glitches on the global for me.
     
  18. Oct 30, 2016 #38 of 188
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    I haven't seen the glitches reported using my Roamio Pro, but I've only let it do at most 10 programs at once. I run this as programs record so usually one by one. I don't see any side effects in terms of HDUI becoming glitchy after using. mrizzo80, yes certainly if you were getting RPC errors then it seems to imply your TiVo was having a hard time keeping up with all the requests. What model TiVo is it?
     
  19. Oct 31, 2016 #39 of 188
    UCLABB

    UCLABB Well-Known Member

    6,189
    1,723
    May 29, 2012
    Riverside, CA
    Mine is a Roamio Plus. I had a ton of programs with skip, somewhere between a hundred and two hundred, iirc. I suspect trying to start that many playbacks overwhelmed it. Now I guess I have to go one at a time. And, I have to figure out how to get all the partially watched shows off that list and back to virgin.
     
  20. Oct 31, 2016 #40 of 188
    Series3Sub

    Series3Sub Well-Known Member

    1,532
    145
    Mar 14, 2010
    Probably Cheaper and easier for TiVo just to license Echostar patent for its automatic commercial skipping function requiring no intervention from the viewer. That would solve the problem for everyone. :).
     

Share This Page

spam firewall

Advertisements