 |
pyTivo Discussion Forum Answers and the development of pyTivo a TiVo transcoding server
|
|
| Author |
Message |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Sun Jul 10, 2011 2:36 am Post subject: |
|
|
philhu:
The TV show original air date is the basis for the following tags:
date
datetime
month
day
year
The tag grabber doesn't provide the last three tags as separate selections but does provide an item that combines all three. You can paste that item then edit as desired if you want different formatting or just one tag, etc.
Or just type the item in manually since they are very simple.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Sun Jul 10, 2011 3:01 am Post subject: |
|
|
Cool, got it.
Suggestion, call them oad-month, oad-day, oad-year, oad-date, oad-datetime, so we know what they are 6 months from now
I think I found a bug. If you do an export entire season, it does not do the rename/move. It works like v2 did, just builds a meta .txt file
|
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Sun Jul 10, 2011 4:43 am Post subject: |
|
|
| philhu wrote: | ......Suggestion, call them oad-month, oad-day, oad-year, oad-date, oad-datetime, so we know what they are 6 months from now
I think I found a bug. If you do an export entire season, it does not do the rename/move. It works like v2 did, just builds a meta .txt file |
Thanks. Both fixed/implemented in Version 3.08, although I didn't include the dashes in the renamed oad tags you suggested. Obviously anyone already using the date, datetime, day, month or year tags will have to update their TV template for this change.
Also updated the text in lower part of setting tab.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Sun Jul 10, 2011 5:04 am Post subject: |
|
|
Thanks for the update.
The season stuff works like a charm!
I did inadvertently find a bug. If you select a tv show, open a season, but DO NOT hightlight an episode and then hit 'Select' button, you get an unhandled exception.
Oh and FYI, my episode titles in the meta data txt file also have the episode num appended, like:
Eptitle : Angels on the Run (#7)
7 is the episode number for the season. I actually like it, as when a file is transferred back to the tivo using PYTIVO, it loses the internal episode number, and hence sorting by episode number.
At least this way, you can see what episode is what. It sometimes doesnt show since there is limited title space on a tivo to display, maybe formatting like this might be cool as this would then sort by episode number by default:
Eptitle : 07. Angels on the Run
|
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Mon Jul 11, 2011 7:41 pm Post subject: MG Ver. 309 |
|
|
Version 3.09 fixed the bug mentioned in the previous post and added a metadata-based template for custom formulation of the episodeTitle tag value in the created pyTivo .txt file. Now you can format that tag whatever way you desire. For example, to get this style:
episodeTitle : 07. Angels on the Run
you would use:
{epnum}.{eptitle}
as your template. The template is entered on the Settings tab. The default template is of course {eptitle}.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Mon Jul 11, 2011 10:35 pm Post subject: |
|
|
Version 3.11 uses different background color on Settings tab. The previoius color did not display well on my XP Laptop although it looked great on my Win7 machine.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Tue Jul 12, 2011 6:07 pm Post subject: |
|
|
Finally got a response to my email to MasterCephus, original Metagenerator author. He gives his blessing to my taking over the program and says he lost interest in it because he no longer has a TiVo.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Tue Jul 12, 2011 7:47 pm Post subject: |
|
|
| Very cool...So you are official.....Congrats!
|
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Wed Jul 13, 2011 4:09 pm Post subject: |
|
|
Hey, here is an idea....
Given a show/series, and all its episodes, and given a user directory of shows, I was thinking of allowing the program to 'find' matching episodes by title. Grab a few words from the episode title and a few words from each filename and see how well they can match as a first pass.
I wrote some code to do this previously and got a 75% hit rate, I would display all episodes on left and all filenames from a directory on right. Let it match them and show matches by a number of the episode title. Then the user can point/click the episode title and file name to link them for the missing ones.
When done, all changes/metafile write etc done as a batch.
What do you think?
|
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Thu Jul 14, 2011 2:35 am Post subject: |
|
|
Good idea! I'm working on it.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Thu Jul 14, 2011 1:16 pm Post subject: |
|
|
| Do you want my vb code to see where I was with it all?
|
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Thu Jul 14, 2011 5:25 pm Post subject: |
|
|
| philhu wrote: | Do you want my vb code to see where I was with it all? |
My greatest interest right now is to see your UI. If building your code is quick and easy in my VS2008 that would be fine. Or you could post or attach a screen shot, or furnish the executable.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Thu Jul 14, 2011 7:56 pm Post subject: |
|
|
Screen shots are attached. The main show selection is shown and for some reason, the actual file/show link screen is there to download (TD2.PNG). That is the one you really want to see
The code is from VB vs2006 (Not .net), so it would require some work to move over. I havent gotten to an executable yet, I can attach one, but you will need the vb6rt, and I have a few errors in old code I have to look at to make an exe
Basically, you select a show in the search. You click the name, not season, and select a button named link
A window comes up with all the show / episodes on the left with a number and asks for a directory of show files, which is recursively read and displayed on the right (A middle column shows links buy the show numbers above
The program then looks at show filename, and links any using nxn or snnenn formats
Second step is grap 2-3 words from show file titles and look for those 3-4 words in Episode names on the left. If it matches, that file is
linked. Then the user sees the links and can override any link there, or change/add links by clicking a name on the left and a filename on the right
When done, any shows linked can be renamed and meta file-ized.
| Description: |
|
| Filesize: |
30.42 KB |
| Viewed: |
340 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
td2.png |
| Filesize: |
47.66 KB |
| Downloaded: |
14 Time(s) |
|
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Fri Jul 15, 2011 4:29 am Post subject: MG test version with file matching for season exports |
|
|
This is a test version (312T3) so the download link will only be posted here:
http://www.mediafire.com/download.php?xxugiey2b21vbee
There is a new menu choice when you right click a Season.
MG will attempt to match ep titles with file names in the folder that you select. A form listing all the episode titles will appear with the matching file names in the second column or "no match found". Use the "browse" buttons to find a file to match a series if MG found no match, or if you don't agree with the match it found. You can check or uncheck the Process checkboxes as desired to select which episode/file combos will be processed. When done, hit the "Process" button and your selected combos will be processed. Or hit the "Cancel" button or just close the form if you decide not to process anything.
I'm sure there will be tweeking to be done on the matching algorithm. Please provide details (episode title and file name that should have matched but didn't) for the failures, to help me improve it.
_________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 473
|
Posted: Fri Jul 15, 2011 4:57 am Post subject: |
|
|
hi
I grabbed it!!! Cool!
A few things:
If the user clicks on the show name, not a season, can you do a process all manual or automatic? Reason is that a person will have 100 episodes uncatalogged in a directory. If they say to process the entire show, you can use all episodes found recursively in the directory specified. Upon matches/processing, you can then, using a path from the video file, create directories for each season and place the shows there.
The matching needs work. I think you need to match at least 2 words in the titles. Also, if you do the all season stuff, it would have found matches as I said season 1 and the shows are season 2. Good start though. Make a column for season and episode number and multiseason would be almost perfect
I've enclosed my match code. Maybe you can see something in it worth using
| Description: |
|
| Filesize: |
68.19 KB |
| Viewed: |
323 Time(s) |

|
| Description: |
| basic code i used to match items. It uses 2+ words |
|
 Download |
| Filename: |
matchcode.bas.txt |
| Filesize: |
5.15 KB |
| Downloaded: |
25 Time(s) |
|
|
| Back to top |
|
 |
|
|
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
|
|