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, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Other Apps
 View previous topic :: View next topic  
Author Message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Thu Mar 06, 2008 6:57 pm    Post subject: Reply with quote

I downloaded the latest version again (12) just now and tried it and still I don't get any metadata files for tv
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Thu Mar 06, 2008 7:29 pm    Post subject: Reply with quote

this is despite having files names such as: Curb.Your.Enthusiasm.s01e05.whatever.avi
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 28

PostPosted: Fri Mar 07, 2008 5:34 am    Post subject: Reply with quote

sicklybutsexy wrote:
this is despite having files names such as: Curb.Your.Enthusiasm.s01e05.whatever.avi


hmm. When I run PTMT in debug mode against that exact filename, I get this:


Code:


% ./pyTivoMetaThis.py -d

working on:  Curb.Your.Enthusiasm.s01e05.whatever.avi
Series: Curb Your Enthusiasmseason: 1Episode: 5
Searching for series with name Curb Your Enthusiasm
seriesXML: Using URL http://thetvdb.com/api/GetSeries.php?seriesname=Curb+Your+Enthusiasm
getEpisodeInfoXML: Using URL http://thetvdb.com/api/0403764A0DA51955/series/76203/default/1/5/en.xml
Returning episodeInfoXML:
<Element Data at 83b0a2c>
In formatEpisodeData

>vDirector : |Andy Ackerman|
<
>title : Interior Decorator
<
>episodeNumber : 5
<
>originalAirDate : 2000-11-12T00:00:00Z
<
>vGuestStar : |Diane Keaton|Kris Mcgaha|Rose Abdoo|Jack Gallagher|Karen Maruyama|Oscar Nunez|Lisa Ann Walter|Marissa Jaret Winokur|Nia Vardalos|
<
>description : Larry has some medical problems involving a certain bracelet. No biggy. Then larger problems arise when Larry finds out he shares the same interior decorator as Diane Keaton.
<
>vWriter : |Larry David|
<
>seriesId : 76203
<
>seriesTitle : Curb Your Enthusiasm
<
>isEpisode : true
<


Can you run the same test (just the one file in the directory)?
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Sat Mar 08, 2008 7:08 pm    Post subject: Reply with quote

still no luck, this is what I get for another series. Anyone know what's wrong? It works for movies just fine.





Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

F:\TV Media Encoded\Desperate Housewives>pt.py -d
fileList before cull: ['desperate.housewives.s04e01.hdtv.xvid-caph.avi', 'despe
rate.housewives.s04e02.hdtv.xvid-caph.avi', 'desperate.housewives.s04e03.hdtv.xv
id-xor.avi', 'desperate.housewives.s04e04.hdtv.xvid-xor.avi', 'desperate.housewi
ves.s04e05.hdtv.xvid-caph.avi', 'desperate.housewives.s04e06.hdtv.xvid-dot.avi',
'desperate.housewives.s04e07.hdtv.xvid-dot.avi', 'desperate.housewives.s04e08.h
dtv.xvid-dot.avi', 'desperate.housewives.s04e09.hdtv.xvid-caph.avi', 'desperate.
housewives.s04e10.hdtv.xvid-0tv.avi', 'pt.py', 'thumbs.db']
['.\\desperate.housewives.s04e01.hdtv.xvid-caph.avi', '.\\desperate.housewives.s
04e02.hdtv.xvid-caph.avi', '.\\desperate.housewives.s04e03.hdtv.xvid-xor.avi', '
.\\desperate.housewives.s04e04.hdtv.xvid-xor.avi', '.\\desperate.housewives.s04e
05.hdtv.xvid-caph.avi', '.\\desperate.housewives.s04e06.hdtv.xvid-dot.avi', '.\\
desperate.housewives.s04e07.hdtv.xvid-dot.avi', '.\\desperate.housewives.s04e08.
hdtv.xvid-dot.avi', '.\\desperate.housewives.s04e09.hdtv.xvid-caph.avi', '.\\des
perate.housewives.s04e10.hdtv.xvid-0tv.avi']
working on: .\desperate.housewives.s04e01.hdtv.xvid-caph.avi
Series: \desperate housewivesseason: 4Episode: 1
Searching for series with name \desperate housewives
seriesXML: Using URL http://thetvdb.com/api/GetSeries.php?seriesname=+%5Cdespera
te+housewives
Traceback (most recent call last):
File "F:\TV Media Encoded\Desperate Housewives\pt.py", line 342, in <module>
main()
File "F:\TV Media Encoded\Desperate Housewives\pt.py", line 336, in main
episodeInfoXML = getEpisodeInfoXML(MirrorURL, getSeriesId(MirrorURL, series)
, season, episode)
File "F:\TV Media Encoded\Desperate Housewives\pt.py", line 109, in getSeriesI
d
seriesid = series[0].findtext('id')
IndexError: list index out of range

F:\TV Media Encoded\Desperate Housewives>
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 28

PostPosted: Sun Mar 09, 2008 5:29 am    Post subject: Reply with quote

sicklybutsexy wrote:
still no luck, this is what I get for another series. Anyone know what's wrong? It works for movies just fine.

working on: .\desperate.housewives.s04e01.hdtv.xvid-caph.avi
Series: \desperate housewivesseason: 4Episode: 1
Searching for series with name \desperate housewives
seriesXML: Using URL http://thetvdb.com/api/GetSeries.php?seriesname=+%5Cdespera
te+housewives


Is this a mapped drive? Python is prepending '\\' to the filename. I'll have to add some more clean-up to the filename preparation. Look for an other release this evening, which will also include proper seriesID so grouping should work.
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Sun Mar 09, 2008 6:19 pm    Post subject: Reply with quote

sorry for my ignorance, but what is a mapped drive? It is an external hard drive, I wonder if that has anything to do with it. Looking forward for the next release. Great program all the same.
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Sun Mar 09, 2008 6:27 pm    Post subject: Reply with quote

With release 13, still with the same problem as noted before with the prepending \\ before each filename:


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

F:\TV Media Encoded\Curb Your Enthusiasm>pt.py -d
fileList before cull: ['.meta', 'curb.your.enthusiasm.s06e02.larry.avi', 'curb.
your.enthusiasm.s06e03.pdtv.xvid-notv.avi', 'curb.your.enthusiasm.s06e04.whateve
r.avi.avi', 'curb.your.enthusiasm.s06e05.pdtv.xvid-xor.avi', 'curb.your.enthusia
sm.s06e06.pdtv.xvid-xor.avi', 'curb.your.enthusiasm.s06e07.pdtv.xvid-notv.avi',
'curb.your.enthusiasm.s06e08.pdtv.xvid-notv.avi', 'curb.your.enthusiasm.s06e09.p
dtv.xvid-notv.avi', 'curb.your.enthusiasm.s06e10.repack.pdtv.xvid-notv.avi', 'ne
w folder', 'pt.py', 'thumbs.db']
['.\\curb.your.enthusiasm.s06e02.larry.avi', '.\\curb.your.enthusiasm.s06e03.pdt
v.xvid-notv.avi', '.\\curb.your.enthusiasm.s06e04.whatever.avi.avi', '.\\curb.yo
ur.enthusiasm.s06e05.pdtv.xvid-xor.avi', '.\\curb.your.enthusiasm.s06e06.pdtv.xv
id-xor.avi', '.\\curb.your.enthusiasm.s06e07.pdtv.xvid-notv.avi', '.\\curb.your.
enthusiasm.s06e08.pdtv.xvid-notv.avi', '.\\curb.your.enthusiasm.s06e09.pdtv.xvid
-notv.avi', '.\\curb.your.enthusiasm.s06e10.repack.pdtv.xvid-notv.avi']
working on: .\curb.your.enthusiasm.s06e02.larry.avi
Series: \curb your enthusiasmseason: 6Episode: 2
Searching for series with name \curb your enthusiasm
seriesXML: Using URL http://thetvdb.com/api/GetSeries.php?seriesname=+%5Ccurb+yo
ur+enthusiasm
Traceback (most recent call last):
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 426, in <module>
main()
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 419, in main
(seriesid, zap2it_id) = getSeriesId(MirrorURL, series)
File "F:\TV Media Encoded\Curb Your Enthusiasm\pt.py", line 122, in getSeriesI
d
seriesid = series[0].findtext('id')
IndexError: list index out of range

F:\TV Media Encoded\Curb Your Enthusiasm>
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 28

PostPosted: Tue Mar 11, 2008 7:48 am    Post subject: Reply with quote

Finally got around to testing on Windows Smile It's working here ... let me know if you're still having problems with R15.
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Tue Mar 11, 2008 1:14 pm    Post subject: Reply with quote

I'm happy to report it works great on 2 seperate file folders. Thanks!
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Tue Mar 11, 2008 1:18 pm    Post subject: Reply with quote

not to be greedy, but is there a way to set it up so that anytime an episode is put in that directory pyTivometathis.py automatically gets the metadata?
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 28

PostPosted: Tue Mar 11, 2008 5:20 pm    Post subject: Reply with quote

Not in the app itself, you'd have to set up an AT job to run against the folder every x minutes.
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Tue Mar 11, 2008 7:56 pm    Post subject: Reply with quote

Is there a way to have pyTivometathis.py do just one file in a group of files. I'm having a problem if I have a group of files already with metadata and then add a file without it and want to add metadata.
Back to top
View user's profile Send private message
gmd



Joined: 08 Jan 2008
Posts: 28

PostPosted: Wed Mar 12, 2008 12:52 pm    Post subject: Reply with quote

I'll add that as a enhancement request. In the meantime, run ptmt.py from another directory, using the -p flag, then only copy in the .txt files you need.
Back to top
View user's profile Send private message
chazlarson



Joined: 16 Jan 2008
Posts: 7

PostPosted: Wed Mar 12, 2008 4:52 pm    Post subject: Reply with quote

gmd wrote:
I'll add that as a enhancement request.


As it happens, I wanted this same thing and implemented it in my local copy. Would you like the patch?
Back to top
View user's profile Send private message
sicklybutsexy



Joined: 05 Mar 2008
Posts: 91
Location: chicago

PostPosted: Wed Mar 12, 2008 5:21 pm    Post subject: Reply with quote

yes, please, that'd be great.
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 - 8 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 3 of 8

 
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
[ Time: 0.4846s ][ Queries: 12 (0.2057s) ][ Debug on ]