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 02-20-2012, 05:46 PM   #1261
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Quote:
Originally Posted by rjgibson0066 View Post
Edit - we have a BINGO! Thank you for hanging in there with me!

How do I enable this Mac to Tivo connection without disabling the firewall.
I believe passing through TCP port 9032, TCP/UDP port 2190 and UDP port 5353 may work.
__________________
My
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Read link for changes

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for OS X
Iluvatar is offline   Reply With Quote
Old 02-20-2012, 05:52 PM   #1262
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
Quote:
Originally Posted by Iluvatar View Post
<del> Remux and transfer of full file is typically 10 mins.
before i discovered streambaby just recently, i used to transfer video from my mac to tivo and one of the very compelling reasons to buy the elite was the gigabit ethernet. i was hoping for, if not an order-of-magnitude increase, at least a significant one.

unfortunately, it hasn't seemed to increase my transfer speed much at all over the 100mb ethernet of the s3. and my link from the tivo to the computer is gigabit all the way.

my transfers are not much better than real time, in other words, to transfer a 10 minute show would take nearly 10 minutes. could this be the fault of tivo desktop (mac) or toast 11 tivo transfer?

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-20-2012, 05:52 PM   #1263
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Quote:
Originally Posted by rjgibson0066 View Post
And, I transferred/watched on recording, and it now shows up in Now Playing as a single entry. I had assumed with pyTivo running it would show up in My PC folder. However, after transferring/watching My PC has disappeared from Now Playing.

Stick with me please.
I'm afraid I didn't follow to well.

Were you saying that you transferred one video successfully but after this your pyTivo video share disappeared from the Now Playing List?

If this is the case your router may have issues with passing multicast packets.

Two things:

Check your router configuration and see if it gives you an option for enabling 'Multicast' or something to that effect.

Add the 'beacon' setting to your pyTivo.conf. You can read its description here.

Something like: beacon = 192.168.1.255 (if your networks IP's are in the 192.168.1.x range)
__________________
My
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Read link for changes

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for OS X

Last edited by Iluvatar : 02-20-2012 at 06:13 PM. Reason: sp.
Iluvatar is offline   Reply With Quote
Old 02-20-2012, 06:09 PM   #1264
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Quote:
Originally Posted by gteague View Post
my transfers are not much better than real time, in other words, to transfer a 10 minute show would take nearly 10 minutes. could this be the fault of tivo desktop (mac) or toast 11 tivo transfer?

/guy
Mac TiVo desktop (I don't know about Toast) will only stream if the file is completely compatible aka mpeg2 video (the Windows version will push compatible MP4 files I think). It transcodes all other times. You probably notice your Mac CPU is very high when transfering.

Over and above what Mac Tivo Desktop does pyTivo from wmcbrine will take a file such as an MKV video and if both video and audio are compatible with the TiVo (it is generally looking for h264/vc1 video and AC-3/AAC audio) it will remux this into a MP4 and push it to the TiVo this way. With my pyTivo fork (there are several pyTivo developers) as long as you have compatible video and ANY audio it will remux the video into a compatible MP4 file for pushing (it automatically transcodes incompatible audio to AC-3 during the remux).

I can remux and transfer a compatible 2hr MKV movie in 10 mins or so. If it requires audio transcoding add a couple more depending on the speed of your system.

The ONLY thing I miss from streambaby is the ability to use the subtitles with the video.
__________________
My
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Read link for changes

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for OS X
Iluvatar is offline   Reply With Quote
Old 02-20-2012, 06:17 PM   #1265
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
Quote:
Originally Posted by Iluvatar View Post
<del>
I can remux and transfer a compatible 2hr MKV movie in 10 mins or so. <del>
are you talking sd or hd? my typical file is 1920x1080i (24 or 30fps) with the occasional 1920x1080p (60fps). these are about 100mb per minute with a typical 10 minute file being nearly 1gb in size.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-20-2012, 06:19 PM   #1266
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Quote:
Originally Posted by gteague View Post
are you talking sd or hd? my typical file is 1920x1080i (24 or 30fps) with the occasional 1920x1080p (60fps). these are about 100mb per minute with a typical 10 minute file being nearly 1gb in size.

/guy
1080p24 10-12GB file. I don't have any 60fps but it would only add a bit more time. Although I'm not entirely certain that 1080p60 types of videos are compatible with TiVo natively.

Speed during a remux depends purely on the file size and speed of your hard drives as it is only doing a data copy from one file to another.
__________________
My
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Read link for changes

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for OS X

Last edited by Iluvatar : 02-20-2012 at 06:34 PM.
Iluvatar is offline   Reply With Quote
Old 02-20-2012, 06:34 PM   #1267
Fofer
༺♥༻
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 67,904
TC CLUB MEMBER
Quote:
Originally Posted by Dagwood70 View Post
As a general question; what is the advantage (if any) of pyTiVo over streambaby? I have the later up and running. I didn't succeed the first time trying to set up pyTiVo and wonder if I should bother trying again since I have Streambaby working brilliantly on my iMac (wired LAN -> wired TiVo).
streambaby just streams the video, leaving no trace on the TiVo afterwards, AFAIK.

Whereas pyTiVo actually transfers the file onto the TiVo, and you can watch it while it transfers. It remains there on the TiVo even after you've turned the computer off, and can be played again and again until you delete it off the TiVo.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!
Fofer is offline   Reply With Quote
Old 02-20-2012, 06:35 PM   #1268
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
@Iluvatar: you've given me something to think about, for sure. over the next 3 days i'm going to be trying out most of the tools we've been talking about on this thread. right now i've got pytivox and streambaby running given that i have to run a manual command (mDNS -R \"streambaby\" _tivo-hme._tcp . 7290 path=/streambaby) to get streambaby to work. but i would much prefer to be running one of the pytivo supported builds such as yours or wmcbrine and not having to rely on pytivox continuing to work.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-20-2012, 08:03 PM   #1269
rjgibson0066
Registered User
 
rjgibson0066's Avatar
 
Join Date: Feb 2007
Posts: 89
Quote:
Originally Posted by Iluvatar View Post
I'm afraid I didn't follow to well.

Were you saying that you transferred one video successfully but after this your pyTivo video share disappeared from the Now Playing List?

If this is the case your router may have issues with passing multicast packets.

Two things:

Check your router configuration and see if it gives you an option for enabling 'Multicast' or something to that effect.

Add the 'beacon' setting to your pyTivo.conf. You can read its description here.

Something like: beacon = 192.168.1.255 (if your networks IP's are in the 192.168.1.x range)
Thanks will try tomorrow - wicked bad cold is forcing me to bed, with a hardy dose of NyQuil.

What I meant to say is that after transferring/watching that one video, when I go back into Now Playing I see the video as a single entry in Now Playing but don't see my Macbook folder Movies - it disappeared.

Thanks again.
rjgibson0066 is offline   Reply With Quote
Old 02-20-2012, 09:24 PM   #1270
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by Fofer View Post
Here's how to use make a simple application to start PyTiVo. Open AppleScript Editor and paste this code in:

Code:
do shell script "cd /Applications/pyTivo 
./pyTivo.py"
(and click on "run" to test it.)

This can then be saved as an application.

I'd like to also then have an easy way to quit PyTiVo when I'm done with my transfers. I found this link: Killing an Application With Terminal
...but I don't know how to translate that into an AppleScripted application (or if it's even possible.)
Hey that's really cool Fof! I like it and it works.
I'm working on getting it to run in the background too. Oops... My wife says it's time to eat. I'll be back (we are in Tahoe)
__________________
Need a new sig...
bareyb is offline   Reply With Quote
Old 02-20-2012, 10:02 PM   #1271
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
@bareyb: good timing as i am just now running through your new 'howto' on pytivo. your instructions are very clear indeed and i had absolutely no problem downloading and installing pytivo and ffmpeg. going through your process, i notice i originally missed quite a few steps when i was doing my original install a few weeks back, especially in the config portion of pytivo.

but i've hit sort of a showstopper. i added a section for my videos and provided a path to my video folders. but it appears that pytivo won't recognize videos inside folders, thus it appears i'd have to add every folder of videos separately. this is a big no-go for me since i add subfolders inside subfolders inside subfolders. streambaby lets me actually navivate my folder structure from the tivo and i assumed pytivo would be the same. please someone post if there is a workaround for this. in the meantime, i'll temporarily point it to one folder with loose videos for test purposes.

also, here is a cleaner, one-line command for your applescript with the caveat it worked on my system, but if somehow one of your permissions is set differently, you might still need the ./ prefix to launch pytivo.py. and of course your path is a little simpler than mine, replace the '_video/TiVo/pyTivo/' section with your actual path:
Code:
/Applications/_video/TiVo/pyTivo/pyTivo.py
inside the applescript editor it should look like:
Code:
do shell script "/Applications/_video/TiVo/pyTivo/pyTivo.py"
also, i think the term 'streaming' in step 6 is a misnomer as @Iluvatar has said pytivo only transfers, it doesn't stream.

great job dude! it could use a little shoring up in the terminal section and i'll bet @fofer can help there. for just one instance, when you restart pytivo after the config in step six, you don't stop the current running instance first. now it might be the case that two sessions can't be running simultaneously and there would be an automatic shutdown of the previous session before the restart, but i haven't investigate that far. my inclination would be to just hit ^C (control+c) in the terminal window where pytivo is running, then hit the up arrow which will 'paste' in the previous command which ran it, then just hit enter.

more later as i proceed ...

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien

Last edited by gteague : 02-20-2012 at 10:13 PM.
gteague is offline   Reply With Quote
Old 02-20-2012, 10:06 PM   #1272
Fofer
༺♥༻
 
Fofer's Avatar
 
Join Date: Oct 2000
Location: Neither here nor there
Posts: 67,904
TC CLUB MEMBER
FWIW I followed bareyb's setup tutorial, and the resulting menu on my TiVo does let me traverse through sub-folders to transfer/watch videos.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- a list of some favorite browser add-ons that help make TCF even more enjoyable!
Fofer is offline   Reply With Quote
Old 02-20-2012, 10:09 PM   #1273
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Quote:
Originally Posted by gteague View Post
but i've hit sort of a showstopper. i added a section for my videos and provided a path to my video folders. but it appears that pytivo won't recognize videos inside folders, thus it appears i'd have to add every folder of videos separately. this is a big no-go for me since i add subfolders inside subfolders inside subfolders. streambaby lets me actually navivate my folder structure from the tivo and i assumed pytivo would be the same. please someone post if there is a workaround for this. in the meantime, i'll temporarily point it to one folder with loose videos for test purposes.
/guy
Subfolders work just fine with pyTivo. Mine go probably 7 layers deep at points.

Set this in your pyTivo.conf file under the [Server] heading, save and reset.

Code:
debug = True
Will need the log output from running pyTivo after attempting to view the bad subfolder. First guess is there may be a misspelling or a odd character in the folder name.

....FWIW All config options are already detailed in either the pyTivo WebAdmin interface or at the official pyTivo wiki.

For future reference do not expect the best support for pyTivo if you stick to posting in this thread instead of the pyTivo thread here at TCF or at the pyTivo support forum. It just won't get read by the same volume of people who could help since this thread is about pyTivoX
__________________
My
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Read link for changes

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for OS X

Last edited by Iluvatar : 02-20-2012 at 10:32 PM.
Iluvatar is offline   Reply With Quote
Old 02-20-2012, 10:36 PM   #1274
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
Quote:
Originally Posted by Iluvatar View Post
Subfolders work just fine with pyTivo. Mine go probably 7 layers deep at points.

Set this in your pyTivo.conf file under the [Server] heading, save and reset.

Code:
debug = True
Will need the log output from running pyTivo after attempting to view the bad subfolder. First guess is there may be a misspelling or a odd character in the folder name.

....All config options are already detailed in either the pyTivo WebAdmin interface or at the official pyTivo wiki.

For future reference do not expect the best support for pyTivo if you stick to posting in this thread instead of the pyTivo thread here at TCF or at the pyTivo support forum. It just won't get read by the same volume of people who could help.
i understand about the support. just trying to help @bareyb with his guide for now.

i found one killer problem and one potential one. i had underscores in the names of the shares and i removed those. one path started working after that. the other share i had a bad path (two __ underscores and my eyes are getting bad!). but now i have navigation of the directory tree on my mac and i transferred a short 1080p video and it appeared nearly instantly and played without problems. i'm now transferring a full hd 12 minute 814mb video and we'll see how long it takes ...

.... oh cool! there's a counter running in the shell. this is 30fps and has a bitrate of 10325kb/s. and there is a time counter there as well if it stays after the transfer completes ...

... unfortunately, the time is nearly exactly as my predictions i posted before--it's running at approx 100mb or less per minute which means this video is going to take at least 12 minutes for the 12 minutes of content. a move would take 90 minutes at that rate.

here's the summary:

frame=17832 fps= 27 q=2.0 Lsize= 1012336kB time=00:12:23.70 bitrate=11151.1kbits/s
video:959220kB audio:40674kB global headers:0kB muxing overhead 1.244334%
INFOyTivo.video.video:[20/Feb/2012 22:45:05] Done sending "/bedlam/[xxx....xxx]1080.mov" to tivoli2, 1036640256 bytes, 12.08 Mb/s

oh, and @bareyb, for that spot i was speaking of in step 6 where you restart pytivo, there is a restart button right on that html config page.

so @Iluvatar, would i experience better speeds if i used your fork instead? i'm embarrased to admit it, but i was going to use your fork when trying out @bareyb's guide, but i couldn't find the download link on that project page nor at any of the links on the line explaining your build.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien

Last edited by gteague : 02-20-2012 at 10:52 PM.
gteague is offline   Reply With Quote
Old 02-20-2012, 11:35 PM   #1275
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by Fofer View Post
FWIW I followed bareyb's setup tutorial, and the resulting menu on my TiVo does let me traverse through sub-folders to transfer/watch videos.
I was just coming in to say the same. It seems to dig through layers of subfolders with no problem on mine too. My Music folder is quite a few levels down. By the way, the Music folder is pretty kick ass and it was super easy to setup.


__________________
Need a new sig...

Last edited by bareyb : 02-21-2012 at 12:08 AM.
bareyb is offline   Reply With Quote
Old 02-20-2012, 11:41 PM   #1276
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by gteague View Post
i understand about the support. just trying to help @bareyb with his guide for now.

i found one killer problem and one potential one. i had underscores in the names of the shares and i removed those. one path started working after that. the other share i had a bad path (two __ underscores and my eyes are getting bad!). but now i have navigation of the directory tree on my mac and i transferred a short 1080p video and it appeared nearly instantly and played without problems. i'm now transferring a full hd 12 minute 814mb video and we'll see how long it takes ...

.... oh cool! there's a counter running in the shell. this is 30fps and has a bitrate of 10325kb/s. and there is a time counter there as well if it stays after the transfer completes ...

... unfortunately, the time is nearly exactly as my predictions i posted before--it's running at approx 100mb or less per minute which means this video is going to take at least 12 minutes for the 12 minutes of content. a move would take 90 minutes at that rate.

here's the summary:

frame=17832 fps= 27 q=2.0 Lsize= 1012336kB time=00:12:23.70 bitrate=11151.1kbits/s
video:959220kB audio:40674kB global headers:0kB muxing overhead 1.244334%
INFOyTivo.video.video:[20/Feb/2012 22:45:05] Done sending "/bedlam/[xxx....xxx]1080.mov" to tivoli2, 1036640256 bytes, 12.08 Mb/s

oh, and @bareyb, for that spot i was speaking of in step 6 where you restart pytivo, there is a restart button right on that html config page.

so @Iluvatar, would i experience better speeds if i used your fork instead? i'm embarrased to admit it, but i was going to use your fork when trying out @bareyb's guide, but i couldn't find the download link on that project page nor at any of the links on the line explaining your build.

/guy
Now see Iluvatar, it's not just me.
__________________
Need a new sig...
bareyb is offline   Reply With Quote
Old 02-20-2012, 11:42 PM   #1277
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
the photo share, however, seems a different story. is it really necessary to install the 'pil' (python image library) to be able to display photos? the great thing about the tivo desktop pref panel is that it recognizes both the itunes and the iphoto library and lets you specify both playlists and photo albums or events and no drilling down to get to them. of course the pytivo way is handy in case you have loose photo folders scattered around. but so far pytivo won't display any photos at all.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-20-2012, 11:47 PM   #1278
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
i'm currently trying to re-install streambaby according to the link found here: http://www.tivocommunity.com/tivo-vb...79#post8924079

i'll let you know how well those instructions work and we might not have to re-invent the wheel, at least for us lion users.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-21-2012, 12:03 AM   #1279
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
unfortunately i've hit a wall with the instructions for installing streambaby as v0.29 won't launch, aborting with a bunch of java errors:

roma:/ sysop$ /Applications/_video/TiVo/streambaby/streambaby
Initializing StreamBaby v0.29...
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.unwiredappeal.tivo.streambaby.StreamBabyMain.main(Stream BabyMain.java:38)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at com.unwiredappeal.tivo.config.StreamBabyConfig.getCurDir(Str eamBabyConfig.java:809)
at com.unwiredappeal.tivo.config.StreamBabyConfig.setupDefaultD irectories(StreamBabyConfig.java:815)
at com.unwiredappeal.tivo.config.StreamBabyConfig.<clinit>(Stre amBabyConfig.java:37)
... 1 more
perhaps the os 10.7.3 update or a java update has caused some fatal incompatibility although this help page was posted less than a month ago.

luckily, this terminal command (which i don't even pretend to understand) posted by some kind soul still works:
mDNS -R \"streambaby\" _tivo-hme._tcp . 7290 path=/streambaby
but the kicker is for this to work, you also have to have pytivox running and that's what we're trying to get away from. it will need more smarts than what i have to get streambaby working without pytivo.

i've left a query comment at that page.


/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien

Last edited by gteague : 02-21-2012 at 12:25 AM.
gteague is offline   Reply With Quote
Old 02-21-2012, 12:06 AM   #1280
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by gteague View Post
the photo share, however, seems a different story. is it really necessary to install the 'pil' (python image library) to be able to display photos? the great thing about the tivo desktop pref panel is that it recognizes both the itunes and the iphoto library and lets you specify both playlists and photo albums or events and no drilling down to get to them. of course the pytivo way is handy in case you have loose photo folders scattered around. but so far pytivo won't display any photos at all.

/guy
Yep. You have to have PIL and apparently it's not exactly a walk in the park to get it installed... If you don't have it, Terminal will generate an error message looking for it.


__________________
Need a new sig...

Last edited by bareyb : 02-21-2012 at 12:15 AM.
bareyb is offline   Reply With Quote
Old 02-21-2012, 12:18 AM   #1281
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
Quote:
Originally Posted by bareyb View Post
Yep. You have to have PIL and apparently it's not exactly a walk in the park to get it installed... If you don't have it, Terminal will generate an error message looking for it. <del>
that's a bummer. not worth it then as long as the tivo desktop prefpane is iphoto savvy. of course, no telling how long that prefpane will continue to work, godz only knows how old it is.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-21-2012, 12:39 AM   #1282
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by gteague View Post
that's a bummer. not worth it then as long as the tivo desktop prefpane is iphoto savvy. of course, no telling how long that prefpane will continue to work, godz only knows how old it is.

/guy
I have a feeling someone will figure it out and post how to do it at some point. It can't be THAT hard. We may just need someone who knows how to compile this stuff, do the heavy lifting and then provide a link to the finished product like Iluvatar did for his custom ffmpeg build. I have no idea, but for what it's worth I have an email in to Technical Support. We'll see if it pans out.
__________________
Need a new sig...
bareyb is offline   Reply With Quote
Old 02-21-2012, 12:43 AM   #1283
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Iluvatar just shot me a PM with the start up file for pyTivo (.plist). It's pretty simple once you see it done.

Do you guys think I should just replace the post where I show how to use Terminal to autolaunch pyTivo? Seems like Fofer's script is better and the Autolaunch version by Iluvatar is probably the most elegant solution if you want to run it full time without having it lock up your Terminal. What do you think? Replace it?
__________________
Need a new sig...
bareyb is offline   Reply With Quote
Old 02-21-2012, 12:59 AM   #1284
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
yeah, the terminal autolaunch is sort of a hack. nothing against you in that--such hacks used to be how we all operated--we all do what we have to at the time to get things running.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-21-2012, 01:15 AM   #1285
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by gteague View Post
yeah, the terminal autolaunch is sort of a hack. nothing against you in that--such hacks used to be how we all operated--we all do what we have to at the time to get things running.

/guy
Precisely. I thought it was a pretty cool find at the time. Now it just seems... lame. I'm gonna dump it like a bad habit. We have far better ways now...
__________________
Need a new sig...
bareyb is offline   Reply With Quote
Old 02-21-2012, 01:25 AM   #1286
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by Iluvatar View Post
In case anyone wants there is an option to run pyTivo in the background upon user logon or system startup. This is already described in the pyTivo wiki for OS X installation.
-----------

Mac OS X 10.6 and up

Setting pyTivo to launch on startup automatically and in the background on Mac OS X is relatively easy.

* You must make a text file named "pyTivo.plist" with any text editor.

* Place the file in /Users/yourusername/Library/LaunchAgents (your user library folder) if you want pyTivo to load only when you are logged on. Or place the file in /Library/LaunchDaemons if you want pyTivo to startup on system boot regardless of whoever is logged in.
** In 10.7 Lion, Apple has hidden the User library folder. To view it open your Finder and hold down the 'Option' key and choose 'Go > Library' from the Finder menu.

* Include the following code in the file (you need to update the path to the your pyTivo folder).

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>pyTivo</string>
	<key>ProgramArguments</key>
	<array>
		<string>python</string>
		<string>/path/to/pyTivo/pyTivo.py</string>
	</array>
</dict>
</plist>
This will run pyTivo under the 'python' process in the background. Kill python process and pyTivo goes away until next logon. No windows, no icon, all logger output is shunted to the Console app.

This is the way I have run it for years.
UPDATE: Here's the finished product from Iluvatar! Note the Path Change.

There it is ready to use on a Mac. I installed it in my Launch Agents folder and it's working perfectly. Just copy and paste the text below into a "Plain text Document" (TextEdit) and save the file into the Launch Agents Folder. After that, it should launch pyTivo in the background and leave the Terminal free. If you want to turn it off just remove the file from the Launch Agents folder. Big thanks to Iluvatar for putting it all together.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>pyTivo</string>
	<key>ProgramArguments</key>
	<array>
		<string>python</string>
		<string>/Applications/pyTivo/pyTivo.py</string>
	</array>
</dict>
</plist>
ETA:
Quote:
Originally Posted by Iluvatar View Post
If you have trouble finding your user library folder just use this exact command in Terminal (assuming you saved pyTivo.plist file to your desktop):

Code:
mv ~/Desktop/pyTivo.plist ~/Library/LaunchAgents/
to delete the file use:

Code:
rm ~/Library/LaunchAgents/pyTivo.plist
Remember by using this you will have no indication that pyTivo is running other than by being able to see your shares in the TiVo NPL or opening http://localhost:9032 which is your pyTivo WebAdmin interface.
Pretty cool eh? Seems to me if one could create an AppleScript for those too if one was so inclined.
__________________
Need a new sig...

Last edited by bareyb : 02-21-2012 at 01:52 AM.
bareyb is offline   Reply With Quote
Old 02-21-2012, 03:23 AM   #1287
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
Quote:
Originally Posted by bareyb View Post
Now see Iluvatar, it's not just me.
for sure need to fire that marketing department! [g]

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-21-2012, 03:28 AM   #1288
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
i've never used the launchagents method. i just create apps using applescript and then drag them into the system prefs / users & groups / logins items list. that way seems more manageable to me if you need to manipulate them at all.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague is offline   Reply With Quote
Old 02-21-2012, 04:42 AM   #1289
bareyb
Under Maintenance
 
Join Date: Nov 2000
Location: Silicon Valley, California
Posts: 21,955
TC CLUB MEMBER
Quote:
Originally Posted by bareyb View Post
Precisely. I thought it was a pretty cool find at the time. Now it just seems... lame. I'm gonna dump it like a bad habit. We have far better ways now...
Alright it's gone like a bad penny.

Got the replacement page up here: http://pytivo.sourceforge.net/forum/...160.html#13160

I'm working on cleaning up some of the other pages too, also added a few more pics and some important links I had left out. I still have some other corrections to make, but I'm getting them done a little at a time... Is it a little sick that I'm enjoying my vacation more because I have this to work on while I'm here?

Meh. I think it's fun and isn't the point of vacation??? Besides, I like to have something to do while I'm watching TV at night. Skiing always kicks my butt the first couple of days...
__________________
Need a new sig...

Last edited by bareyb : 02-21-2012 at 04:48 AM.
bareyb is offline   Reply With Quote
Old 02-21-2012, 04:48 AM   #1290
gteague
golftango
 
gteague's Avatar
 
Join Date: Apr 2007
Location: dfw (euless)
Posts: 520
sounds like me! anyway, your first draft was more than adequate to get me up and running and the screenshots were the icing on the cake, but i had done most of the steps on my own research a few weeks back. i'm sure we'll find a newbie guinea pig eventually to give it a good, thorough evaluation.

/guy
__________________
We were somewhere around the Withywindle on the edge of the Old Forest when the drugs began to take hold. ~Hunter S. Tolkien
gteague 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 - 2014, 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 08:04 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |