|
| Author |
Message |
gmd
Joined: 08 Jan 2008 Posts: 28
|
Posted: Wed Mar 12, 2008 5:56 pm Post subject: |
|
|
<AOL>
|
|
| Back to top |
|
 |
chazlarson

Joined: 16 Jan 2008 Posts: 7
|
Posted: Fri Mar 14, 2008 5:04 pm Post subject: |
|
|
You'll want to add the indicated line below, and then indent the line following to match this.
| Code: |
...
if (options.isMovie):
if (options.debug): print "Writing information for %s in IMDB to %s" % (title, metadataFileName)
if (not os.path.exists(metadataFileName)): // <<----- add this line
formatMovieData(title, metadataFileName)
else:
...
|
|
|
| Back to top |
|
 |
gmd
Joined: 08 Jan 2008 Posts: 28
|
Posted: Fri Mar 14, 2008 7:11 pm Post subject: |
|
|
| chazlarson wrote: | You'll want to add the indicated line below, and then indent the line following to match this.
| Code: |
...
if (options.isMovie):
if (options.debug): print "Writing information for %s in IMDB to %s" % (title, metadataFileName)
if (not os.path.exists(metadataFileName)): // <<----- add this line
formatMovieData(title, metadataFileName)
else:
...
|
|
I've updated so that if there's a metadata file, don't bother looking up anything (for movie or tv). I've also added a -f flag to force overwriting, if desired.
Version 0.16 @ http://trac.kurai.org
|
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Sat Mar 15, 2008 5:20 am Post subject: |
|
|
| Can you tell me what I type in the command window to search for individual movie files. It still keeps going through my entire folder.
|
|
| Back to top |
|
 |
gmd
Joined: 08 Jan 2008 Posts: 28
|
Posted: Sat Mar 15, 2008 11:53 am Post subject: |
|
|
| sicklybutsexy wrote: | Can you tell me what I type in the command window to search for individual movie files. It still keeps going through my entire folder. |
What happens with
| Code: |
pyTivoMetaThis.py -d -m
|
?
_________________ pyTivoMetaThis - metadata via python - http://trac.kurai.org |
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Sat Mar 15, 2008 4:48 pm Post subject: |
|
|
| It's all good. I guess it doesn't overwrite previous metadata and is very fast so it is as good as choosing individual files to get metadata. thanks. great program. By the way, have you noticed tivo no allowng some programs to be transfered because of their name. For instance, I "legally" acquired Casino Royale and put it as an mpeg on my hard drive. When I tried to transfer it, the tivo says that the transferring of this video has been blocked blocked by the copyright holder. However, if I changed the name just a little bit for instance instead of Casino Royale called it Casino Royale 2007, no problem. I had a similar problem with a recent episode of Lost. Anyone else notice this?
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 444
|
Posted: Sat Mar 15, 2008 7:33 pm Post subject: |
|
|
| sicklybutsexy wrote: | When I tried to transfer it, the tivo says that the transferring of this video has been blocked blocked by the copyright holder. |
This is just the message it gives you when pyTivo can't read the file. I seriously doubt that TiVo Inc. is blocking anything by name. I can't account for why a name change would help, but it's probably not actually that, but some other incidental change that you made without realizing it.
_________________ My pyTivo fork |
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Mon Mar 31, 2008 7:38 am Post subject: |
|
|
I'm trying to schedule with windows scheduler for pytivmetathis every 10 minutes or so. This works great for TV shows where the cmd prompt does not ask you for the correct series ID say if there are more than one show called the tudors, for example...
1. Is there a way to pick the same one every 10 minutes with the scheduler so that the command prompt doesn't have to be answered...
2. Also, using the scheduler does not work for movies (I'm guessing because the program needs the "pytivometathis -m" command and so is just checking against the tv database. Is there a way around this?
Any help with scheduling this would be much appreciated...
|
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Mon Mar 31, 2008 11:19 am Post subject: |
|
|
| I have been messing around with pycron but can't get it to work...any suggestions?
|
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Mon Mar 31, 2008 4:00 pm Post subject: |
|
|
| Ok, I figured it out by making batch files so now my files are updated every 10 minutes around the clock. There is still the issue of automatically picking a series ID. Is there any way to hard code the program to just automatically pick the first series ID option there is?
|
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Wed Apr 02, 2008 2:41 pm Post subject: |
|
|
| I think this would be a great program to add automatically to Pytivo. You can have you directories automatically updated and have the metadata added every hour or so. The problem I'm having is that if you have to choose a series ID. Is there a way to make the first series ID the default so that you don't have to enter the series ID every time? thanks.
|
|
| Back to top |
|
 |
gmd
Joined: 08 Jan 2008 Posts: 28
|
Posted: Wed Apr 02, 2008 5:18 pm Post subject: |
|
|
| sicklybutsexy wrote: | I think this would be a great program to add automatically to Pytivo. You can have you directories automatically updated and have the metadata added every hour or so. The problem I'm having is that if you have to choose a series ID. Is there a way to make the first series ID the default so that you don't have to enter the series ID every time? thanks. |
I was thinking of creating a .seriesid file on the first run, then looking for that file, and if it existed, use that (maybe allowing forcing lookup a la -f). So you'd have to run it once by hand, but then it would keep using the same seriesid.
I've just updated to handle multiple actors/directors/etc properly when looking up TV shows, I'll see what I can do.
EDIT:
OK, support as described for maintaining a seriesID on disk is in there. This'll let you run it once by hand, pick the seriesID you want, and then whenever ptmt hits that series name (in that directory), it'll use the seriesID right out of the file, rather than getting it from the network again.
Test it out, and and let me know how it works. I'd also like to include your windows AT setup if possible (I use cron under linux, which is pretty boring and straightforward) on the wiki.
_________________ pyTivoMetaThis - metadata via python - http://trac.kurai.org |
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Thu Apr 03, 2008 1:27 pm Post subject: |
|
|
Ok. I've used it and it works great. Thanks, it really adds functionality to this program where all you have to do is download a tv show or movie and the metadata will automatically be added.
My set-up is really using windows scheduler on the control panel. I couldn't get an AT to work and pycron wouldn't work with this program either for some reason. What I do is I put pytivometathis in each folder that I want metadata in and I point windows scheduler to pytivometathis and schedule every 1 hour 24 hours a day. It was a little problematic with my movie folder because it requred the "-m" parameter, but what I did was just made a batch file using batchrun (freeware) with that parameter and pointed windows scheduler to that batch file.
Anyway, thanks again, this program kicks ass.
|
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Fri May 02, 2008 2:07 pm Post subject: |
|
|
| This program works great and is probably underutilized...I was wondering if an added feature could be included for it to recognize .mkv files or other type of files besides .avi and also if it could be made to recognize different formats of season/episdoe ie...1x10 (I've noticed this is a common way of displaying it also. Thanks again, great program.
|
|
| Back to top |
|
 |
sicklybutsexy
Joined: 05 Mar 2008 Posts: 74 Location: chicago
|
Posted: Wed Jun 04, 2008 7:38 am Post subject: |
|
|
pytivometathis isn't working. When I try to use it I get the text file below...
| Description: |
|
 Download |
| Filename: |
textfile.txt |
| Filesize: |
1.3 KB |
| Downloaded: |
23 Time(s) |
|
|
| Back to top |
|
 |
|