pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gmd's python metadata generator
Goto page Previous  1, 2, 3, ... 18, 19, 20  Next
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Other Apps
 View previous topic :: View next topic  
Author Message
billdog79



Joined: 05 Jan 2008
Posts: 57
Location: Gulf Breeze, FL

PostPosted: Sat Mar 01, 2008 11:01 pm    Post subject: Reply with quote

Hi, this program works great. Thanks to the developer.

BTW, I'm using Windows Xp Pro and everything looking good for me.

Edit: For any using Windows and having trouble, heres how I do it and it works for me.

- First I renamed pytivometathis.py to pt.py to make it easier for me. Then when you use the commands you would just type pt.py instead. (optional )

- Then I found that I get the best results if I copy pt.py to the directory of files that I want metadata for. Ex- C:\all.movies\comedy

- Then, in my CMD window, I CD to that folder. Ex- cd c:\all.movies\comedy

- Then if these are tv shows, I simply type in the command window pt.py then hit enter. If these are movies, I type pt.py -m and hit enter.

-Works like a charm every time. The reason I move the program to the directory were the movies are located is because, when I use the -p command and a path the program seems to search for the whole thing. For ex. if I use pt.py -p "c:\all.movies\comedy" -m , the program searches for the whole path name instead of just the file name and I often get weird results. This may only be a problem in Windows though.
Back to top
View user's profile Send private message
billdog79



Joined: 05 Jan 2008
Posts: 57
Location: Gulf Breeze, FL

PostPosted: Sun Mar 02, 2008 7:00 am    Post subject: Reply with quote

I have just noticed one thing. Series Id's aren't correct in any metadata file. Are they supposed to be or is this not a feature so far.
Back to top
View user's profile Send private message
edtee



Joined: 08 Feb 2008
Posts: 19

PostPosted: Sun Mar 02, 2008 8:14 am    Post subject: Re: pyTivoMetaThis updates Reply with quote

philhu wrote:
gmd wrote:
http://trac.kurai.org/ has the latest version


I am on windows...when i try to click this 0.9 version, I get a full screen with no cr/lf seperate lines, everything is a mumble.

How can I download it on windows?
In Internet Explorer, mouse over the "here" link, right click, and select "Save Target As". This brings up a window that allows you to save "pyTivoMetaThis.py", wherever you browse to. It's a common issue, in Windows. I hope I made that clear, and hope it helps.
_________________
Love my Tivo, but I love the independent developer's software over the "official" stuff.
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 31

PostPosted: Sun Mar 02, 2008 2:31 pm    Post subject: Reply with quote

billdog79 wrote:
I have just noticed one thing. Series Id's aren't correct in any metadata file. Are they supposed to be or is this not a feature so far.


Yeah, seriesID are totally wrong. I just put in the thetvdb.com ID as a place holder at present. Feel free to attach a new ticket in trac.
Back to top
View user's profile Send private message
MasterCephus



Joined: 05 Jan 2008
Posts: 195
Location: Hueytown, AL

PostPosted: Sun Mar 02, 2008 2:39 pm    Post subject: Reply with quote

hey gmd, a heads up, I don't know if you switched to the new interfaces yet. I had heard they were cutting the old ones off in March sometime...so you might want to look into switching pretty soon.

Also, the new interfaces has a "zap2it_id" which is the seriesID for Tivo...so it's there now.

_________________
MetaGenerator
pyTivo Manager
Back to top
View user's profile Send private message
chazlarson



Joined: 17 Jan 2008
Posts: 7

PostPosted: Tue Mar 04, 2008 3:07 am    Post subject: Reply with quote

How would you like to receive patches for this [assuming you do]? I've hacked up my local copy so far to:


    Strip various junk out of the avi name to aid searching ["xvid", "dvdrip", "aXXo", etc.]
    insert mpaaRating tag
    format the description field the way I like it Wink
    generate meta files for every search hit on the theory that it's easy to delete the ones you don't want when the right one isn't #1.


Quote:
description : imdb: 3.5/10 - Comic mayhem ensues when two lovely blondes, Dee and Dawn, are mistaken as international mob killers. Rated PG-13 for crude and sexual material, including suggestive dialogue.
title : Blonde and Blonder (2007)
seriesTitle : Blonde and Blonder (2007)
isEpisode : false
movieYear : 2007
mpaaRating : P3
vExecProducer : Gerry Anderson
vExecProducer : Pamela Anderson
...
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 31

PostPosted: Tue Mar 04, 2008 2:43 pm    Post subject: Reply with quote

chazlarson wrote:
How would you like to receive patches for this [assuming you do]? I've hacked up my local copy so far to:


    Strip various junk out of the avi name to aid searching ["xvid", "dvdrip", "aXXo", etc.]
    insert mpaaRating tag
    format the description field the way I like it Wink
    generate meta files for every search hit on the theory that it's easy to delete the ones you don't want when the right one isn't #1.



http://trac.kurai.org

Create an enhancement ticket, add your patch(es) as an attachment. I'm going to be changing the thetvdb.com code in the next couple days to use their new API, so I can integrate them then.

The avi name is only looked at up to the SnnEnn part, so unless those terms are before then, they really don't need to be stripped out. But maybe you're doing something else.
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 31

PostPosted: Tue Mar 04, 2008 2:50 pm    Post subject: Reply with quote

MasterCephus wrote:
hey gmd, a heads up, I don't know if you switched to the new interfaces yet. I had heard they were cutting the old ones off in March sometime...so you might want to look into switching pretty soon.

Also, the new interfaces has a "zap2it_id" which is the seriesID for Tivo...so it's there now.


Where is that documented in the thetvdb.com wiki? I only see IMDB id's.
Back to top
View user's profile Send private message
MasterCephus



Joined: 05 Jan 2008
Posts: 195
Location: Hueytown, AL

PostPosted: Tue Mar 04, 2008 7:33 pm    Post subject: Reply with quote

I don't know if they updated the wiki yet to all the new stuff...

Here is the wiki page about the new interfaces.

Here is a thread that explains how to move to the new interfaces...

_________________
MetaGenerator
pyTivo Manager
Back to top
View user's profile Send private message
chazlarson



Joined: 17 Jan 2008
Posts: 7

PostPosted: Wed Mar 05, 2008 1:59 am    Post subject: Reply with quote

gmd wrote:
The avi name is only looked at up to the SnnEnn part, so unless those terms are before then, they really don't need to be stripped out. But maybe you're doing something else.


I'm looking at the movie stuff.

Something like "28.Weeks.Later[2007].R.DvDrip[Eng]-aXXo" would often not find anything at imdb, so I strip out a bunch of stuff and search imdb for "28 weeks later r", which is far more successful.
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 31

PostPosted: Wed Mar 05, 2008 4:27 pm    Post subject: Reply with quote

chazlarson wrote:


I'm looking at the movie stuff.

Something like "28.Weeks.Later[2007].R.DvDrip[Eng]-aXXo" would often not find anything at imdb, so I strip out a bunch of stuff and search imdb for "28 weeks later r", which is far more successful.


Ah, ok, yeah, I'd like that patch. I've just updated to the new thetvdb API and applied your previous patches.
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 152
Location: chicago

PostPosted: Wed Mar 05, 2008 9:47 pm    Post subject: Reply with quote

can somone walk me through how exactly to install this on windows xp. I'm having trouble. I have put the file in the directory I would like have metadata from but don't know how to install it. I have already installed the module. thanks.
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 152
Location: chicago

PostPosted: Fri Mar 07, 2008 12:59 am    Post subject: Reply with quote

ok, I've installed it and it works great for movies. I did like suggested above and changed the name of the file to "pt.py". Then I moved it to the directories that I want to have metadata. The problem I'm having is it isn't working for TV. For instance, if I change the directory in the command window to the TV folder for instance "Curb Your Enthusiasm" that has the pt.py file in it and I type "pt.py" this is what I get:

Traceback (most recent call last):
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 342, in <module>
main()
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 336, in main
episodeInfoXML = getEpisodeInfoXML(MirrorURL, getSeriesId(MirrorURL, series)
, season, episode)
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 109, in getSeries
Id
seriesid = series[0].findtext('id')
IndexError: list index out of rangen I type "pt.py",


Any help would be appreciated.
Back to top
View user's profile Send private message
billdog79



Joined: 05 Jan 2008
Posts: 57
Location: Gulf Breeze, FL

PostPosted: Fri Mar 07, 2008 1:42 am    Post subject: Reply with quote

sicklybutsexy wrote:
The problem I'm having is it isn't working for TV. For instance, if I change the directory in the command window to the TV folder for instance "Curb Your Enthusiasm" that has the pt.py file in it and I type "pt.py" this is what I get:

Traceback (most recent call last):
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 342, in <module>
main()
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 336, in main
episodeInfoXML = getEpisodeInfoXML(MirrorURL, getSeriesId(MirrorURL, series)
, season, episode)
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 109, in getSeries
Id
seriesid = series[0].findtext('id')
IndexError: list index out of rangen I type "pt.py",


Any help would be appreciated.

How are your files named. They must be named in a specific way. For Ex.

curb_your_enthusiasm.s01e01.larry.avi
curb_your_enthusiasm.s01e02.larry.avi

The following is the quote about it on the website:

"The show filenames have to be in the format

SeriesTitle.SnnEnn.Description.avi

If the title of the series is more than one word, they can be separated with dots (.) or underscores (_). The Description part isn't actually used, so it can be anything. If more than one SeriesTitle matches, the program will prompt you to pick the one you want of the choices that matched."


Last edited by billdog79 on Fri Mar 07, 2008 1:58 am; edited 1 time in total
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 31

PostPosted: Fri Mar 07, 2008 1:50 am    Post subject: Reply with quote

billdog79 wrote:
How are your files named. They must be named in a specific way. For Ex.

curb_your_enthusiasm.s01e01.larry.avi
curb_your_enthusiasm.s01e02.larry.avi

The following is the quote about it on the website:


Older versions (< 0.9, I think) would have to have the S and E upper case. That was fixed, can you get the latest version, or tell me what version you have?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Other Apps All times are GMT
Goto page Previous  1, 2, 3, ... 18, 19, 20  Next
Page 2 of 20

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1592s ][ Queries: 12 (0.0148s) ][ GZIP on - Debug on ]