TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 08-09-2012, 08:13 AM   #4231
kpeters59
Registered User
 
Join Date: Jun 2007
Posts: 25
Java 7

Quote:
Originally Posted by moyekj View Post
I have not tried Java 7 so no idea if there are any issues but certainly seems like that's the case. I still compile to be Java 5 compatible since Apple OS tends to lag way behind on the Java front.

It worked for quite a while, apparently with Java 7, until I stopped it because the files weren't playing properly. When I started troubleshooting, there was a Java 7 32&64 install listed in Programs and Features. There was a Java 6 folder in the (x86) folder, but it was empty and 6 was not listed in P&F's.

For this machine, I can't think of a reason why I'd need 7, so I'll leave well enough alone. I do still have 100 or so shows needing to be QS Fix'd...

This software is amazingly fantastic. Thanks again for making it and keeping it working and for all your work improving it.




-Kyle


And my 'log' is working again.

Last edited by kpeters59 : 08-09-2012 at 08:55 AM. Reason: Minor additional info.
kpeters59 is offline   Reply With Quote
Old 08-13-2012, 03:07 AM   #4232
spammsmcghee
Registered User
 
Join Date: Feb 2010
Posts: 14
"Problem writing to config file"

I'm trying to get KMTTG set up on a new computer. I transferred the Program Files folder from my old computer to the new one, and when I tried to use it, I got the message: Problem writing to config file.... I assumed this was because I couldn't just start using it from the old files that were transferred, so I downloaded it fresh from the website. I started it up again from the new download, and I got the same message after it found my Tivos (see pic). I searched through the Wiki and didn't see any entries related to this. Please help.
Attached Images
File Type: jpg Untitled.jpg (21.9 KB, 8 views)
spammsmcghee is offline   Reply With Quote
Old 08-13-2012, 03:11 AM   #4233
ThAbtO
TiVoholic by the bay
 
ThAbtO's Avatar
 
Join Date: Apr 2000
Location: SF Bay Area
Posts: 3,671
Quote:
Originally Posted by spammsmcghee View Post
I'm trying to get KMTTG set up on a new computer. I transferred the Program Files folder from my old computer to the new one, and when I tried to use it, I got the message: Problem writing to config file.... I assumed this was because I couldn't just start using it from the old files that were transferred, so I downloaded it fresh from the website. I started it up again from the new download, and I got the same message after it found my Tivos (see pic). I searched through the Wiki and didn't see any entries related to this. Please help.
When you moved KMTTG, you must have placed it in a different folder on the new computer. You could try to re-configure KMTTG for the new folder. Also, it appears you are running it from the .zip file.
__________________
S1 (Recycle heaven)
Series 2 (PLS)
TiVo HD 1Tb (OTA, PLS)

Do the 3 R's to be GREEN, Reuse/Recycle/Recharge and RECHARGE the earth!!

The TiVo Apocalypse begins on Sat 2013 Feb 16 00:00 GMT!

Last edited by ThAbtO : 08-13-2012 at 03:18 AM.
ThAbtO is offline   Reply With Quote
Old 08-13-2012, 03:38 AM   #4234
spammsmcghee
Registered User
 
Join Date: Feb 2010
Posts: 14
Quote:
Originally Posted by ThAbtO View Post
When you moved KMTTG, you must have placed it in a different folder on the new computer. You could try to re-configure KMTTG for the new folder. Also, it appears you are running it from the .zip file.
As I said, I downloaded and installed a fresh copy, and the latest version. So the folder location shouldn't be an issue. I'm not running it from the zip file. What you see in the pic is where it downloaded the Win32_tools zip, but then it says it can't find it. I downloaded it seperately and extracted it to the KMTTG folder, but it still says it can't find the files. I thought I'd address that issue later.
spammsmcghee is offline   Reply With Quote
Old 08-13-2012, 03:39 AM   #4235
kpeters59
Registered User
 
Join Date: Jun 2007
Posts: 25
Quote:
Originally Posted by spammsmcghee View Post
I'm trying to get KMTTG set up on a new computer. I transferred the Program Files folder from my old computer to the new one, and when I tried to use it, I got the message: Problem writing to config file.... I assumed this was because I couldn't just start using it from the old files that were transferred, so I downloaded it fresh from the website. I started it up again from the new download, and I got the same message after it found my Tivos (see pic). I searched through the Wiki and didn't see any entries related to this. Please help.

Also, you may need to check the 'properties' of the file/folder.

Did you put the moved folder in \Program Files and not \Program Files (x86)?

-KP
kpeters59 is offline   Reply With Quote
Old 08-13-2012, 03:51 AM   #4236
spammsmcghee
Registered User
 
Join Date: Feb 2010
Posts: 14
Quote:
Originally Posted by kpeters59 View Post
Also, you may need to check the 'properties' of the file/folder.

Did you put the moved folder in \Program Files and not \Program Files (x86)?

-KP
I actually have one in each. The one I transferred from the old computer is in Program Files. The fresh download is in the x86 folder.
spammsmcghee is offline   Reply With Quote
Old 08-13-2012, 03:57 AM   #4237
spammsmcghee
Registered User
 
Join Date: Feb 2010
Posts: 14
Quote:
Originally Posted by spammsmcghee View Post
I actually have one in each. The one I transferred from the old computer is in Program Files. The fresh download is in the x86 folder.
Disregard. I just got it working, although I really don't understand why or how. I moved the old folder to my desktop, which is where it was located on the old computer. It is working now. I just don't understand why the fresh download didn't work. It shouldn't have had any old settings/configuration linked to it. Thanks for the help anyway.
spammsmcghee is offline   Reply With Quote
Old 08-13-2012, 03:59 AM   #4238
kpeters59
Registered User
 
Join Date: Jun 2007
Posts: 25
Quote:
Originally Posted by spammsmcghee View Post
I actually have one in each. The one I transferred from the old computer is in Program Files. The fresh download is in the x86 folder.
Did you check to make sure that the file 'properties' aren't set to read only, or that the 'security' settings of the files will allow your 'new' user to R/W to it?
kpeters59 is offline   Reply With Quote
Old 08-13-2012, 04:08 AM   #4239
spammsmcghee
Registered User
 
Join Date: Feb 2010
Posts: 14
Quote:
Originally Posted by kpeters59 View Post
Did you check to make sure that the file 'properties' aren't set to read only, or that the 'security' settings of the files will allow your 'new' user to R/W to it?
That was it. I hate Windows! Now that I got the new version to work also, is there a way to import the Auto Transfers list from the old version to the new one so I don't have to add all of them again?
spammsmcghee is offline   Reply With Quote
Old 08-13-2012, 04:16 AM   #4240
kpeters59
Registered User
 
Join Date: Jun 2007
Posts: 25
Quote:
Originally Posted by spammsmcghee View Post
That was it. I hate Windows! Now that I got the new version to work also, is there a way to import the Auto Transfers list from the old version to the new one so I don't have to add all of them again?
I think there's some settings stored in your user/roaming folder. Not too sure.
kpeters59 is offline   Reply With Quote
Old 08-13-2012, 04:43 AM   #4241
spammsmcghee
Registered User
 
Join Date: Feb 2010
Posts: 14
Quote:
Originally Posted by kpeters59 View Post
I think there's some settings stored in your user/roaming folder. Not too sure.
It's the auto.ini file in the kmttg folder. I copied the old one and pasted into the new folder, and it worked.
spammsmcghee is offline   Reply With Quote
Old 08-18-2012, 12:17 AM   #4242
lrhorer
Registered User
 
Join Date: Aug 2003
Location: San Antonio, Texas, USA
Posts: 6,806
Quote:
Originally Posted by lpwcomp View Post
The first one obviously is the failure to download. Have you tried setting the "Treat each recording as unique" checkbox?
OK, I looked for this, and I cannot find such a checkbox anywhere in the config section. Where is it?

Quote:
Originally Posted by lpwcomp View Post
Of course, this will lead to your second problem: file name collision. You could probably remedy this by adding [hour] and [min] to the file name template but of course since this is currently a global setting, it will apply to all of your downloads.
No, I looked into this, too, and doing so would produce a horrible mess. The primary issue is the output from kmttg produces a bunch of files, and handling each one in my scripts with the additional hour and minute, even when stuck in the least obtrusive place would require a lot of fiddling script changes. I could do it, of course, but it would take far more time than it is worth. For example:

Code:
dirName=${fileName%/*}
stubName=${shortName%.mp[4g]*}
PrjName=$stubName.VPrj
prjName=$stubName.Vprj
fileType=.mpg
echo $shortName | grep -q .mp4 && fileType=.mp4
echo

cd /usr/share/pyTivo/Unverified
[ -a "$shortName" ] && rm "$shortName"
[ -a "$shortName.txt" ] && rm "$shortName.txt"

cd "$metaDir"
[[ -a "$stubName.mpg.txt" ]] && mv "$stubName.mpg.txt" "$fileName.txt"
rm -f "$PrjName" "$prjName" "$shortName" "$stubName.mpg" "$stubName.edl" "$stubName.log" "$stubName.logo.txt" "$stubName.mpg.Xcl"

cd "$metaTDir"
rm -f "$stubName.TiVo.txt"
$fileName and $shortName are the fully qualified and unqualified name of the final video file on the server, which would not contain the [hour] and [min] string, but do contain the extension. Inserting [hour] and [min] anywhere in the middle of those strings for the comparisons above would be very doable, but also very messy. That is just one example, though. There are lots of similar, but unique, issues with monkeying with the existing name structure in the scripts. The differences between

<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).mp[4g] <= $shortName
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).mpg.txt
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).VPrj
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).mp[4g].jpg
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).epl
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).mpg.Xcl
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).TiVo.txt

and

<Title> (Recorded <dow> <mon> <day>, <year>, <channel>).mp[4g] <= $shortName
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.mpg
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.mpg.txt
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.VPrj
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.mp[4g].jpg
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.epl
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.mpg.Xcl
<Title> (Recorded <dow> <mon> <day>, <year>, <channel>)<hour><min>.TiVo.txt

are a bit intricate, especially when <Title> (Recorded <dow> <mon> <day> <year>, <channel>) is a key element but <Title> (Recorded <dow> <mon> <day> <year>, <channel>)<hour><min> is not. The fact $shortName and $stubName are no longer unique WRT the <hour><min> embedded files also throws grit into the gears.

Last edited by lrhorer : 08-18-2012 at 12:50 AM.
lrhorer is offline   Reply With Quote
Old 08-18-2012, 12:59 AM   #4243
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 6,811
Quote:
Originally Posted by lrhorer View Post
OK, I looked for this, and I cannot find such a checkbox anywhere in the config section. Where is it?
It's part of auto transfers configuration form.
__________________
Elite + Mini (Internal MoCA)
Premiere (Ethernet)
Cox headend with Motorola CableCards & TAs

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-18-2012, 10:23 AM   #4244
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 3,321
Quote:
Originally Posted by lrhorer View Post
OK, I looked for this, and I cannot find such a checkbox anywhere in the config section. Where is it?
And based on what appears to be actually happening (file name collisions) rather than what you originally thought was happening ( recordings not being processed by kmttg), it wouldn't do anything for you anyway.

Your problem is two or more episodes of the same series with the same episode title shown on the same day. You have to add something to the file name to prevent collisions.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 08-18-2012, 06:28 PM   #4245
lrhorer
Registered User
 
Join Date: Aug 2003
Location: San Antonio, Texas, USA
Posts: 6,806
Oh, OK, I found it. It's in the auto transfer config.

Edit: Oh, yeah, I just saw moyekj's post. I had already stumbled across it, but thanks for the reply.

Quote:
Originally Posted by lpwcomp View Post
And based on what appears to be actually happening (file name collisions) rather than what you originally thought was happening ( recordings not being processed by kmttg)
No, no. The second recording is definitely not being processed. Kmttg is set to delete the recordings after processing, so one is deleted and one remains on the TiVo, because the first already resides on the server. Unless, of course, that is what you mean by a file name collision, since it is of a sort just that, but kmttg terms it "skipping":

Code:
2012_08_18_16:52:39 START PROCESSING OF ENTRY: JAG - Adrift
2012_08_18_16:52:51 >> CREATING \\RAID-Server\Server-Main\Movies\TiVo_HD\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).TiVo.txt ...
2012_08_18_16:52:53 ---DONE--- job=metadata output=\\RAID-Server\Server-Main\Movies\TiVo_HD\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).TiVo.txt
2012_08_18_16:53:05 >> CREATING \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg.txt ...
2012_08_18_16:53:07 ---DONE--- job=metadata output=\\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg.txt
2012_08_18_16:53:19 >> DOWNLOADING/DECRYPTING TO \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg ...
2012_08_18_16:53:19 "C:\Program Files (x86)\kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar "C:\WINDOWS\TEMP\cookie3743762314352028481.tmp" --url "http://192.168.1.102:80/download/JAG.TiVo?Container=%2FNowPlaying&id=5834761" | "C:\Program Files (x86)\kmttg\tivodecode\tivodecode.exe" --mak MAK --no-verify --out "\\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg" -
2012_08_18_17:29:04 NOTE: \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg: size=5323.07 MB elapsed=0:35:45 (20.82 Mbps)
2012_08_18_17:29:04 ---DONE--- job=download_decrypt output=\\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg
2012_08_18_17:29:07 >> Running comskip on \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg ...
2012_08_18_17:29:07 "C:\Program Files (x86)\kmttg\comskip\comskip.exe" --ini "C:\Program Files (x86)\kmttg\comskip\comskip.ini" --videoredo "\\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg" 
2012_08_18_17:43:37 ---DONE--- job=comskip output=\\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).VPrj
2012_08_18_17:54:01 START PROCESSING OF ENTRY: JAG - Adrift
2012_08_18_17:54:15 NOTE: SKIPPING METADATA GENERATION, FILE ALREADY EXISTS: \\RAID-Server\Server-Main\Movies\TiVo_HD\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).TiVo.txt
2012_08_18_17:54:15 NOTE: SKIPPING METADATA GENERATION, FILE ALREADY EXISTS: \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg.txt
2012_08_18_17:54:27 NOTE: SKIPPING DOWNLOAD/DECRYPT, FILE ALREADY EXISTS: \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).mpg
2012_08_18_17:54:29 NOTE: SKIPPING COMSKIP, FILE ALREADY EXISTS: \\RAID-Server\Server-Main\Movies\TiVo_MPG\JAG - Adrift (Recorded Wed Jul 25, 2012, AXSTV).VPrj
Whether one deems "skipping" to constitute processing or not, the fact is kmttg only transfers and deletes one of the files but does nothing other than take note of the second and decline to transfer, decrypt, and delete it. That is what I meant by "not being processed by kmttg".

Quote:
Originally Posted by lpwcomp View Post
Your problem is two or more episodes of the same series with the same episode title shown on the same day. You have to add something to the file name to prevent collisions.
Given the small number of remaining cases where this will be an issue, it's just going to be easier to manually move the first downloads to temporary file names and manage the rest by hand. It's still a pain, but a lot less so than digging back through all the scripts.

Last edited by lrhorer : 08-18-2012 at 06:40 PM.
lrhorer is offline   Reply With Quote
Old 08-18-2012, 11:34 PM   #4246
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 3,321
Quote:
Originally Posted by lrhorer View Post
No, no. The second recording is definitely not being processed. Kmttg is set to delete the recordings after processing, so one is deleted and one remains on the TiVo, because the first already resides on the server. Unless, of course, that is what you mean by a file name collision, since it is of a sort just that, but kmttg terms it "skipping":
That's because you don't have the "Overwrite existing files" box checked, so yes, the skipping is the result of file name collision. It's a good thing you didn't have that option selected. Otherwise, the second episode would have wiped out the first.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 08-18-2012, 11:38 PM   #4247
ThAbtO
TiVoholic by the bay
 
ThAbtO's Avatar
 
Join Date: Apr 2000
Location: SF Bay Area
Posts: 3,671
Quote:
Originally Posted by lpwcomp View Post
That's because you don't have the "Overwrite existing files" box checked, so yes, the skipping is the result of file name collision. It's a good thing you didn't have that option selected. Otherwise, the second episode would have wiped out the first.
That's the reason I use [year].[month].[date].[hour].[min] in my filename scheme.
__________________
S1 (Recycle heaven)
Series 2 (PLS)
TiVo HD 1Tb (OTA, PLS)

Do the 3 R's to be GREEN, Reuse/Recycle/Recharge and RECHARGE the earth!!

The TiVo Apocalypse begins on Sat 2013 Feb 16 00:00 GMT!
ThAbtO is offline   Reply With Quote
Old 08-19-2012, 06:17 AM   #4248
lrhorer
Registered User
 
Join Date: Aug 2003
Location: San Antonio, Texas, USA
Posts: 6,806
Quote:
Originally Posted by lpwcomp View Post
That's because you don't have the "Overwrite existing files" box checked
That is, of course, deliberate.

Quote:
Originally Posted by lpwcomp View Post
so yes, the skipping is the result of file name collision. It's a good thing you didn't have that option selected. Otherwise, the second episode would have wiped out the first.
Obviously, and in that case the show would be gone from both the Tivo and the server.
lrhorer is offline   Reply With Quote
Old 08-19-2012, 06:21 AM   #4249
lrhorer
Registered User
 
Join Date: Aug 2003
Location: San Antonio, Texas, USA
Posts: 6,806
Quote:
Originally Posted by ThAbtO View Post
That's the reason I use [year].[month].[date].[hour].[min] in my filename scheme.
See above. Adding anything non-permanent to the file name would seriously muck up my processing scripts. As I said, for the six or seven pairs of remaining two part, identically named episodes, I'll just have to handle it manually.
lrhorer is offline   Reply With Quote
Old 08-19-2012, 11:32 AM   #4250
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 3,321
Quote:
That's because you don't have the "Overwrite existing files" box checked
Quote:
Originally Posted by lrhorer View Post
That is, of course, deliberate.


Obviously, and in that case the show would be gone from both the Tivo and the server.
The bottom line for this particular sub-thread is that kmttg behaved properly.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 08-19-2012, 10:47 PM   #4251
terrio
Registered User
 
Join Date: Feb 2009
Posts: 2
I have just downloaded and installed kmttg on my Mac Mini, running OS 10.8. It successfully downloaded the additional tools and allowed me to set my MAK code. But every time I try to run it, I get the following JAVA error message in the kmttg window:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at javax.jmdns.impl.JmDNSImpl.toUnqualifiedName(JmDNSImpl.java: 1461)
at javax.jmdns.impl.JmDNSImpl.updateRecord(JmDNSImpl.java:933)
at javax.jmdns.impl.JmDNSImpl.handleResponse(JmDNSImpl.java:102 5)
at javax.jmdns.impl.SocketListener.run(SocketListener.java:68)
at java.lang.Thread.run(Thread.java:680)


Any suggestions? I would really like to be able to use this; it looks awesome....
terrio is offline   Reply With Quote
Old 08-20-2012, 01:16 AM   #4252
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 6,811
Quote:
Originally Posted by terrio View Post
I have just downloaded and installed kmttg on my Mac Mini, running OS 10.8. It successfully downloaded the additional tools and allowed me to set my MAK code. But every time I try to run it, I get the following JAVA error message in the kmttg window:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at javax.jmdns.impl.JmDNSImpl.toUnqualifiedName(JmDNSImpl.java: 1461)
at javax.jmdns.impl.JmDNSImpl.updateRecord(JmDNSImpl.java:933)
at javax.jmdns.impl.JmDNSImpl.handleResponse(JmDNSImpl.java:102 5)
at javax.jmdns.impl.SocketListener.run(SocketListener.java:68)
at java.lang.Thread.run(Thread.java:680)


Any suggestions? I would really like to be able to use this; it looks awesome....
There's no kmttg code being shown in the stack trace so doesn't pinpoint the problem. However it looks to be Bonjour related issue so you can try switching to TiVo Beacon instead:
File-Configure-TiVo-Detect with TiVo Beacon instead of Bonjour

Alternatively you can just turn off TiVo detection completely and manually specify TiVo IP & name:
Disable "Look for Tivos on network"
__________________
Elite + Mini (Internal MoCA)
Premiere (Ethernet)
Cox headend with Motorola CableCards & TAs

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-20-2012, 01:36 AM   #4253
terrio
Registered User
 
Join Date: Feb 2009
Posts: 2
Quote:
Originally Posted by moyekj View Post
There's no kmttg code being shown in the stack trace so doesn't pinpoint the problem. However it looks to be Bonjour related issue so you can try switching to TiVo Beacon instead:
File-Configure-TiVo-Detect with TiVo Beacon instead of Bonjour

Alternatively you can just turn off TiVo detection completely and manually specify TiVo IP & name:
Disable "Look for Tivos on network"
"Detect with TiVo Beacon instead of Bonjour" did the trick, thanks!
terrio is offline   Reply With Quote
Old 08-20-2012, 02:12 AM   #4254
lrhorer
Registered User
 
Join Date: Aug 2003
Location: San Antonio, Texas, USA
Posts: 6,806
Quote:
Originally Posted by lpwcomp View Post
The bottom line for this particular sub-thread is that kmttg behaved properly.
Well, yes, of course, or at east as expected. I never said it didn't.
lrhorer is offline   Reply With Quote
Old 08-20-2012, 11:44 PM   #4255
mattack
Registered User
 
Join Date: Apr 2001
Location: sunnyvale
Posts: 13,827
With visual set to "Mac OS X" in the preferences, when I first try to bring up configuration, I get:


java.lang.NullPointerException
at apple.laf.CUIAquaComboBox$1.itemStateChanged(CUIAquaComboBox .java:76)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:11 62)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:121 9)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1266)
at javax.swing.AbstractListModel.fireContentsChanged(AbstractLi stModel.java:100)
at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComb oBoxModel.java:88)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:551)
at com.tivo.kmttg.gui.configMain.read(configMain.java:763)
at com.tivo.kmttg.gui.configMain.display(configMain.java:144)
at com.tivo.kmttg.gui.gui$21.actionPerformed(gui.java:834)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButto n.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractB utton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBu ttonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel .java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItem UI.java:1050)
at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased (BasicMenuItemUI.java:1091)
at java.awt.Component.processMouseEvent(Component.java:5617)
at javax.swing.JComponent.processMouseEvent(JComponent.java:312 9)
at java.awt.Component.processEvent(Component.java:5382)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4083)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3918)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container. java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.j ava:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java: 3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3918)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:501)
at java.awt.EventQueue.access$000(EventQueue.java:80)
at java.awt.EventQueue$1.run(EventQueue.java:462)
at java.awt.EventQueue$1.run(EventQueue.java:461)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege (AccessControlContext.java:84)
at java.security.AccessControlContext$1.doIntersectionPrivilege (AccessControlContext.java:95)
at java.awt.EventQueue$2.run(EventQueue.java:476)
at java.awt.EventQueue$2.run(EventQueue.java:475)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege (AccessControlContext.java:84)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:473)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventD ispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis patchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread. java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread. java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:11 0)
mattack is offline   Reply With Quote
Old 08-21-2012, 02:22 AM   #4256
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 6,811
Quote:
Originally Posted by mattack View Post
With visual set to "Mac OS X" in the preferences, when I first try to bring up configuration, I get:
Yes, not much I can do about it really. As usual Apple likes to do things differently than everyone else for Java. Note that you get Mac OS X interface by default without choosing it so if that's what you want best to just set it to default then re-start kmttg.
__________________
Elite + Mini (Internal MoCA)
Premiere (Ethernet)
Cox headend with Motorola CableCards & TAs

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-27-2012, 12:14 AM   #4257
bwall23
Registered User
 
Join Date: Jun 2009
Posts: 73
Adding programId to metadata

How difficult would it be to add the programId to the metadata file that kmttg generates. Could it be added as an option?
See post in pytivo thread from lpwcomp
bwall23 is offline   Reply With Quote
Old 08-27-2012, 01:43 AM   #4258
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 6,811
Quote:
Originally Posted by bwall23 View Post
How difficult would it be to add the programId to the metadata file that kmttg generates. Could it be added as an option?
See post in pytivo thread from lpwcomp
Not too hard. Is this the field name syntax for programId as in sample below?
Code:
programId : SH011029750000

__________________
Elite + Mini (Internal MoCA)
Premiere (Ethernet)
Cox headend with Motorola CableCards & TAs

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-27-2012, 10:08 AM   #4259
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 3,321
Quote:
Originally Posted by bwall23 View Post
How difficult would it be to add the programId to the metadata file that kmttg generates. Could it be added as an option?
See post in pytivo thread from lpwcomp
Bear in mind that the pyTiVo TvBus.tmpl has to be modified in order for it to be sent to the TiVo.

Quote:
Originally Posted by moyekj View Post
Not too hard.
Probably easier for you than it was for me. Wasn't really that hard for me, I just had to modify the code a bit more than I anticipated.

Quote:
Originally Posted by moyekj View Post
Is this the field name syntax for programId as in sample below?
Code:
programId : SH011029750000
Yes, that is the correct syntax. Example of one that currently works:
Code:
programId : EP009311820044
(The example is for Sea 3 Ep 1 of "The Big Bang Theory".)
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 08-27-2012, 11:43 AM   #4260
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 6,811
lpwcomp, I already have the necessary updates checked into source if you want to review or test it out (for both metadata from shows still on TiVo as well as from .TiVo files). Obtaining from .TiVo was a little tricky as "uniqueId" is used for both seriesId and programId in the tivodecode xml dump but from my short testing I think it's working there as well. I did notice the .TiVo file programID is not front padded with zeros so for example instead of "EP009311820044" you get "EP9311820044". Don't know if the leading zeros are important or not from TiVo point of view? I could add additional code to front pad number part with zeros to maintain a minimum number length if needed.
__________________
Elite + Mini (Internal MoCA)
Premiere (Ethernet)
Cox headend with Motorola CableCards & TAs

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 07:10 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |