![]() |
|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Tv recordings format
Hello hello
I have completely reinstalled my sage server and only installed BMT The trouble i'm having is that my recorded tv shows is in this format : CSI-Del7ssong6-61628-0.ts programname - epesode season - ? - ?.ts Is there any way to configure BMT to read these files ? Many thanks |
#2
|
||||
|
||||
nisse, all filenames are scraped by bmt using a set of scrapers in the SAGE_HOME/STVs/Phoenix/scrapers/xbmc/tvfilenames/ directory.
These scrapers basically contain "functions" that parse different parts of the filename for information, that bmt uses for lookups. The current Sage Airing scraper will not match on your sage recordings, so you'll need a new scraper. Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- TV Filename Scraper. Used to Scrape Show Name, Season and Episode from a given file URI $$1 is always the complete file uri --> <scraper name="title-Del0ssong0" content="filename" thumb="thumb.png"> <!-- input: $1=complete file uri --> <!-- returns: show name --> <GetShowName dest="3"> <RegExp input="$$1" output="\1" dest="3"> <expression>.*[/\\](.*)-Del([0-9]{1,2})ssong{1,2}([[0-9]]+)</expression> </RegExp> </GetShowName> <!-- input: $1=complete file uri --> <!-- returns: Season #--> <GetSeason dest="3"> <RegExp input="$$1" output="\2" dest="3"> <expression>.*[/\\](.*)-Del([0-9]{1,2})ssong{1,2}([[0-9]]+)</expression> </RegExp> </GetSeason> <!-- input: $1=complete file uri --> <!-- returns: Episode #--> <GetEpisode dest="3"> <RegExp input="$$1" output="\3" dest="3"> <expression>.*[/\\](.*)-Del([0-9]{1,2})ssong{1,2}([[0-9]]+)</expression> </RegExp> </GetEpisode> </scraper>
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Thank you for your reply
Did i do this right ? I created a file named "scraper.xml" in "C:\Program Files\SageTV\SageTV\STVs\Phoenix\scrapers\xbmc\tvfilenames" I pasted the code from your post and restarted sagetv service. Everyting looks thesame. Did i miss anything ? |
#4
|
||||
|
||||
Keep in mind that I just edited that on the fly, but yeah, that looks right. You have my email, so feel free to do a couple of scans and then send me the logs. Also, send me some complete filenames as well.
I did notice the Del#ssong# in your recordings the last time, but I wasn't sure what that was. Also, CSI is notoriously bad to match on ![]() If I get a chance tonight, I can try to test the scraper that I gave to see if it actually does work. (I'm at work, so I can't really test these things until I get home)
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
|||
|
|||
Thank you for trying Sean.
Because i cant get seson and episode to work correctly is there a way to only get fanart ? If not can i somehow fake a season and episode nr like s:1 e:1 so fan art is downloaded. (I have "Preserve Original Metadata for Recordings" marked anyway) |
#6
|
||||
|
||||
Quote:
![]()
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
Ok thats strange
The only way i can get it to work is if i manualy add a seson and episode nr (see attached pic) I only change seson and episode from 0 to 1 then it works. To bad that it cant make this automaticly. |
#8
|
||||
|
||||
Quote:
![]()
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#9
|
|||
|
|||
You are right.
I will use BMT for movies only and hope my setup will work in future releses. Thanks again Sean |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need advice before re-format | vvulture | SageTV Software | 2 | 05-03-2007 01:06 AM |
HD Recordings in Proprietary Format? | jkohn | SageTV Software | 10 | 10-11-2006 09:19 PM |
IR Code (Pronto Format) as in UIRT Helper --> SageTV Format as in Sagetv.properties | krasev | Hardware Support | 0 | 09-12-2006 10:56 PM |
Import recordings/setting/favorites after a format?? | Bittermormon | SageTV Software | 3 | 07-16-2006 02:52 AM |
what format are sage recordings | aoehlke | General Discussion | 2 | 05-12-2005 02:06 PM |