Posts: 772
Joined: Sep 2008
Reputation:
5
xexe
Posting Freak
Posts: 772
No problems at all and thanks for that.
I have done some basic testing and it looks lie parsing the filename for one of these source phrases surrounded by a delimiter is accurate and false positive free. So this part is a no brainer.
We should probably have a config system similar to season and ep scraper to allow users to add their own source keywords. Where that gets tricky is that adding a bespoke regex match would grab the source text but showing that text via the gui wouldnt be with an image. I suspect all skinners will use images for these sources like HD Tagging. Not sure how to get around that one.
For the files that dont have a source in the filename is there anything we can do by looking at the resolution/codec/frames/video length vs size themselves to categorize them "generally". I suspect not but its worth asking.
Having problems getting your TV shows recognized?
Try my extra TV show matching REGEX
here
Posts: 772
Joined: Sep 2008
Reputation:
5
xexe
Posting Freak
Posts: 772
Can i suggest that this could become a more complicated project than we first envisioned however stage 1 could be as simple as:
detect HDDVD, BluRay and DVDRIP from the filename. This would remove the need for the designers to do this in the skin and by adding it to the core database improve the current situation.
I would also suggest it is logical to do this scanning along side the HD tagging.
Having problems getting your TV shows recognized?
Try my extra TV show matching REGEX
here
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Would indeed be great if this discussion wont get distracted by politics. I would love to have XBMC look at the NFO, which allows for those who want to edit using NFO editors. For those who prefer not to use them, it of course would be ideal if this doesnt remain the only option.
Thanks to everyone's help!!!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 252
Joined: Jan 2009
Reputation:
1
Thought i'd put my 2 cents in and say that extracting from the file name for my tv and movie library wouldn't work very well. However getting the source (the ones from xexe's list) from the folder name that the file is stored in would give 100% correct info.
Quite often my files end up being sdfe-123.avi. However my folder is Safe.Die.Fling.Elephant-Dvdrip.xvid-123.
Not sure if this is even possible but if it is considered that would be great.
Cheers
Posts: 772
Joined: Sep 2008
Reputation:
5
xexe
Posting Freak
Posts: 772
2009-08-23, 09:59
(This post was last modified: 2009-08-23, 10:02 by xexe.)
Not only do I think it would be possible I think it would be the way it would work.
We would simply parse the3 whole file and path for keywords and use that.
This is never going to be 100% accurate as the info just wont be there 100% of the time but since some skins already do it and it on paper is very similar to alot of things XBMC already has code for it makes alot of sense to me.
I can also offer to do all of the regex and testing against that regex.
Having problems getting your TV shows recognized?
Try my extra TV show matching REGEX
here
Posts: 772
Joined: Sep 2008
Reputation:
5
xexe
Posting Freak
Posts: 772
2009-12-27, 12:50
(This post was last modified: 2009-12-27, 12:56 by xexe.)
I have updated the list and grouped them where appropriate. I am prepared to bet some of the groupings are wrong.
r5
cam
ts
tc
wp
dvdscr|dvdrip|dvdrips
vhs|vhsrip|vhsscr|scr
sdtv|pdtv|tvrip
dsr|dsrip
hdtv
hddvd|hd-dvd
bluray|blu-ray|bdrip|brrip
On top of this I think we need to differentiate between a proper source and say a SCR of that source. They are in effect two different things.
I am open to suggestion of giving them completely different groupings or to do a second match once the main grouping has been derived.
I would like to see us get to the point where we can assign a number to each group and have a field in the database for it.
The actual population of this field is another much bigger job that can be looked at separately.
Having problems getting your TV shows recognized?
Try my extra TV show matching REGEX
here
Posts: 772
Joined: Sep 2008
Reputation:
5
xexe
Posting Freak
Posts: 772
2009-12-27, 15:59
(This post was last modified: 2009-12-27, 16:06 by xexe.)
Had some discussions on this and there are some policitcs to take into account.
To that end can I suggest we simply clasify sources as:
SDTV
HDTV
DVD
LASERDISC
HDDVD
BLURAY
the means of detecting these is a debate for a later day.
The main focus this now is to stop skins having to do the work.
Having problems getting your TV shows recognized?
Try my extra TV show matching REGEX
here