mmmmmtasty / SportScanner

Scanner and Metadata Agent for Plex that uses sportdb
101 stars 31 forks source link

Initial Cover Art/Naming? #13

Closed Superduper09 closed 8 years ago

Superduper09 commented 8 years ago

Hi I am having an issue with getting the naming/art working for Motorsport/Formula 1 races.

I have all of 2015 Season currently in: Sports>Formula 1 2015>"F1.2015.03.15.Australia 2015 SkyF1 Race Session.720p50.mp4" and the folder in Plex gets named Sports > "Formula 1 2015:F1" > Season 2015 > Australia 2015 SkyF1 Race Session

However there is no poster art for Formula 1 section (within the Sports library) -- and even when I add it, on rescan it gets deleted (same with any custom renaming).

I previously had it Sports > Motorsport > Formula 1 > Season 2015 > "F1.2015.03.15.Australia 2015 SkyF1 Race Session.720p50.mp4" but that made the Plex title Motorsport/Formula1/Season 2015 -- so it didn't look good in Plex, and as noted when manually changed/locked it got reset after rescanning.

Just a small nitpick...not sure what I am doing wrong/if there is a fix...otherwise very happy it is working so far/scanning in Plex!!

Thanks!

zag2me commented 8 years ago

Here is the corresponding event on TheSportsDB

http://www.thesportsdb.com/event/447358

Seems to have a poster already.

You can see an example filename at the bottom of the page.

Superduper09 commented 8 years ago

Thanks I can try tinkering with it later tonight, it picked up the episode name format so I figured my name format was working - but none of the posters/images would load in Plex. I manually updated it using the links to the images on sportsdb, but as noted it would get reset after scanning...

On Mon, Feb 22, 2016 at 2:39 AM, Zag notifications@github.com wrote:

Here is the corresponding event on TheSportsDB

http://www.thesportsdb.com/event/447358

Seems to have a poster already.

You can see an example filename at the bottom of the page.

— Reply to this email directly or view it on GitHub https://github.com/mmmmmtasty/SportScanner/issues/13#issuecomment-187117526 .

mmmmmtasty commented 8 years ago

Hi Superduper09

Your original layout is the way it should be: Sports/Motorsport/Formula 1/Season 2015/. Could you show me what you mean was breaking - perhaps a screenshot?

The naming of your files is not like any that I've used or tested with so that might be the issue. Could you give me a log file that shows this file being scanned? The scanner should be able to match events when there is only one event on that particular date even if the title is a bit screwed up.

Thanks

MmmmmTasty

Superduper09 commented 8 years ago

Hi,

Sure let's see, I basically am having trouble with getting the art to load/everything to scan correctly.

So I made the folder as I had it originally, and put 1 file in properly named, using the file example "Formula 1 2015-03-15 Australian Grand Prix.mp4" -- however this did not get picked up by the scan. I then changed it to how I had it "F1.2015.03.15.Australia 2015 SkyF1 Race Session.720p50.mp4", and it did get picked up.

Here are the logs of the scans, let me know if you need anything else: F1 renamed not picked up.txt F1 renamed picked up.txt Sportscanner Log.txt

Here is what my Plex on Sports with the 2 F1 folders looks like after (note the cover art on the left side is what I am trying to do, just not manually)

image

If you notice the Motorsport/Formula 1/Season 2015 folder on the right doesn't show as "Formula 1", and just the folder name (doesn't look good). The other folder is titled "Formula 1 2015: F1. Both go to the Season view after clicking:

image image

and after clicking into Season on both : image image

Note, my content in the "Formula 1 2015: F1" is not in a Season 2015 sub folder (Sports\Formula 1 2015\xxx.mp4), so I am assuming it is getting picked up properly somewhere?

Now for what was breaking... I was able to reproduce it when I changed the Motorsport\Formula 1 category on plex to Formula 1: image

I then added 23 files to that folder and rescanned, and it "broke" by renaming the category back (if I added poster art I assume it would have also went back to default/no art -- the art/titles are what I meant by what was breaking) image

Scan after F1 folder rename.txt Updated sports scanner log.txt

So for now I have the files somewhat able to be scanned --it picks up the episode naming as 315xxxx, from what I understand it is MDD then 4 random numbers-- So the March 15 race in Australia is 315xxxx, March 29 race in Malaysia is 329xxxx etc... it just seems like it should be grabbing some art too?

Let me know if I didn't explain anything well enough or if you need different logs etc. Thanks!

mmmmmtasty commented 8 years ago

Are you running Windows?

I can see that the scanner is picking up the show name as "Motorsport\Formula 1\Season 2015" which is obviously wrong and why it looks so strange for you.

I have created the following and it matches the show and season properly (it doesn't get the episode named perfectly but I'm looking at that):

"P:\SportsTest\Motorsport\Formula 1\Season 2015\F1.2015.03.15.Australia 2015 SkyF1 Race Session.720p50.mp4"

Are you running the latest version of the Scanner (more important than the metadata agent part)? Please make sure you have the latest version, restart your PMS and then create a new section with the SportScanner agent and scanner and then send me the log file.

Apologies but I can't replicate the behaviour you are seeing right now.

Thanks

mmmmmtasty commented 8 years ago

Please make sure you have the latest copy of the scanner scripts, make sure the sportsdb is up and working, then create a brand new SportsTest section pointing at your sports directories. Make sure the naming is in this form:

/Volumes/HTPC 03/Sport/Motorsport/MotoGP/Season 2015/MotoGP.2015.06.27.Motul.TT.Assen.720p.HDTV.mkv

Then when you have created the section and the scanning etc is completed please send me the following three log files:

~/Library/Logs/Plex Media Server/Plex Media Server.log ~/Library/Logs/Plex Media Server/Plex Media Scanner.log ~/Library/Logs/Plex Media Server/PMS Plugin Logs/com.plexapp.agents.sportscanner.log

mmmmmtasty commented 8 years ago

v0.2 released, check out the readme, download the latest release, recreate your library and let me know how it goes.

Superduper09 commented 8 years ago

Thanks! Interesting...it is putting them in as "Special", but seems to be formatted better, pics below. Isn't picking up art still though.

After the update I tried renaming one of the files to the format from sportsdb but didn't change anything either (Formula 1 2016-03-20 Australian Grand Prix.mp4 vs F1.2016.03.20.Australia 2016 Race Session.1080p50.mp4)

image image image image

Here are the logs: com.plexapp.agents.sportscanner.txt Plex Media Scanner.txt Plex Media Server.txt

mmmmmtasty commented 8 years ago

Hiya, I should have mentioned, check out the readme and you will see that the folder structure requirement has changed a bit. You have this (which is what I used to make you have):

Z:\Sports\Motorsport\Formula 1\Season 2016

It must now be this:

Z:\Sports\Formula 1\Season 2016

Sorry for that, the original folder structure was a bad design decision by me, the new one is much more sensible and should work more reliably.

Thanks

Superduper09 commented 8 years ago

Ah got it, thank you! It is working now :)

My file format structure may need some work now though...is there a way to somehow sort or name format for having a pre race/race/post race? image

mmmmmtasty commented 8 years ago

There isn't unfortunately. How do you think it should look. Different episodes or merging the three videos into one episode? Please open a feature request with some details of what naming schemes you have and how you would like it to work and I'll see what is possible. Thanks, glad to hear it's working now.