1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Oct 16, 2013 #5901 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Edit pyTivo.conf and add following to [server] section and then re-start pyTivo:
    tdcat = \full\path\to\tdcat.exe
    tivodecode = \full\path\to\tivodecode.exe
    (or add it via pyTivo web server localhost:9032)

    Or as lpwcomp posted put a copy of tdcat.exe and tivodecode.exe in the pyTivo bin dir.
     
  2. Oct 16, 2013 #5902 of 10413
    az1097

    az1097 New Member

    82
    0
    Apr 3, 2013
    I added the full path for tivocode and tdcat to the global server settings, saved and restarted pyTivo, now there's no warning but an empty file is sent to Tivo.
     
  3. Oct 16, 2013 #5903 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    You need to get pyTivo side working. The kmttg portion is just sending a request to pyTivo that does all the work. So connect to localhost:9032 and try a push from there and if you still have trouble the pyTivo thread or forums is the right place for pyTivo related questions or issues.
    If you are trying to push a TS .TiVo file then that will fail since tivodecode can't handle it properly, but a PULL should work since pyTivo doesn't need tivodecode for that.
     
  4. Oct 17, 2013 #5904 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Also worth noting that a push can't use TS format (it will get reencoded or remuxed), so can't convey captions, at all.
     
  5. Oct 17, 2013 #5905 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    v1p0h version has been released. Highlight of this release is a new Search++ button as part of Remote Search tab that brings up Advanced Search dialog. This allows you to perform advanced searches similar to TiVo wishlists but with extra filtering capabilities such as Favorite channels only or specific channels only. You can save/load search configurations.
    Roamio 20.3.6 software introduced HDUI Wishlists screens which crippled some of the basic non auto record wishlist functionality of the TiVos, and supposedly series 4 units will get that software update soon. So this was my attempt at avoiding having to use that crippled interface for my non auto record wishlists so that all show scheduling can now be done from kmttg. This also has advantage of keeping wishlist setup off the TiVos and portable between them, so one less thing to worry about losing when changing TiVo hardware.

    There are some other enhancements, changes and fixes. Consult release_notes Wiki for all the details.
     
  6. Oct 18, 2013 #5906 of 10413
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I know there were issues at one point, but is it safe to update to the latest java now or are there still problems?
     
  7. Oct 18, 2013 #5907 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Fixed starting with version v1p0f.
     
  8. Oct 18, 2013 #5908 of 10413
    caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    Ok I can not get kmttg auto transfer to run. So far I have uninstalled and installed the service. I also uninstalled kmttg and reinstalled kmttg. When I try to start the service I get this "The kmttg service was launched, but failed to start". I looked under services and tried it there but a pop with this came up "Windows could not start the kmttg service on local computer. Error 1607: the process terminated unexpectedly.
    It was working with Windows 8. This mourning I updated to 8.1. And now I get this error.
    How can I fix this problem with out going back to the old windows 8?
     
  9. Oct 18, 2013 #5909 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Check the relevant kmttg auto.log.# file for any error messages and/or clues. If there aren't any messages then it means Windows is not able to launch kmttg for some reason.
     
  10. Oct 18, 2013 #5910 of 10413
    caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    The only entries is 2013_10_18_17:21:35 NOTE: Killing 'REMOTE NP List' TiVo: CADDY TIVO.
    About 3 years ago I got the same thing or some thing like it but I forgot What I did to get it to work.
     
  11. Oct 18, 2013 #5911 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Looks like something is forcing kmttg to quit (it tries to kill any active jobs before shutting down). Make sure you have the service set to run using your login account and not the system default account.
     
  12. Oct 18, 2013 #5912 of 10413
    reneg

    reneg Member

    699
    0
    Jun 19, 2002
    I love the new search ++ feature added to version v1p0h. Thanks for adding this new feature. Here's a couple suggestions/requests:
    1) Allow search on movieYear metadata. In wishlists, you could have it search on movies with the keyword 2012 and it would return all the movies released in 2012. Maybe I haven't played with search++ enough, but I couldn't get it to do this. It would be great if it allowed the year to be searched in the keyword or in the Original Air Year fields.

    2) In the Advanced Search dialog box, change Show Type to "movie", "special" or "series" to match what is displayed in the Type field of the results.
     
  13. Oct 18, 2013 #5913 of 10413
    BH9244

    BH9244 Member

    119
    0
    Feb 10, 2009
    Updated Java today and since that time I get the following error on most "Remote" functions such as refresh ToDo list,refresh Season Pass's Etc..


    RemoteInit-IP=192.168.1.8 port=1413)java.security.cert CertificateException: Certificates does not conform to algorithm constraints.


    I also get the error after refreshing Now Playing List although that seems to update correctly..
     
  14. Oct 18, 2013 #5914 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Yes there's still some refinement needed. It's actually a lot trickier than you think since I'm using "offerSearch" RPC function along with filters that it has available for the base search, then further filtering those results returned by the RPC call with channel #s and category names if specified. The function seems to require a Title, subtitle or keyword of some sort in order to run, and it doesn't look like "Original Air Year" applies to movies. Your 1st example is something that I'm interested in as well, so I'll have to play with it some more to see if something like that is possible.

    For the "Show types" I'm using the offerSearch "episodic" boolean parameter which can be true, false or if set signifies both types, hence the choices you see there in kmttg.
     
  15. Oct 18, 2013 #5915 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Update to latest kmttg to fix the problem.
     
  16. Oct 18, 2013 #5916 of 10413
    caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    I got the problem fixed. I updated java from 7.25 to 7.45 and that when the service stopped. Uninstalled jav7.45 and installed 7.40 and the service started to work again. This is running kmttg v1p0h. Will find out tomorrow if down loads or not
     
  17. Oct 19, 2013 #5917 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    OK, some progress.

    * There is indeed a "collectionType" parameter which works better than the "episodic" parameter I was using. Types are movie, music, series, special. So I replaced the "Show Type" field in kmttg with a new "Genre" field that has those types as settings in addition to ALL.

    * I discovered there is a "titleKeyword" parameter that I didn't know about previously, so I've added a "Title keyword" field which accepts keywords in addition to the existing "Title" field which matches the whole title.

    * I changed "Original Air Year" field to "Year" and changed the behavior. If Genre is set to anything but "movie" it will use "originalAirYear" parameter as part of the search as before. However when Genre is set to "movie" then kmttg will not use the "originalAirYear" parameter but will post filter results of the search to match "movieYear" entry instead (since movie entries don't contain "originalAirYear" entry).

    Please try the kmttg.jar in the given beta version (Google Drive link):
    https://docs.google.com/file/d/0B0SMFC97ymdEbHlpTDhQTkc4clk/edit?usp=sharing

    NOTE: It's still necessary to provide at minimum keywords of some sort for a search to work, but I was able to search for movies restricted to year 2012 with the following setup with the above version:
    Keywords = a*
    Year = 2012
    Genre = movie
    Recording types = both

    NOTE: When using very generic keywords that match pretty much every entry such as above I frequently get "RPC error response: middlemindError" messages. But for above setting the original search returns around 300+ entries which then filtered down to about 24 matches with the movieYear filter applied. All entries seem to have "a" character in the main title however, so it looks like perhaps even though Keyword="a*" is supposed to match title, subtitle or description that it may be filtering just based on title, so a better way to search all movies is still needed.

    So I think it's an improvement but perhaps still some further tweaking needed.
     
  18. Oct 19, 2013 #5918 of 10413
    reneg

    reneg Member

    699
    0
    Jun 19, 2002
    I downloaded the beta build. Haven't run into any issues yet. I cranked up max search results to 800, and used a more generic search that seemed to work ok:
    Keywords = <blank>
    Year = 2012
    Genre = movie
    Recording types = HD
    Favorite channels only - checked

    I got a less than 200 responses and no errors. Trying other searches
     
  19. Oct 19, 2013 #5919 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    OK, here's an improved version which is quite an overhaul and that doesn't require any keywords to be set as long as you have a category selected or Genre=movie:
    https://docs.google.com/file/d/0B0SMFC97ymdEN21iZ0czSkp2a1E/edit?usp=sharing

    It does need to talk to middlemind.tivo.com now though to get category IDs so requires your tivo.com username & password to be set in kmttg to work if you are going to use Category or Genre movie filters. (If you don't have them set then you can do so under config->Tivos tab). This includes categoryId filter in the base/initial search now instead of filtering after the fact. In general this should yield faster and more reliable results.

    I'm not sure how previous version was working for you without setting any keywords.
     
  20. Oct 19, 2013 #5920 of 10413
    reneg

    reneg Member

    699
    0
    Jun 19, 2002
    On the previous beta build, if I selected Favorite channels only, it didn't require a keyword, but when I switched to Received channels only, the search would not work without a keyword.

    After updating to the next beta build, here are a couple things I noticed.
    1) Finds programs that are in the past. For example, today is Saturday, the search is finding programs for the previous two days; Thursday & Friday. Would be nice to start with current time if possible.

    2) Search results display only one occurrence of a program where the previous version found multiple repeats of a program. I actually like this vs the previous behavior as you can get show info (I) and then arrow down through the list. With the previous version, you have to traverse down and back through the hierarchy to see show info.

    3) In you enter multiple search years, it only displays the results from the first year.

    Also, this version is faster returning results which is nice.
     

Share This Page