TiVo Community Forum banner
  • TiVoCommunity.com Ambassador Program Now Open! >>> Click Here

pyTivoX

347K views 1K replies 205 participants last post by  elmeng 
#1 ·
pyTivoX is an Apple Mac OSX application that lets you view movies that are stored on your computer via your Tivo.

It provides both pyTivo and streambaby, and all necessary support applications/libraries.

You can read more about it and download it at http://pytivox.googlecode.com/

It has a very simple user interface, and 'just works'.

And yes, it's entirely free. No registration required. Source code available on the same web page.
 
#203 ·
Ok, it's a bit dizzying, but:
1.1b9 is up now.

Please click the 'apply' button after upgrading to write out a new compatible config file.

It's using the latest streambaby (0.20) and I enabled the stream quality option and upped the highest resolution to 1080. Keep in mind this is still in beta, but problem reports (both with pyTivoX and streambaby) are very helpful.
 
#204 ·
I have also noticed that if I play a show but hit Left to go back to the previous menu, about 3 out of 5 times, the pyTivoX StreamBaby menu item disappears from the choices of HME items. The only way to get it back is to go to my Mac and open the config menu and hit 'Apply' and it comes back to life.
That sounds very much like streambaby is crashing (apply restarts it).

If it's still happening post 1.1b9, can you please (before you hit the apply button) send us the result of the following command in Terminal.app:

Code:
 tail -30 /tmp/pyTivoX-SB.log
(that should hopefully be enough to figure out why it crashed...)
 
#205 ·
Is it listing nothing? I believe streambaby only lists files that end with a file extension that matches any of these (from the wiki):

extensions= (default:mp4,mpeg,vob,mpg,mpeg2,mp2,avi,wmv,asf)

Ok the wiki is a little out of date, I believe mkv was added to that list. Do your filenames match that? It will only 'as-is' stream mpeg-2 and mp4 (h264/aac-ac3) files, but other files it will gladly convert on the fly and stream...

However, things are still being ironed out :).

Oh and did you hit 'apply' after changing your lists of directories?
that would explain it. I was trying to stream .mov files.
 
#206 ·
that would explain it. I was trying to stream .mov files.
Wow. I didn't even notice .mov wasn't in the list! Yeah it clearly should be :).
Although /mov is a quicktime container (it's supposed to be similar to mp4 I think).. Not sure
if there's support for quicktime containers in streambaby yet.. Let me mess with it locally first :)
 
#209 ·
That sounds very much like streambaby is crashing (apply restarts it).

If it's still happening post 1.1b9, can you please (before you hit the apply button) send us the result of the following command in Terminal.app:

Code:
 tail -30 /tmp/pyTivoX-SB.log
(that should hopefully be enough to figure out why it crashed...)
I have installed the latest beta (1.1b9) and so far so good.

One question, is it my imagination or was pyTivoX running before without a dock icon? Not sure but I thought it was running on my machine with only the menu item present. I could be totally be wrong.

In addition, the beta also resolved the issue with being kicked out to LiveTV after 5 min of viewing.

Thanks so much again for bringing streambaby to the Mac. I came back to Tivo from ReplayTV and one of the features I really missed with the ReplavTV was the ability to truly stream vs. copying shows to the Tivo. This brings back a sorely missed feature.

Gilbert
 
#210 ·
One question, is it my imagination or was pyTivoX running before without a dock icon? Not sure but I thought it was running on my machine with only the menu item present. I could be totally be wrong.
It's probably not your imagination. If you select 'launch at startup' it's supposed to run without a dock icon. The intent is to have it running in the background (like a service) if you have that selected.

HOWEVER, due to how apple handles dock icons, it's a little messy when the code gets re-installed or upgraded.

So, after an upgrade/install, you have to unselect 'launch at startup', re-select it, and exit. Then, next time you launch it, there will be no dock icon (unless you asked the dock to keep the icon there) -- Or if you like the dock icon, don't use 'launch at startup'). In theory I could add code to detect that it was upgraded and you had 'launch' selected, and mostly do the right thing -- but right now that's low priority for me...
 
#211 ·
For what it's worth, I use Dock Dodger to disable dock icons when I don't want them to appear. Of course, if I reinstall the application -- I have to run Dock Dodger on the re-installed application.
 
#212 ·
That sounds very much like streambaby is crashing (apply restarts it).

If it's still happening post 1.1b9, can you please (before you hit the apply button) send us the result of the following command in Terminal.app:

Code:
 tail -30 /tmp/pyTivoX-SB.log
(that should hopefully be enough to figure out why it crashed...)
Yoav,

The program crashed again this evening. Here is the log as you requested. (I put it up on pastebin.com.)

http://pastebin.com/m6f46f16a

Let me know if you need me to check/test anything else.

Gilbert
 
#214 ·
Yoav,

The program crashed again this evening. Here is the log as you requested. (I put it up on pastebin.com.)

http://pastebin.com/m6f46f16a

Let me know if you need me to check/test anything else.

Gilbert
Bah :( Sadly there's nothing in the log that seems to indicate a problem. The last message it's printed is about 'pruning the cache'.. with no error..
the jmDNS error is normal and can be ignored.

So at least for now, there's not much I can work with. If you figure out a sequence of steps I can follow to make it crash, I'd love to try it. (as is, I've left mine running for quite a while.. the only issue I've had is my computer going to sleep and so tivo wouldn't see streambaby then).
 
#215 ·
Bah :( Sadly there's nothing in the log that seems to indicate a problem. The last message it's printed is about 'pruning the cache'.. with no error..
the jmDNS error is normal and can be ignored.
Is that jmDNS error in the log an OSX related issue? (or rather non-issue, since you say it's normal). I've never seen it before.
 
#216 ·
Is that jmDNS error in the log an OSX related issue? (or rather non-issue, since you say it's normal). I've never seen it before.
I never bothered trying to debug it actually, it's always printed for me even though everything ran smoothly
Code:
Exception in thread "JmDNS.SocketListener" java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
        at java.util.Vector.elementAt(Vector.java:432)
        at javax.jmdns.DNSRecord.suppressedBy(Unknown Source)
        at javax.jmdns.DNSOutgoing.addAnswer(Unknown Source)
        at javax.jmdns.JmDNS.handleQuery(Unknown Source)
        at javax.jmdns.JmDNS$SocketListener.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:613)
I guess it might be worth looking into..?
 
#218 ·
Ok new version 1.1b10:
detects number of cores and uses ffmpeg -threads {cores} where possible
set up highest quality default with audio=384kbps, video=1080
mdns bug fixed (?)
latest streambaby code
latest build of ffmpeg with i686 optimizations instead of i386
(should work on all G4 -> i386 macs.. please tell me if I broke it).

but reports appreciated.
 
#219 ·
At my wit's end!

I'm on a MacPro running latest Leo.

I got it to work a few days ago, set it to download a few things, came home, found it had stopped downloading halfway through three different files, and lost connection to the computer, and I've been struggling to get it working again ever since, no luck.

After finding some tips regarding changing the beacon to the tivo ip, I did so in the .conf file via BBedit. At that point my next problem occurred: the window to use it stopped opening...actually, at that point it stopped opening visibly at all, meaning I could not find it in the doc, via command-tab, or even the force quit window, but the computer kept telling me it was open when I tried to trash it.

I restarted, trashed everything I could identify: the plist, the application support, the application. I restarted, redownloaded, reinstalled, reopened.

Well, the icon showed up in the dock and I could see it via the app switcher, I could even see the menu on the menubar...but no window to work in.

Then I downloaded the beta I saw was uploaded a day ago.

No improvement.


Assuming someone helps me fix THAT problem, my next problem will probably be getting the Tivo and computer talking again...but we'll see.

Thank you for any help you can give.

(As for getting the computer and Tivo talking, I restarted the Tivo, the computer, the router, everything - that's why I finally went into the .conf file. What I saw there was a weird ip, first three parts ok, last part way off.)
 
#220 ·
At my wit's end!
1) Is there a menulet at the top bar (it should look like a tiny tivo-looking icon). If so, pyTivoX is indeed running but was told to 'launch at startup' so it has no dock icon. To quit, just select the tivo button, and choose 'quit'

2) Do you have any sort of 'non-default' network setup? Can I get you to open Terminal.app and run 'ifconfig' there, and copy the output to here?

3) what is your tivo's IP address? Can you run 'ping <tivoip>' in Terminal.app?

4) You can complete 'remove' pyTivoX and then try installing it clean: Quit pyTivoX, delete the 3 locations:
  • /Application/pyTivoX
  • <user>/Library/Application Support/pyTivoX
  • <user>/Library/Preferences/com.yoav.pyTivoX.plist

5) was the fourth part of the IP address that was 'way off' 255? That's a pretty common broadcast address and that's what the beacon should be set to.

It sounds like there's something uniquely 'messed up' though, if your computer can't even see your tivo any longer, that is independent of pyTivoX.. Until your computer and your tivo can talk to each other, no amount of fixing pyTivoX will help
 
#224 ·
For those that want to permanently remove pyTivoX's dock icon (like me :) ), there is a fairly simple way to do it:

- quit the app
- Right click on the app and select show package contents
- Open the Contents folder
- you should see a file called info.plist. Open that up in TextEdit or whatever
- inside that file you will see a key-string of value pairs. At the end of the list add the following:

<key>LSUIElement</key>
<string>1</string>

Save your changes. No more dock icon :)

For what it's worth, I use Dock Dodger to disable dock icons when I don't want them to appear. Of course, if I reinstall the application -- I have to run Dock Dodger on the re-installed application.
 
#225 ·
For those that want to permanently remove pyTivoX's dock icon (like me :) ), there is a fairly simple way to do it:

- quit the app
- Right click on the app and select show package contents
- Open the Contents folder
- you should see a file called info.plist. Open that up in TextEdit or whatever
- inside that file you will see a key-string of value pairs. At the end of the list add the following:

<key>LSUIElement</key>
<string>1</string>

Save your changes. No more dock icon :)
Indeed :).

Selecting 'Launch at login' does that, as well as register the program to launch at login.

The problem is that plist file gets overwritten every time you install a new version of pyTivoX (which is why you will need to either de-select/re-select launch at login, or else re-edit that file).
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top