My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 198: iTiVo has multiple failures in OS X Mountain Lion
89 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  tony1ath...@gmail.com
Closed:  Dec 2012


 
Reported by caut...@cautionroadiecrossing.com, May 7, 2012
What Version of iTiVo?
iTiVo-beta-20120426.dmg	

What Version of MacOS X?
10.8 update 3

What download format did you select?
DMG

What steps will reproduce the problem?
1. Open iTiVo
2. Open Preferences


Please provide any additional information below.
These errors render iTiVo useless.

I have attached screenshots of the errors.

Here is the log entry from Console:

5/7/12 5:08:32.241 PM iTiVo[1341]: " =========== Starting =========="
5/7/12 5:08:32.257 PM iTiVo[1341]: "mDNS -B _tivo-videos._tcp local | colrm 1 74| grep -v 'Instance Name' |sort | uniq & 
sleep 2
killall mDNS"
5/7/12 5:08:36.903 PM iTiVo[1341]: "killed : "
5/7/12 5:08:40.269 PM iTiVo[1341]: "getFormatsNames"
5/7/12 5:08:43.300 PM iTiVo[1341]: "write_settings"
5/7/12 5:08:44.727 PM iTiVo[1341]: "killed : "

launch error.jpg
20.2 KB   View   Download
preferences error.jpg
16.5 KB   View   Download
May 19, 2012
#1 mbrenner...@gmail.com
sudo ln -s /usr/bin/dns-sd /usr/bin/mDNS
in Terminal is a quick workaround.
May 19, 2012
#2 mbrenner...@gmail.com
In addition, in curlSize.pl, add another <CURLFILE>; while the file is open. This should get it in sync.
Jun 6, 2012
Project Member #3 tony1ath...@gmail.com
Thanks for the report.  I don't have Mountain Lion available yet...

Owner: tony1ath...@gmail.com
Aug 4, 2012
#4 drew.mos...@gmail.com
The mDNS executable no longer exists and the output from dns-sd is radically different.  This patch gets at least basic functionality using dns-sd.  I'm sure there are many latent issues but at least I can connect and download using this patch.
mountain-lion-patch.txt
3.4 KB   View   Download
Aug 7, 2012
#6 goo...@glenalmond.us
Can someone explain how to apply the mountain lion patch mentioned above?
Aug 7, 2012
Project Member #7 tony1ath...@gmail.com
If you're desperate, you can check out a copy of the source code and use 'patch' to apply the diff.  However, the easier thing to do is to let me try it out and issue a new release.

Aug 7, 2012
#8 drew.mos...@gmail.com
Hi Tony.  Just FYI, this patch should still work on Lion as well since the dns-sd executable exists there as well.
Aug 7, 2012
Project Member #9 tony1ath...@gmail.com
Thanks.  I already noticed that.  I'll try to do a regression check on Lion and mebbe Snow Leopard as well.

Aug 8, 2012
#10 grant.doug
I realize a patch is pending. Just a comment on the temporary fix “sudo ln -s /usr/bin/dns-sd /usr/bin/mDNS”.

On my Mountain Lion mac, that does remove the explicit error, yet the actual transfer of the video from iTivo to the Mac hangs - no download will be executed.
Aug 8, 2012
#11 grant.doug
There is a download workaround. Go to https://your.tivo.ip.address, and login using username tivo and password your Tivo media access key. A html will render showing all your Tivo media. Click on them, and download. The file will still have to be decoded with a copy of Tivo decode.
Aug 8, 2012
#12 drew.mos...@gmail.com
HI Grant, running that "sudo ln" command is insufficient.  All that does is force iTiVo to use the existing dns-sd command using the old name.  However the output from that command is quite a bit different from what mDNS would produce so the patch is to be able to support the output format from the dsn-sd command.
Aug 8, 2012
#15 vasa1...@gmail.com
I tried the patch from drew. Still have the same startup popups.
Can some one apply the patch and make a new release please?


Aug 8, 2012
Project Member #16 tony1ath...@gmail.com
I'll try to do that this weekend.

Aug 8, 2012
Project Member #17 tony1ath...@gmail.com
 Issue 202  has been merged into this issue.
Aug 8, 2012
Project Member #18 tony1ath...@gmail.com
 Issue 203  has been merged into this issue.
Aug 8, 2012
Project Member #19 tony1ath...@gmail.com
 Issue 207  has been merged into this issue.
Aug 8, 2012
Project Member #20 tony1ath...@gmail.com
 Issue 204  has been merged into this issue.
Aug 8, 2012
#21 vasa1...@gmail.com
Thanks Tony. I look forward to it. 
iTiVo is well done in hiding the complexities 
of video transfer from TiVo and decoding.
I use it regularly.

Aug 8, 2012
#22 jonathan...@gmail.com
Thanks.  I use it all the time and feel stuck without iTivo
Aug 11, 2012
#23 Bray90...@gmail.com
thank you i relie on iTivo to transfer all of my Tivo recordings 
Aug 11, 2012
#26 growltig...@gmail.com
Running Mountain Lion.  Did the link to mDNS so I got past that error.  Now this may be a new issue, so I apologize in advance for bringing it to this thread, but once I select a program to download, the reported download time is interminable.  For example, for a 24gb program file, iTiVo (1.7.7b3) reports it will need 462,275 h, 27m to complete a Decrypt download job.  I checked the destination folder and it the download started but appears to have halted at just over 100mb.  I will try to do the direct from TiVo download and see who wins the race.  (If no one complains I will follow up here.)
Aug 11, 2012
Project Member #27 tony1ath...@gmail.com
 Issue 208  has been merged into this issue.
Aug 11, 2012
Project Member #28 tony1ath...@gmail.com
Drew,

I tried your patch and unfortunately, it does NOT work on Lion.  ;-(  The script that you provide for extracting IP addresses doesn't quite work.  I suspect that the output format of dns-sd has changed.  As I don't have a Lion system yet, I can't help debug this.  Do you have an earlier system?

If it helps, when I invoke dns-sd manually, I get:

dns-sd -L 'TiVo HD' _tivo-videos._tcp local
Lookup TiVo HD._tivo-videos._tcp.local
23:22:14.320  TiVo\032HD._tivo-videos._tcp.local. can be reached at DVR-C1AB.local.:443 (interface 5)
 protocol=https path=/TiVoConnect\?Command=QueryContainer\&Container=%2FNowPlaying swversion=20.2.1.2-01-2-746 platform=tcd/Series4 TSN=74600019061C1AB

This is very, very different than my mDNS output.

Aug 12, 2012
#29 drew.mos...@gmail.com
Hi Tony,
I do have a Lion system but unfortunately at this moment it is at the Apple Store getting a new LCD panel installed.  I will try this again when I get that system back online.

I wonder if it might be better to split this parsing out into an external perl script now that it is getting more complex.

My other concern is the dns-sd output if there are multiple TiVo's available.  I only have one so I cannot test that.
Aug 12, 2012
Project Member #30 tony1ath...@gmail.com
Drew, I'm amenable to a variety of approaches to fixing it.  My main constraint is that it needs to support both Lion and pre-Lion systems.  I have multiple TiVo's, so can test that and may get the Lion upgrade in a few months.  I can do the pre-Lion testing for you now.

Aug 13, 2012
#32 grant.doug
I have Mountain Lion, would you please explain how to apply the transfer patch using the easiest possible method - or make a download patched app available privately? I have already implemented the terminal command which restores the start up menu problem. I’m referring to the inability to actually decode and transfer the .tivo files in ML.
Aug 13, 2012
#33 EthanThe...@aol.com
Please, will someone explain an easy fix to get iTivo to work on Mountain Lion? Will there be a new iTivo release soon? I really miss using it!
Aug 13, 2012
#34 EthanThe...@aol.com
In the mean time, this link seems very helpful. I haven't tried it yet.

http://macithelp.blogspot.com/2012/07/tivo-to-mac-mountain-lion-edition.html
Aug 13, 2012
#35 grant.doug
ethan that is actually not helpful, as the tivodecode version required in that article is several years old and doesn’t run on my somewhat recent Macbook Pro Intel Quad. 

Aug 13, 2012
#36 grant.doug
repeat, why no response? Was supposed to have ML patch over the weekend to try. " I have Mountain Lion, would you please explain how to apply the transfer patch using the easiest possible method - or make a download patched app available privately? I have already implemented the terminal command which restores the start up menu problem. I’m referring to the inability to actually decode and transfer the .tivo files in ML.”
For those of us with limited Tivo disk, we are experiencing the loss of our recordings during the Olympics, no disc space. HELP
Aug 13, 2012
#37 da...@usrkba.org
http://macithelp.blogspot.com/2012/07/tivo-to-mac-mountain-lion-edition.html

only works on some macs apparently (and not mine).  
Aug 13, 2012
#38 EthanThe...@aol.com
Hey Grant, I'm just trying every option, you know? It didn't work on mine either. I couldn't get past step four.
Aug 14, 2012
#39 bruce.m....@gmail.com
As the author of the workaround described in 

http://macithelp.blogspot.com/2012/07/tivo-to-mac-mountain-lion-edition.html

I would like to say that many users have had success pulling the tivodecode version out of the non-working iTiVo application using "Show Package Contents".  If there is a newer compiled version of tivodecode I can point to let me know. Thanks for all the great work here! I'm looking forward to a working version of iTiVo.

Aug 14, 2012
#40 grant.doug
OK, on MacBook Pro I have decoded successfully now using Bruce’s nifty instruction (link below). I find that my i5 processor must have the current tivodecode copied out of the iTivo package. So it is an effective workaround on ML 10.8!

Thanks to all. Let the decoding begin!

http://macithelp.blogspot.com/2012/07/tivo-to-mac-mountain-lion-edition.html




Aug 14, 2012
#41 grant.doug
Note - my input string for app looks like this, which has to be passed as a “arguments”, not the default “to stdin”

/usr/sbin/tivodecode -m 1234567890 -o “/Users/grantdoug/Movies/pyTivo/tivofile.mpg” “$@“

This relates to instructions given here:

http://macithelp.blogspot.com/2012/07/tivo-to-mac-mountain-lion-edition.html
Aug 23, 2012
Project Member #42 tony1ath...@gmail.com
 Issue 209  has been merged into this issue.
Aug 23, 2012
Project Member #43 tony1ath...@gmail.com
 Issue 212  has been merged into this issue.
Aug 23, 2012
Project Member #44 tony1ath...@gmail.com
 Issue 211  has been merged into this issue.
Aug 23, 2012
Project Member #45 tony1ath...@gmail.com
 Issue 210  has been merged into this issue.
Aug 27, 2012
Project Member #46 tony1ath...@gmail.com
 Issue 208  has been merged into this issue.
Aug 27, 2012
#47 drew.mos...@gmail.com
Hi Tony.  My apologies for delaying on this, my work schedule has been insane the last few weeks.  I'm hoping with the 3 day weekend coming up I'll get a chance to look further into this.
Aug 27, 2012
Project Member #48 tony1ath...@gmail.com
No apologies necessary.  Your contributions exceed your pay rate.  ;-)

Status: Accepted
Sep 3, 2012
#49 drew.mos...@gmail.com
Here's the second attempt at this.

The 0001 patch are all the changes that the new version of Xcode made automatically.
The 0002 patch explicitly adds the ".app" extension to GrowlHelperApp.  Not sure why that was needed but once I made that change it was able to find the appropriate AppleScript functions.
The 0003 patch is just a bit more logging
The 0004 and 0005 patches move the mDNS logic to external shell scripts.  For consistency with other scripts I should have probably used perl but I don't know it well enough.  The new scripts will use the mDNS executable if it exists and is not a symlink; otherwise they will use the dns-sd executable.

I had to wipe my ~/Library/Caches/iTiVo/ directory at one point to get everything to work again.  I'm not certain if that will be needed in all cases or was only a side effect of the debugging I was doing.

I had to update my Lion system to Mountain Lion to resolve some other issues so I was unable to verify this against Lion but I was able to copy the mDNS executable from my backup and run it under Mountain Lion so I have verified that these patches appear to work both with and without mDNS in the path.
0001-Initial-Xcode-project-changes-for-compiling-on-Mount.patch
144 KB   View   Download
0002-Use-.app-extension-on-file-name.-For-some-reason-Xco.patch
2.8 KB   View   Download
0003-Add-additional-logging-for-calls-to-mDNS.patch
1.4 KB   View   Download
0004-Move-logic-to-discover-local-TiVo-s-to-an-external-s.patch
4.6 KB   View   Download
0005-Move-logic-to-find-local-TiVo-IP-addresses-to-an-ext.patch
6.7 KB   View   Download
Sep 3, 2012
#50 drew.mos...@gmail.com
With the latest XCode and the aforementioned patches, now I cannot load the prefereces.  I get "Can't get window "PrefsPanel"".

No idea what causes that.  Ugh.
Sep 8, 2012
#51 drew.mos...@gmail.com
I'm at a loss on the preferences window issue.  Apparently something is not happy with the latest Xcode.  Anybody have any ideas?
Sep 9, 2012
#52 barbyo...@gmail.com
I have Mountain Lion. I am getting the AppleScript error "Can't get item 1 of {}..."  I just want my iTivo to work again. I am not technical. What do I need to do?
Sep 10, 2012
#53 skripni...@gmail.com
I was able to get iTivo to connect to my Tivo by issuing the command below to put a link to dns-ed:

sudo ln -s /usr/bin/dns-sd /usr/bin/mDNS

iTivo is now stuck at (waiting for TiVo) when trying to download programs.  I can download them directly from the website on my TiVo.  Has there been any further word on a patch or new release for iTivo for ML?
Sep 13, 2012
#54 dheym...@gmail.com
Can anyone provide instructions for how to apply the patches?
Sep 21, 2012
#55 grant.doug
Would like to have a test compiled version to test.. I don’t know how to do all this patching.
Sep 26, 2012
#56 alqaq...@gmail.com
As much as open source software is great, it's times like these that make you understand why it doesn't work.  I've had no success with any of the work arounds mentioned above.
Sep 26, 2012
#57 jscher...@gmail.com
Agreed.  Love this product.  Wish I was smart enough to help fix it.  Thanks to the devs that built and maintained it over the years.  I've officially migrated to KMTTG which is more painful but does the job.  I'm still struggling with the automatic downloads and had to write an automator script for auto-adding to itunes but... it's the best I can find until this one comes back online:

https://code.google.com/p/kmttg/

Hope this helps some in the meantime.
Sep 26, 2012
#58 knewma...@gmail.com
Relax everyone, I found a fix. Simply...return to Lion. The program iTivo had more benefit to me, than the (in my opinion minor) improvements realized by Mountain Lion.
Lion is an Excellent OS, and iTivo works GREAT on it.

So...?
Sep 27, 2012
#59 alqaq...@gmail.com
Gee thanks, that's a very helpful suggestion. Return to Lion and never upgrade your computer again,  Sure, that makes sense.
Oct 7, 2012
#60 alqaq...@gmail.com
It's been a couple of months since Mountain Lion was released and since reports about iTivo not functioning properly in Mountain Lion.  Is there any work being done to update iTivo?  Can we expect a new release any time soon?
Oct 7, 2012
#61 alqaq...@gmail.com
It's been a couple of months since Mountain Lion was released and since reports about iTivo not functioning properly in Mountain Lion.  Is there any work being done to update iTivo?  Can we expect a new release any time soon?
Oct 8, 2012
Project Member #62 tony1ath...@gmail.com
Folks will be pleased to know that my employer has now given me the Mountain Lion upgrade, so I can more easily work on this.

Oct 8, 2012
#63 EthanThe...@aol.com
Great news. Hoping to see something soon!
Oct 10, 2012
Project Member #64 tony1ath...@gmail.com
 Issue 213  has been merged into this issue.
Oct 10, 2012
Project Member #65 tony1ath...@gmail.com
 Issue 216  has been merged into this issue.
Oct 10, 2012
Project Member #66 tony1ath...@gmail.com
 Issue 217  has been merged into this issue.
Oct 10, 2012
Project Member #67 tony1ath...@gmail.com
 Issue 218  has been merged into this issue.
Oct 10, 2012
Project Member #68 tony1ath...@gmail.com
 Issue 219  has been merged into this issue.
Oct 11, 2012
Project Member #69 tony1ath...@gmail.com
Test image has been uploaded with Drew's patches.

Oct 11, 2012
#70 cwald...@me.com
Just tried the latest beta and getting a -1728 error regarding the "PrefsPanel"


Screen Shot 2012-10-12 at 2.12.00 AM.png
37.9 KB   View   Download
Oct 11, 2012
Project Member #71 tony1ath...@gmail.com
Confirmed.  ;-(

Oct 12, 2012
#72 drew.mos...@gmail.com
I've seen that error regarding the PrefsPanel.  I looked at it a bit but couldn't make any sense and some google searching turned up nothing.  This feels to me like a change in the  Mac OS APIs somewhere but that's just a gut feeling with no data to back it up.
Oct 12, 2012
Project Member #73 tony1ath...@gmail.com
It could easily be a number of things, including trivial changes in Interface Builder.  I'll look at it, but welcome all help.

Nov 1, 2012
#74 cjmas...@gmail.com
Does iTivo work with mountain lion yet????
Nov 5, 2012
#75 alexande...@gmail.com
Copying in my preferences from before the upgrade at least has gotten me to a state where I can see the TiVo and download stuff.  I can't bring up the preferences window (error as above) but I can open the plist file if necessary and change the values when I need to.  Not a great workaround, but at least I'm kinda back in business for downloading.
Nov 5, 2012
#76 mike.ni...@gmail.com
I was just able to build and run the patch Drew posted in comment 4 above. It runs on Mountain Lion, finds my TiVo and lists all the shows -- however, once I tried to download a show, I got a dialog saying that X11 is no longer installed as part of OS X. Clicking Continue loads a link to download it, which I did, and then I installed it. Retry and this time I don't get an X11 dialog... but iTiVo still tells me I can't download my show. Searched the Console and couldn't find a clear reason why. Argh.

PS - if you're using the manual method with tivodecode, you can convert the resulting file to a smaller video using iSquint (if you can still find a copy).
Nov 5, 2012
#77 bruce.m....@gmail.com
So even though I wrote up a workaround (http://macithelp.blogspot.com/2012/07/tivo-to-mac-mountain-lion-edition.html) I want iTivo to work just like everyone else. I was able to successfully get iTivo to download and decode a recording, ... sort of. Here's what I did.

Rather than apply the patch to iTivo (see comment 4) I just ran the UNIX command to link mDNS to dns-sd.

sudo ln -s /usr/bin/dns-sd /usr/bin/mDNS

After I did that I fired up iTivo and it found my Tivo and listed my shows. I then did a download of one of the shows. Maybe it's because I have loaded the Open version of X11 (XQuartz version 2.7.4) but I didn't get the X11 dialog but the show started the download. As I watched the download iTivo said it would take 582636 hours & 11 min to download!!! OUCH!  

As I watched the file download I would check the downloaded file size and match it to the iTivo listed size. Soon the download reached the end of the file but continued to download. The file size returned to zero and started to grow again. When I stopped the download the second time around, only 500MB of the 2.8GB file had downloaded. But.... The file WAS decrypted!! 

Not sure if that helps anything but it might lend insight to someone more knowledgeable with the program.
Nov 20, 2012
#78 david.mu...@gmail.com
Is anybody actually actively working on fixing native iTivo to work on Mountain Lion?
Nov 20, 2012
Project Member #79 tony1ath...@gmail.com
Yes, for some definition of 'active'.  Sorry, my rate is limited by Real Life.  But I'm more than welcome to accept help.

Nov 20, 2012
#80 david.mu...@gmail.com
Haha, I hear you about Real Life. It really gets in the way and is altogether tedious. :)

Unfortunately I don't know the languages and technologies involved at all.
Nov 20, 2012
Project Member #81 tony1ath...@gmail.com
Neither did I when I started.  As with any programming project, the best thing to do is to jump in with both feet.

I'm now to the point where I can start to understand some AppleScript, but Interface Builder is still pretty opaque.  There are wholly cookbook examples, which are helpful, and intense explanations that are overwhelming, but no easily accessible tutorials to the concepts.  And certainly no introduction to debugging IB when you make a mistake.  And that's where we're stuck...

Nov 20, 2012
Project Member #82 tony1ath...@gmail.com
 Issue 223  has been merged into this issue.
Nov 20, 2012
Project Member #83 tony1ath...@gmail.com
 Issue 220  has been merged into this issue.
Nov 20, 2012
Project Member #84 tony1ath...@gmail.com
 Issue 221  has been merged into this issue.
Dec 1, 2012
#85 genecivi...@gmail.com
I would be interested to help.  I've done extensive scientific programming in C-like procedural script languages, including some shell scripting and a bit of perl.

What tools do I need in order to help?  Is a text editor/Applescript enough or do I need Xcode, etc.?  Where is the roadblock at the moment?  I can't exactly tell from this discussion.

-G
Dec 1, 2012
Project Member #86 tony1ath...@gmail.com
Welcome!

To help on the current issue, the challenge is to backtrack through the code and determine which code commit broke the preferences pane.

To start, you need a pre-Lion system, with Xcode installed.  You'll need to check out the source code and be able to build and run the program.  If you've done that correctly, you should be able to reproduce the problem.

After that, we need to walk backwards through Subversion, checking previous versions to find the last one that worked.  You might have to spend some time reading up on Subversion.

Good luck.

Dec 1, 2012
#87 genecivi...@gmail.com
OK, so the current problem is in the objective-C part of the app (hence the need for Xcode)?  I run iTiVo on my snow leopard system, but apparently I need Lion to install the current version of Xcode.

How will it be possible to reproduce the Mountain Lion error on a pre-Lion system?  Also, where can I find an Xcode version that runs on SL?
Dec 1, 2012
Project Member #88 tony1ath...@gmail.com
I'm taking this conversation to direct email as this bug record is already getting silly long.

Dec 1, 2012
#89 bs00...@gmail.com
I've never used xcode before but when I loaded the itivo project into xcode on my ML system it complained about applescript not being supported in the PrefsPanel file in xcode 4, or something like that.  Perhaps that's related to the problem with the PrefsPanel?

I can't build or run itivo in xcode on ML because it complains "The scheme 'iTiVo' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit.  Make sure your targets all specify SDKs that are supported by this version of Xcode."  What am I doing wrong?

I did notice that some of the code where it runs shell commands, e.g., to get the IP address of the TiVo, could use some cleaning up.  But I don't think that has anything to do with the PrefsPanel problem.
Dec 6, 2012
#90 j...@theblacks.com
Is there a consolidated set of instructions/patches to get iTivo working with OS X Mountain Lion?  There are so many different possible "solutions" in this thread!  Thanks
Dec 6, 2012
#91 genecivi...@gmail.com
There is not yet.  My understanding is that there was a problem initially that was specific to 10.8.  That problem is solved in the latest beta but a new problem was introduced in that now the Preferences window can't be opened (see Comments 50 and 70). At least a couple of us are working on tracking this down, with very limited available time.

Dec 15, 2012
Project Member #92 tony1ath...@gmail.com
First, thanks to Gene Civillico, I believe that we've made some progress.  He was able to isolate the corruption issue with the Prefs Panel.  I've put up another test image that corrects that issue.  I've been able to use this and things seem to work once again.

I would appreciate a couple more reports that it's working before we go ahead and commit these fixes.

Dec 15, 2012
Project Member #93 tony1ath...@gmail.com
 Issue 226  has been merged into this issue.
Dec 15, 2012
Project Member #94 tony1ath...@gmail.com
 Issue 224  has been merged into this issue.
Dec 16, 2012
#95 bs00...@gmail.com
It works for me on Mountain Lion, thanks!
Dec 16, 2012
#96 NealFor...@gmail.com
I ran the test image and it seems to work fine in OS 10.8.2 for me except that it froze at 6 minutes of download.  The Prefs pane seems to work fine, however.  
Dec 16, 2012
Project Member #97 tony1ath...@gmail.com
Excellent, thanks.  I think that this bug is done.  I'll go ahead and commit this.  More verification is welcome.


Status: Fixed
Dec 16, 2012
#98 david.mu...@gmail.com
I got it to connect to the Tivo, but I can't seem to add anything to the queue or download. When I click on the 'Download' button, for example, nothing happens.

Also, when I switch to another application I can never switch back to iTivo. I can't do it with command-tab, or by using the OS X desktop all-apps view (I forget what that's called). When I use that view I can see the iTivo screen preview with all the other apps, but if I click on it the desktop returns to normal with the last app selected instead of iTivo.
Dec 16, 2012
#99 NealFor...@gmail.com
I have tried a second download. The one I posted earlier was set to download for AppleTV and failed.  The second one was set to download for QuickTime, and it worked like a charm.

Thank you so much for your work on this!
Dec 16, 2012
Project Member #100 tony1ath...@gmail.com
 Issue 225  has been merged into this issue.
Dec 16, 2012
#101 digitpirate
In the process of downloading a show now, and so far so good.  I'm set to download to iPhone.  Will post if I encounter errors.  So excited to have this working again!  Thanks so much!!!!
Dec 16, 2012
#102 pti...@gmail.com
Looking good here, too, on an ML MBA. Downloading now. Greatly appreciated.
Dec 16, 2012
#103 t...@timspofford.com
I can confirm that the latest image seems to be working properly. I was able to connect to my Series 3 and am downloading now.  Thanks for all your attention to this.
Dec 16, 2012
#104 mrb...@gmail.com
I can confirm as well. Downloading now. Thank you!
Dec 16, 2012
#105 TracyLFo...@gmail.com
I just try to enter my ip address and connect to the tivo.  I still go the old error message mentioned in comment 70.  What am I doing wrong.  There is no place to enter the media access code.  
Dec 16, 2012
Project Member #106 tony1ath...@gmail.com
Tracy, are you sure you've got the latest build?  It should be the 12/12/2012 image.  It's working for everyone else.


Dec 16, 2012
#107 TDil...@gmail.com
It's back! Thank goodness! Great work! Took some time, but totally worth it. Thanks again.
Dec 26, 2012
#108 mich...@globalvisionnetworks.net
Hi all.  I've been wrestling with the issues raised in this thread only to get to the finale and not see the fix.  What do I need to do to get hold of the image referred to above?
Dec 26, 2012
Project Member #109 tony1ath...@gmail.com
Go to the downloads page.  It's the top image there.

Dec 26, 2012
#110 mich...@globalvisionnetworks.net
Thanks Tony!

Dec 27, 2012
#111 skripni...@gmail.com
Ok, It is probably something I am doing wrong, but I have downloaded and installed the 12-12-12 image, but when I go to connect to my TiVo I get the error:

sh: line 1: 192.168.3.42: command not found (127)

I am able to connect to my TiVo via Safari just fine.  I don't know if it is related, but I had used sudo ln -s /usr/bin/dns-sd /usr/bin/mDNS to create a symbolic link for a previous possible fix.  I have deleted this link.

Thanks
Dec 27, 2012
Project Member #112 tony1ath...@gmail.com
Please start a new issue and attach your log file.

Jan 1, 2013
#113 BobNoon...@gmail.com
Thanks for all your work on this! I have installed 12-12-12 and can't connect to the TiVo. Either I get a message that it is not visible on the network, or the MAC is set incorrectly (and it's not!). Enclosed is my log, but it is not very informative. I have a Snow Leopard machine and have the previous version working fine, just not usable in my house for downloading!
iTiVo.log
1.7 KB   View   Download
Jan 1, 2013
#114 drew.mos...@gmail.com
Hi.  Can you run the following command from a shell prompt and post a log of the output? 

sh -x /Applications/iTiVo.app/Contents/Resources/findLocalTivoIPAddress.sh "TiVo Premier"
Feb 18, 2013
#115 BobNoon...@gmail.com
I haven't played with this in a while, and am back now (v12-12-12). I am currently getting repeated applescript errors, specifically:  "Can’t get item 1 of {}. (-1728)" This happens on opening the application, and when attempting to access preferences.  See enclosed log. I also ran the command requested above, and the shell output was:


[imac:~] bob% sh -x /Applications/iTiVo.app/Contents/Resources/findLocalTivoIPAddress.sh "TiVo Premier"
+ '[' -L /usr/bin/mDNS -o '!' -e /usr/bin/mDNS ']'
++ dns-sd -L 'TiVo Premier' _tivo-videos._tcp local
++ grep 'can be reached.*:443'
++ colrm 1 78
++ awk -F: '{print $1}'
++ sed 's@\.$@@'
++ sort
++ sleep 2
++ uniq
++ head -1
++ killall dns-sd
+ HNAME=A1B.local
+ ping -c 1 A1B.local
+ head -1
+ cut -d '(' -f 2
+ cut -d ')' -f 1
ping: cannot resolve A1B.local: Unknown host

iTiVo log 2-18-13.log
747 bytes   View   Download
Feb 18, 2013
Project Member #116 tony1ath...@gmail.com
That's the issue that was fixed previously.  Are you sure you have the latest image?

Feb 19, 2013
#117 drew.mos...@gmail.com
Not sure why but your mDNS is reporting the network name of your TiVo as A1B.local but that hostname is not being resolved to an IP address.

I don't understand how the '*.local' hostnames are resolved but it's related (I think) to the bonjour stuff in  Mac OS and figured these scripts out by simple trial and error in my home network.

Do you have any unusual DNS, Bonjour or hostname settings in your network?

Or perhaps there's just output from dns-sd that is not being parsed correctly by the scripts.

Can you post the output of the following shell/terminal commands?:

     dns-sd -B _tivo-videos._tcp local & sleep 2; killall dns-sd

     dns-sd -L "HD Living Room"   _tivo-videos._tcp local & sleep 2; killall dns-sd
Feb 20, 2013
#118 BobNoon...@gmail.com
Yes I am using the 12-12-12 image.

[imac:~] bob% dns-sd -B _tivo-videos._tcp local & sleep 2; killall dns-sd
[1] 1521
Browsing for _tivo-videos._tcp.local
DATE: ---Wed 20 Feb 2013---
17:49:43.246  ...STARTING...
Timestamp     A/R Flags if Domain                    Service Type              Instance Name
17:49:43.247  Add     3  4 local.                    _tivo-videos._tcp.        TiVo HD
17:49:43.247  Add     3  4 local.                    _tivo-videos._tcp.        TiVo Premier
17:49:43.247  Add     3  4 local.                    _tivo-videos._tcp.        NetworkDrive
17:49:43.247  Add     3  4 local.                    _tivo-videos._tcp.        FantomShare
17:49:43.247  Add     3  4 local.                    _tivo-videos._tcp.        iMacShare
17:49:43.247  Add     3  4 local.                    _tivo-videos._tcp.        Larson
17:49:43.247  Add     2  4 local.                    _tivo-videos._tcp.        MyBook
[1]  + Terminated                    dns-sd -B _tivo-videos._tcp local
[imac:~] bob% dns-sd -L "TiVo Premier"  _tivo-videos._tcp local & sleep 2; killall dns-sd
[1] 1532
Lookup TiVo Premier._tivo-videos._tcp.local
DATE: ---Wed 20 Feb 2013---
17:51:26.507  ...STARTING...
17:51:26.507  TiVo\032Premier._tivo-videos._tcp.local. can be reached at DVR-4A1B.local.:443 (interface 4)
 protocol=https path=/TiVoConnect\?Command=QueryContainer\&Container=%2FNowPlaying swversion=20.2.2.1-01-2-758 platform=tcd/Series4 TSN=758200190264A1B
[1]  + Terminated                    dns-sd -L TiVo Premier _tivo-videos._tcp local
[imac:~] bob% 
Feb 21, 2013
#119 drew.mos...@gmail.com
OK, it looks like the parsing of the dns-sd output is not working in your case for some reason.  This patch modifies the findLocalTivoIPAddress.sh script to remove the use of the colrm utility and to parse in a slightly different manner.  This works for me in my network with a single TiVo.  It may resolve your parse failure.  You'll need to be able to build iTiVo via Xcode to test this.
0001-Change-parsing-method-to-avoid-using-the-colrm-utili.patch
1.1 KB   View   Download
Mar 18, 2013
#120 kbspr...@gmail.com
I've loaded the latest 2/26 beta onto my 10.8.3 machine, and I'm still getting mDNS errors on startup  (followed by "Item 1 of {}" applescript errors when opening preferences.) 

Is the official fix still to link mDNS to my dns-sd, or will this patch be going into the mainline sometime soon?

Many Thanks!!
Mar 18, 2013
#121 drew.mos...@gmail.com
Linking mDNS to dns-sd was never a solution.  The first set of patches is in the beta build that Tony posted.
Mar 18, 2013
#122 kbspr...@gmail.com
Excellent. Thank you! My mistake was assuming the 1212 changes were also in the more recent 226 beta, which they apparently are not.  I've now loaded the 1212 beta and applied the cookies.txt fix from this post:
http://macithelp.blogspot.com/2013/02/continuing-adventures-with-itivo.html

And I'm up and running under 10.8.3.  Much appreciated!


Powered by Google Project Hosting