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 01-04-2008, 01:19 AM   #1681
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,115
My latest - 2008-01-04

I'm posting it in this thread since it includes changes to both the photo and music plugins.

- Supports "RandomStart". Basically what this means is that, if your slide show options are set to shuffle, and you directly select a picture for full-screen view via "View Photo", you'll now get the right picture.

- Caches directory scans and sorts for the music plugin (as previously for photos). You'll see this in faster transitions between songs, and in a more consistent "x of y" display (e.g., "5 of 552") when in shuffle mode -- it will count upwards instead of jumping around.

As before, this is the complete package, minus the third-party libraries and ffmpeg. If you want those too, use git.

If you're coming here without having read the photo plugin thread, note that you also need the Python Imaging Library to use the photo plugin. (In Ubuntu, you can install it from the repositories, just like the other libraries.)
Attached Files
File Type: zip pyTivo-wmcbrine-2008-01-04.zip (33.7 KB, 148 views)

Last edited by wmcbrine : 01-04-2008 at 07:05 PM. Reason: oprions?
wmcbrine is offline   Reply With Quote
Old 01-04-2008, 08:01 AM   #1682
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 672
Quote:
Originally Posted by StanSimmons View Post
Yes, please! I would love to have the Genre numbers table
Here it is:
# A map between zap2it.com/ananova TV programme Categories and TiVo Genres.
# Use the following to find the new categories..
# ..new categories should show up without any genre mapping numbers
# cat zap2itgenres.txt zap2itgenres.txt.new | sort -u -t\" -k1 2
#
# Categories starting with a lowercase letter have been determined heuristically
# with the xmltv tv_extractinfo_en perl script.
#
# Watch that we don't put any whitespace after the last Genre number on each line
# THESE MUST BE TAB DELIMITED!!!!!!!
"Action" 1011 1
"Ad" 1011 1
"Adult" 1000 1005 2
"Adult Movie/Drama" 1000 1005 1006 2 35 68
"adventure" 1011 1
"aerobics" 1009 48
"Adventure/War" 1011 1 115
"Advertisement" 1000 90
"Advertisement/Shopping" 1000 90
"American Football" 1009 42 101
"Animals" 1008 3
"Animated" 1002 4
"Anime" 1002 4
"anthology" 1000 5
"archery" 1009 101
"arm wrestling" 1009 101
"Art" 1000 6
"Arts/Crafts" 1000 6
"Arts/Culture" 1000 6 79
"auction" 1010 44
"auto" 1000 7
"auto racing" 1009 7 120
"aviation" 1008 87
"awards" 1000 9
"Australian Rules Football" 1009 42 101
"badminton" 1009 101
"ballet" 1000 10
"baseball" 1009 11
"basketball" 1009 12
"beach soccer" 1009 101
"beach volleyball" 1009 101
"Beauty" 1000 13
"Bio" 1004 16
"Biography" 1004 16
"Biz" 1007 21
"biathlon" 1009 101
"bicycle" 1009 14
"bicycle racing" 1009 14
"billiards" 1009 15
"boat" 1010 17
"boat racing" 1009 17
"bobsled" 1009 101
"bodybuilding" 1009 18
"bowling" 1009 19
"Boxing" 1009 20 101
"bullfighting" 1009 101
"bus./financial" 1007 21
"cheerleading" 1009 101
"children" 1001 22
"children-special" 1001 100
"children-talk" 1001 106
"children-music" 1001 69
"Call-in" 1010 107
"Cartoons/Puppets" 1001 4 22
"Children's" 1001 22 36
"Children's/Youth Programmes" 1001 22 36
"Collectibles" 1000 24
"Combat Sports" 1009 64 101
"comedy" 1002 25
"Comedy" 1002 25
"comedy-drama" 1002 1005 25 35
"Computers" 1008 26
"Cooking" 1000 27
"Cricket" 1009 101
"Cricket - International" 1009 101
"Crime" 1005 29 104 110
"Crime Drama" 1005 30 104 110
"Curling" 1009 31
"Dance" 1000 10 69 32
"darts" 1009 101
"debate" 1010 106
"diving" 1009 101
"Detective/Thriller" 1013 30 104 110
"DIY" 1000 1004 34 54 58
"Doc" 1004 34
"Documentary" 1004 34
"docudrama" 1005 33
"documentary" 1004 34
"dog racing" 1009 101
"dog show" 1000 9
"dog sled" 1009 101
"drag racing" 1009 101
"Drama" 1005 35
"drama" 1005 35
"Edu" 1012 36
"Education" 1012 36
"Educational" 1012 36
"Education/Science/Factual Topics" 1012 34 36 87
"Electronics" 1008 37
"entertainment" 1000 106
"environment" 1008 72
"equestrian" 1009 101
"exercise" 1009 48
"extreme" 1009 101
"Extreme/Minority Sports" 1009 101
"Fantasy" 1014 39
"Fashion" 1000 40
"fencing" 1009 101
"field hockey" 1009 101
"figure skating" 1009 101
"fishing" 1009 41
"football" 1009 42
"Film" 1006 68
"Fin" 1007 21
"Fishing" 1008 41
"Fitness" 1000 48 13
"Football - Club" 1009 97 101
"Football - International" 1009 97 101
"Football/Soccer" 1009 101 42
"French" 1000 43
"Fundraiser" 1000 44
"gaelic football" 1009 101
"Game" 1003 45
"Game Show" 1003 45
"Game Show/Quiz" 1003 45
"Gardening" 1000 54
"gymnastics" 1009 47
"General Arts/Culture" 1000 79
"General Children's/Youth" 1001 22
"General Education/Science/Factual Topics" 1012 36 87
"General Music/Ballet/Dance" 1000 69 10 32
"General Movie/Drama" 1005 1006 35 68
"General News/Current Affairs" 1007 73 117
"General Show/Game Show" 1012 45
"General Social/Political Issues/Economics" 1007 21 77
"General Sports" 1009 101
"Golf" 1009 101 46
"handball" 1009 101
"headlines" 1007 73
"Health" 1000 48
"Historical" 1004 49
"history" 1012 49
"historical drama" 1005 50
"horror" 1005 1013 104 35 55
"Horror" 1005 1013 104 35 55
"Horse racing" 1009 101 56
"Horse" 1009 56
"House/Garden" 1000 54
"Housewares" 1000 57
"How-to" 1012 58
"hockey" 1009 51
"holiday" 52
"holiday-children" 1001 52
"holiday-children special" 1001 53
"holiday music" 1000 52 69
"holiday music special" 1000 52 69 100
"holiday special" 53
"home improvement" 1000 54
"hunting" 1009 101
"hurling" 1009 101
"hydroplane racing" 1009 101
"indoor soccer" 1009 101
"interview" 1010 60
"intl basketball" 1009 59 12
"intl hockey" 1009 59 51
"intl soccer" 1009 59 97
"Ice Hockey" 1009 101 51
"Info" 1004 34
"Jewelry" 1000 61
"Jewelery" 1000 61
"kayaking" 1009 101
"lacrosse" 1009 62
"law" 1007 35
"luge" 1009 101
"Leisure Hobbies" 1000 79
"Live Broadcast" 1007
"magazine" 1010 63
"martial arts" 1009 64
"medical" 1008 65
"Motorcycling" 1009 67 66
"Motoring" 1000 1005 66
"Motor Sport" 1009 101 66
"motorsports" 1009 66
"motorcycle" 1009 67
"motorcycle racing" 1009 67 120
"mountain biking" 1009 14
"music special" 1000 69 100
"music talk" 1000 69 106
"Movie/Drama" 1006 35 68
"Music" 1000 69 70
"Musical" 1005 69 70
"musical comedy" 1002 70
"Musical/Opera" 1000 69 70 75
"Music/Ballet/Dance" 1000 10 69 70
"mystery" 1013 71 110
"Mystery" 1013 71 110
"Nature" 1008 3 72
"Nature/Animals/Environment" 1008 3 72
"News" 1007 73 117
"news" 1007 73 117
"News/Current Affairs" 1007 73 117
"News/Weather Report" 1007 73 117
"Off-Air" 1000
"olympics" 1009 74
"Opera" 1000 70 75
#"omnibus"
"outdoors" 1008 76
"parade" 1008 76
"paranormal" 1014 71
"parenting" 1000 38
"performing arts" 1000 32
"politics" 1007 77
"polo" 1009 101
"pool" 1009 101
"Pop" 1000 69 70
"pro wrestling" 1009 101
"public affairs" 1007 77
"racquet" 1009 101
"quiz" 1012 45
"Rallying" 1009 66 101
"Reality" 1015 79
"religious" 1003 80
"rodeo" 1009 81
"roller derby" 1009 101
"romance-comedy" 1002 83
"rowing" 1009 101
"running" 1009 85
"Romance" 1005 82
"Rugby" 1009 84
"Sailing" 1009 17 116
"science" 1008 87
"Science Fiction" 1014 88
"SciFi" 1014 88
"self improvement" 1000 89
"shopping" 1010 90
"sitcom" 1002 25
"skateboarding" 1009 101
"skating" 1009 92
"snowboarding" 1009 95
"snowmobile" 1009 95
"soap" 1003 96
"soaps" 1003 96
"soap special" 1003 100 96
"soap talk" 1003 106 96
"soccer" 1009 97
"softball" 1009 98
"speed racing" 1009 101
"Serious Music/Classical Music" 1000 69
"Shopping" 1000 90
"Show/Game Show" 1012 45
"Situation" 1002 91
"Skiing" 1009 93 101
"Snooker" 1009 101
"snooking" 1009 101
"Soap/Melodrama/Folkloric" 1005 35 96
"Social/Political Issues/Economics" 1007 21 77
"Spanish" 1000 99
"Special" 1000 100
"Special Characteristics" 1000 100
"Spiritual" 1000 80
"Sport - Events" 1009 101
"Sports" 1009 101
"Sports Magazines" 1009 101 63
"sports event" 1009 101
"sports talk" 1009 106
"squash" 1009 101
"standup" 1002 25
"sumo wrestling" 1009 101
"surfing" 1009 101
"suspense" 1013 104
"swimming" 1009 105
"Tabloid" 1010 63
"Talk" 1010 106
"talk" 1010 106
"Talk Show" 1010 106
"Tennis" 1009 101 108
"theatre" 1000 109
"thriller" 1013 104 110
"Tourism/Travel" 1000 112 59
"track/field" 1009 111
"Travel" 1000 112 59
"Triathlon" 1009 101 111
"Variety" 1010 113
"Volleyball" 1009 101 114
"War" 1005 1 115
"Water Sport" 1009 101 116
"Watersports" 1009 101 116
"water polo" 1009 116
"water skiing" 1009 116
"weather" 1007 117
"western" 1015 35 118
"Westerns" 1015 35 118
philhu is offline   Reply With Quote
Old 01-04-2008, 08:03 AM   #1683
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 672
Quote:
Originally Posted by wmcbrine View Post
I'm posting it in this thread since it includes changes to both the photo and music plugins.

- Supports "RandomStart". Basically what this means is that, if your slide show oprions are set to shuffle, and you directly select a picture for full-screen view via "View Photo", you'll now get the right picture.

- Caches directory scans and sorts for the music plugin (as previously for photos). You'll see this in faster transitions between songs, and in a more consistent "x of y" display (e.g., "5 of 552") when in shuffle mode -- it will count upwards instead of jumping around.

As before, this is the complete package, minus the third-party libraries and ffmpeg. If you want those too, use git.

If you're coming here without having read the photo plugin thread, note that you also need the Python Imaging Library to use the photo plugin. (In Ubuntu, you can install it from the repositories, just like the other libraries.)

Does this fix anything with my video/music problems I posted the log for a while back? I don't have a clue what it is saying in that log. Do you?
philhu is offline   Reply With Quote
Old 01-04-2008, 08:17 AM   #1684
MasterCephus
Registered User
 
MasterCephus's Avatar
 
Join Date: Jan 2005
Location: Hueytown, Alabama
Posts: 309
philhu,

Next time just put that into a txt file and attach it to your post That's a really long post
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(transfer almost any video to your Tivo!)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
, a GUI based application to create metadata for pyTivo files
MasterCephus is offline   Reply With Quote
Old 01-04-2008, 09:56 AM   #1685
mikeylikesit40
Registered User
 
Join Date: Nov 2006
Posts: 22
Quote:
Originally Posted by KRKeegan View Post
I updated the list of server configuration settings at:
http://pytivo.armooo.net/wiki/ConfigurepyTivo#Settings

If anyone has any notes to add please do.
.
I just wanted to thank you for your efforts.

I am an old programmer and started to work on the bugs last week. I got a few sorted out but was still having problems. I'm new to pyTivo and Python.

Then, I saw a post with your changes. I downloaded it and Viola! I haven't had a Tivo reboot since. Sub-folders are working fine (thank you thank you thank you).

If I lived near ya... I'd buy ya a cup of coffee!

ALSO... the person who created the MetafileGenerator program.... your latest changes to export the season all at once... beautiful.
mikeylikesit40 is offline   Reply With Quote
Old 01-04-2008, 10:54 AM   #1686
starmanj
Registered User
 
Join Date: Aug 2007
Posts: 27
Is Pytivo compatible with zippered dtivos? I can't get the server to show up in "now playing". Tivoserver does show up, but it's old and I'd like to use pytivo.
starmanj is offline   Reply With Quote
Old 01-04-2008, 11:04 AM   #1687
rjmitche
Registered User
 
Join Date: Dec 2004
Posts: 46
Quote:
Originally Posted by philhu View Post
If you use metadata, you can set original air date and saved date. That solves the problem.

I looked thru the metadata and my program stores even the channel it was originally recorded on, the record date, original airdate, tv ratings, genres from the original numbers stored in the tivo, etc.

Not hard to do with the metadata files
I'm not sure I'm completely following you (of course, I could just be being dense... wouldn't be the first time ).

What you say makes perfect sense if the source of the data is an existing .tivo file (as in dlfl's excellent PyTivoMetaGen program) but MasterCephus' (also excellent) MetaGenerator program is using more generic internet resources (TVDB and Movie-xml.com) that aren't going to know when the show might have been shown/recorded on your tivo (nor specifics like channel, etc.).
rjmitche is offline   Reply With Quote
Old 01-04-2008, 11:21 AM   #1688
cconnell
Registered User
 
Join Date: Nov 2006
Posts: 18
Quote:
Originally Posted by KRKeegan View Post
Before you start trying to figure out http calls, why dont you make sure that the result is what you want.

Load one of those large folders and slowly scroll all the way through the files to make sure they have all been read. Then exit the folder and come back. Does the folder load fast now?

Kevin
I just did that. The folder still loads slowly. There are 294 items in the folder with an average size of 5 gigs.

My workaround was to create multiple sub folders with about 25 files each.

Thanks for your help. I have no idea why it was so slow even after caching. Now to figure out the ffmpeg parameters... Thanks again.
cconnell is offline   Reply With Quote
Old 01-04-2008, 11:28 AM   #1689
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 672
Quote:
Originally Posted by rjmitche View Post
I'm not sure I'm completely following you (of course, I could just be being dense... wouldn't be the first time ).

What you say makes perfect sense if the source of the data is an existing .tivo file (as in dlfl's excellent PyTivoMetaGen program) but MasterCephus' (also excellent) MetaGenerator program is using more generic internet resources (TVDB and Movie-xml.com) that aren't going to know when the show might have been shown/recorded on your tivo (nor specifics like channel, etc.).
oh thats right. The dates I was talking about were from ty and txt files from shows off my old tivos, so thats good for that
philhu is offline   Reply With Quote
Old 01-04-2008, 11:56 AM   #1690
MasterCephus
Registered User
 
MasterCephus's Avatar
 
Join Date: Jan 2005
Location: Hueytown, Alabama
Posts: 309
Quote:
What you say makes perfect sense if the source of the data is an existing .tivo file (as in dlfl's excellent PyTivoMetaGen program) but MasterCephus' (also excellent) MetaGenerator program is using more generic internet resources (TVDB and Movie-xml.com) that aren't going to know when the show might have been shown/recorded on your tivo (nor specifics like channel, etc.).
I am pretty sure that I have hooks in there that could potentially get that data, it's just that I am never getting that data so it never prints those fields out.

EDIT:
After looking, I am trying to get the original air date of TV shows, but the data probably isn't there. In the example I give in the wiki, that episodes does have that data (<FirstAired>2004-08-27</FirstAired>). So I capture that for sure.

Time would be something I couldn't get though...

Maybe in a future version, I will allow a check mark or something that will allow the form to drop down and allow the user to manually add these fields if they choose...this would be better than not having the ability to add these fields....
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(transfer almost any video to your Tivo!)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
, a GUI based application to create metadata for pyTivo files

Last edited by MasterCephus : 01-04-2008 at 12:26 PM.
MasterCephus is offline   Reply With Quote
Old 01-04-2008, 12:42 PM   #1691
MasterCephus
Registered User
 
MasterCephus's Avatar
 
Join Date: Jan 2005
Location: Hueytown, Alabama
Posts: 309
Here is an idea to possibly toy with....


Why don't we take the most stable version of pyTivo and all the surrounding applications (the most stable of them), and bundle them into an installer for new people?

We probably could take an installer and make it create the config file as well (prompt the user where their directories are, etc).

Maybe make it to where sets the service to start after completion...

It would make this whole thing a lot more desirable IMO...
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(transfer almost any video to your Tivo!)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
, a GUI based application to create metadata for pyTivo files
MasterCephus is offline   Reply With Quote
Old 01-04-2008, 01:04 PM   #1692
StanSimmons
Senior Moment Member
 
Join Date: Jun 2000
Location: Flower Mound, TX, USA
Posts: 4,717
Quote:
Originally Posted by starmanj View Post
Is Pytivo compatible with zippered dtivos? I can't get the server to show up in "now playing". Tivoserver does show up, but it's old and I'd like to use pytivo.
No, it only works with standalone tivos with current software on them.

You need TivoServer, which works pretty good with DTiVo's running v6 software.
__________________
Stan

"easy as 3.141592653589793238462643383279502884179"
StanSimmons is offline   Reply With Quote
Old 01-04-2008, 01:05 PM   #1693
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 593
Quote:
Originally Posted by MasterCephus View Post
Here is an idea to possibly toy with....

Why don't we take the most stable version of pyTivo and all the surrounding applications (the most stable of them), and bundle them into an installer for new people?

We probably could take an installer and make it create the config file as well (prompt the user where their directories are, etc).

Maybe make it to where sets the service to start after completion...

It would make this whole thing a lot more desirable IMO...
I like it.

Additionally, at some point (already reached?) this thread will become too unwieldy, which will result in the creation of a new thread to continue this discussion. We should seize on that opportunity to make things a bit easier on the newcomers as well. Perhaps the first post (or posts) could contain links to the latest stable snapshot and configuration tips ?

Perhaps adding in a few sample config files (SD only, HD only, mixed environment) with a README instructing users how/when/why to use particular server/share options would be useful as well ? I know that's the intent of the wiki, but it would be nice to have everything in one place.
PaulS is offline   Reply With Quote
Old 01-04-2008, 01:58 PM   #1694
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,115
Quote:
Originally Posted by philhu View Post
Does this fix anything with my video/music problems I posted the log for a while back?
Since I don't understand your problem, I can't say.

Quote:
I don't have a clue what it is saying in that log. Do you?
Like you said, it seems to be trying to use the video plugin for a share you designated as music. I saw something vaguely similar once when I had music and photo shares pointed to the same directory; but from your config, that doesn't seem to be your problem.

Edit: Oh, it just hit me -- try changing your share names. I haven't had a close look at the plugin dispatcher, but I notice that your music and photo share names ('MySvr-Photos' and 'MySvr-Music') start with the complete share name of your videos ('MySvr'). I bet if you make the video share name 'MySvr-Videos', your problem will go away.

Edit 2: Yep -- check this:

Code:
if query['Container'][0].startswith(name):
So, there ya go.

Last edited by wmcbrine : 01-04-2008 at 02:11 PM.
wmcbrine is offline   Reply With Quote
Old 01-04-2008, 03:12 PM   #1695
KRKeegan
Im lost and confused
 
KRKeegan's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Posts: 215
Quote:
Originally Posted by wgw View Post
Doh! How did I miss that. That makes my HDtivosonly option redundant. I was a bit hesitant to add it but it sounded like a good idea at the time. I'll remove that setting from my mod unless someone can think of a good reason to leave it in. Let me know if you noticed any other fubars in my mod.
Yeah I just started looking at your mod. I thought the HDtivosonly section was unnecessary.

I have not finished looking at the rest of your mods, from your description they sound good though.
__________________

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

A much better place to receive pyTivo help and updates.

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

A python real time video transcoding server for TiVo.
KRKeegan is offline   Reply With Quote
Old 01-04-2008, 04:32 PM   #1696
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 672
Quote:
Originally Posted by wmcbrine View Post
Since I don't understand your problem, I can't say.

Like you said, it seems to be trying to use the video plugin for a share you designated as music. I saw something vaguely similar once when I had music and photo shares pointed to the same directory; but from your config, that doesn't seem to be your problem.

Edit: Oh, it just hit me -- try changing your share names. I haven't had a close look at the plugin dispatcher, but I notice that your music and photo share names ('MySvr-Photos' and 'MySvr-Music') start with the complete share name of your videos ('MySvr'). I bet if you make the video share name 'MySvr-Videos', your problem will go away.

Edit 2: Yep -- check this:

Code:
if query['Container'][0].startswith(name):
So, there ya go.
Genius! I'll try that tonight.

Thanks!

-edit- This is the exact problem. Renaming the section fixed the problem as was mentioned

Last edited by philhu : 01-09-2008 at 10:35 AM.
philhu is offline   Reply With Quote
Old 01-04-2008, 05:01 PM   #1697
KRKeegan
Im lost and confused
 
KRKeegan's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Posts: 215
New Forum

Alright I think we all agree 1700 posts is too much to wade through to find anything. I wanted to wait for armooo to chime in but I think we are all pretty fed up with the mess that has become this thread. So here is a new discussion board all setup:

http://pytivo.krkeegan.com/

If armooo later decides to move the discussion I can give him a copy of the phpBB Database file.

So unless there are any objections I vote we move the discussion and allow it to use more than one thread.
__________________

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

A much better place to receive pyTivo help and updates.

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

A python real time video transcoding server for TiVo.
KRKeegan is offline   Reply With Quote
Old 01-04-2008, 05:21 PM   #1698
gmd
Registered User
 
Join Date: May 2007
Posts: 1
Another metadata generator, this one in python

It's not nearly as slick as the .NET version by MasterCephus, and is currently only for tv shows (using thetvdb.com) but this one will run under linux/mac/windows ... it was made to work in my environment, which is a linux fileserver with a bunch of directories, and shell scripts that run through those directories, adding metadata entries when a new file shows up.

Get it here: http://www.kurai.org/~gdunn/pyTivoMetaThis/

BSD License.

Maybe armooo will consider a contrib directory in the pyTivo package ?
gmd is offline   Reply With Quote
Old 01-04-2008, 05:39 PM   #1699
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 672
Quote:
Originally Posted by KRKeegan View Post
Alright I think we all agree 1700 posts is too much to wade through to find anything. I wanted to wait for armooo to chime in but I think we are all pretty fed up with the mess that has become this thread. So here is a new discussion board all setup:

http://pytivo.krkeegan.com/

If armooo later decides to move the discussion I can give him a copy of the phpBB Database file.

So unless there are any objections I vote we move the discussion and allow it to use more than one thread.
Ok, I made the first post.

Comeon guys, lets move!
philhu is offline   Reply With Quote
Old 01-04-2008, 05:43 PM   #1700
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,115
Quote:
Originally Posted by KRKeegan View Post
You know there's also a mailing list, right?
wmcbrine is offline   Reply With Quote
Old 01-04-2008, 06:57 PM   #1701
KRKeegan
Im lost and confused
 
KRKeegan's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Posts: 215
Quote:
Originally Posted by wmcbrine View Post
You know there's also a mailing list, right?
Yes but it is rarely used and it appears users prefer to use the forum.
__________________

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

A much better place to receive pyTivo help and updates.

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

A python real time video transcoding server for TiVo.
KRKeegan is offline   Reply With Quote
Old 01-05-2008, 01:39 AM   #1702
vnavone
Registered User
 
Join Date: Feb 2003
Location: Oakland, CA
Posts: 6
Help with Mac OS X install of pyTivo

I've cross-posted this message at the new pyTivo forum...

Hi All, I'm following the wiki installation guide for MacOS X (I'm running 10.4.10). I've installed Xcode Tools (2.5), MacPorts (latest), and Python (2.5.1), and now I'm trying to do the remaining installs and get PyTivo running. So far I seem to be unable to install the faac with ffmpeg. I get this:


Victors-G5:~ victor$ sudo port install ffmpeg +lame +libogg +vorbis +theora +faac +faad +xvid +x264 +a52 +dts
---> Configuring faac
Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_p orts_audio_faac/work/faac && aclocal -I . && autoheader && glibtoolize --automake" returned error 1
Command output: /usr/bin/glibtoolize: line 1: cd: /usr/share/libtool: No such file or directory
glibtoolize: cannot list files in `/usr/share/libtool'

Error: The following dependencies failed to build: faac faad2 autoconf help2man p5-locale-gettext perl5.8 libtool m4 automake libogg libtheora libvorbis pkgconfig x264
Error: Status 1 encountered during processing.


I've looked in my /usr/share directory and sure enough, no "libtool" folder. Was this supposed to be installed by Xcode, MacPorts or something else? There was a sentence in the OSX install instructions that I didn't understand:

"Make sure that your path includes the XCode tools."

I don't know how to do this; could this be part of the problem?

I was able to compile the other elements individually (lame, vorbis, xvid, etc.) so I thought I'd try running pyTivo without the faac. That doesn't work either:


Victors-G5:/Applications/pyTivo victor$ python pyTivo.py
Traceback (most recent call last):
File "pyTivo.py", line 11, in <module>
httpd.add_container(section, settings)
File "/Applications/pyTivo/httpserver.py", line 21, in add_container
settings['content_type'] = GetPlugin(settings['type']).CONTENT_TYPE
File "/Applications/pyTivo/plugin.py", line 13, in GetPlugin
module = __import__(module_name, globals(), locals(), name)
ImportError: No module named photo.photo


After searching this thread for similar problems I ruled out some possible causes. I have correctly copied and renamed my config file, so that's not the issue. I also inserted .profile and .bash_profile in my home directory (they were not there originally) and put in the following info:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
export EDITOR=/usr/bin/pico

The profiles are otherwise empty. Do I need more? Any help appreciated.
vnavone is offline   Reply With Quote
Old 01-05-2008, 10:35 AM   #1703
philhu
User Since Day ONE!
 
philhu's Avatar
 
Join Date: Apr 2001
Location: Funcity, MA
Posts: 672
Quote:
Originally Posted by wmcbrine View Post
Since I don't understand your problem, I can't say.

Like you said, it seems to be trying to use the video plugin for a share you designated as music. I saw something vaguely similar once when I had music and photo shares pointed to the same directory; but from your config, that doesn't seem to be your problem.

Edit: Oh, it just hit me -- try changing your share names. I haven't had a close look at the plugin dispatcher, but I notice that your music and photo share names ('MySvr-Photos' and 'MySvr-Music') start with the complete share name of your videos ('MySvr'). I bet if you make the video share name 'MySvr-Videos', your problem will go away.

Edit 2: Yep -- check this:

Code:
if query['Container'][0].startswith(name):
So, there ya go.
That was it! All fixed.
philhu is offline   Reply With Quote
Old 01-05-2008, 11:00 AM   #1704
jsbrss
Registered User
 
Join Date: Mar 2007
Posts: 3
Quote:
Originally Posted by vnavone View Post
I've looked in my /usr/share directory and sure enough, no "libtool" folder. Was this supposed to be installed by Xcode, MacPorts or something else? There was a sentence in the OSX install instructions that I didn't understand:

"Make sure that your path includes the XCode tools."
Xcode installs its own directory structure in the 'Developer' folder in the root directory. So you should see "/Developer/usr/share/libtool" on your system.

I did the install on my mac using the same instructions you are, but I can't remember exactly what they mean by "Make sure that your path includes the XCode tools" either. Maybe you cd to that directory before you run the sudo commands?
jsbrss is offline   Reply With Quote
Old 01-05-2008, 11:32 AM   #1705
vnavone
Registered User
 
Join Date: Feb 2003
Location: Oakland, CA
Posts: 6
Quote:
Originally Posted by jsbrss View Post
Xcode installs its own directory structure in the 'Developer' folder in the root directory. So you should see "/Developer/usr/share/libtool" on your system.

I did the install on my mac using the same instructions you are, but I can't remember exactly what they mean by "Make sure that your path includes the XCode tools" either. Maybe you cd to that directory before you run the sudo commands?
Thanks for trying to help. I found the "libtool" in my /Developer/usr/bin, then I tried running my commands from within /Developer but I still get the same error:

Command output: /usr/bin/glibtoolize: line 1: cd: /usr/share/libtool: No such file or directory
glibtoolize: cannot list files in `/usr/share/libtool'

So I tried copying libtool to my usr/share, but I still get the same error.

Last edited by vnavone : 01-05-2008 at 11:57 AM. Reason: new info
vnavone is offline   Reply With Quote
Old 01-05-2008, 12:01 PM   #1706
John Slider
Registered User
 
Join Date: Apr 2006
Posts: 48
I'm having noticeable overscan problems. I right clicked on my video and selected properties, and the details and it says the width is 720 so I edited the pyTivo config file to match that, but there is still a good amount trimmed. How can I fix?
John Slider is offline   Reply With Quote
Old 01-06-2008, 12:02 AM   #1707
StanSimmons
Senior Moment Member
 
Join Date: Jun 2000
Location: Flower Mound, TX, USA
Posts: 4,717
Problem with metadata and pyTiVo

I've got a couple of hundred shows I'm importing to a S2 v9.1 TiVo and pyTivo seems to be the way to go except for one little issue...

I can't seem to get pyTivo to see any of my metadata. I have a bunch of shows named someshowname.mpg with matching someshowname.mpg.txt metadata files.

I've confirmed that a normal showname.tivo file will transfer and the metadata inside that file will transfer as well. If I extract the showname.mpg and showname.mpg.txt metadata file, then I do not get the metadata info.

What should I look at first to troubleshoot this?

Never mind.... It helps if you are working on the current version.
__________________
Stan

"easy as 3.141592653589793238462643383279502884179"

Last edited by StanSimmons : 01-06-2008 at 01:07 AM. Reason: Dain Bramage
StanSimmons is offline   Reply With Quote
Old 01-06-2008, 03:31 AM   #1708
wgw
Registered User
 
Join Date: May 2007
Posts: 217
I've issued an update moving the calls to get source bitrate into the video info cache. Tivo NPL display should no longer be slowed significantly by these extra calls.

http://pytivo.armooo.net/wiki/LatestBeta
wgw is offline   Reply With Quote
Old 01-06-2008, 04:20 AM   #1709
StanSimmons
Senior Moment Member
 
Join Date: Jun 2000
Location: Flower Mound, TX, USA
Posts: 4,717
One thing I've noticed is that the pyTivo NPL has the current date showing for each recording, not the recorded date that is listed in the metadata.

Once the recording is moved onto the tivo, then the correct date shows up.
__________________
Stan

"easy as 3.141592653589793238462643383279502884179"
StanSimmons is offline   Reply With Quote
Old 01-06-2008, 08:34 AM   #1710
scrappydog65
Long Time TiVo User
 
scrappydog65's Avatar
 
Join Date: Dec 2003
Location: Pennington, NJ
Posts: 29
Quote:
Originally Posted by StanSimmons View Post
One thing I've noticed is that the pyTivo NPL has the current date showing for each recording, not the recorded date that is listed in the metadata.
I've noticed the same thing and wish there was a way to either show the date in the metadata file OR the physical files date.

Mike
__________________
  • TiVo S2 40hr, Humax S2 80hr DVD-RW
  • Great Add-ons:
    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.
scrappydog65 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 06:18 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |