INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: CountryBumkin on January 31, 2015, 11:36:53 am

Title: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: CountryBumkin on January 31, 2015, 11:36:53 am
I would like to add TV Show's "First Aired" date to my Theater View display, if Developers can find a way to import it.
I see the date info is available at TVDB (at least from a single Users view).

(http://i921.photobucket.com/albums/ad54/mshumack/BIgBangTheoryS1E3_zpsh6hh7kdr.jpg)


This is my current view. Note that the Date field is showing "Jan 11" (which is the imported date) - this is where "First Aired" date should go.
BTW - I don't know why it shows Jan 11 in one place and "2007" in another place, when they are the same field (as far as I can tell both locations use field "Date").

(http://i921.photobucket.com/albums/ad54/mshumack/TheaterView%20of%20BigBangS1E3_zpspnuadkls.jpg)
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: CountryBumkin on February 01, 2015, 07:58:32 am
PS.
it looks like the "AirDate" is available, it's just not making its way into my/the MC database.


From TVDB http://www.thetvdb.com/wiki/index.php?title=API:GetEpisodeByAirDate

<airdate>

This is the date the episode aired on you are trying to lookup. This can be supplied in any valid date type. Examples:
2008-01-01
2008-1-1
January 1, 2008
1/1/2008
etc

Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Hendrik on February 01, 2015, 08:02:27 am
It puts that date into the "Date" field for me? Is that not working for you?
I just checked on a new series I ripped just a few days ago, and its in there just fine. Didn't even run manual lookup, just put them into an auto-import folder and MC did its thing.

Note that the automated metadata lookup does not overwrite values, so if it got a year info from the files metadata or the filename, it may require a manual lookup.
Maybe it should overwrite the date value?
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: CountryBumkin on February 01, 2015, 09:00:55 am
I'm mostly only getting the "Year" not the complete "AirDate". Even if I clear all the data in the Date fields and do a new manual lookup, only the Year data imports (the month and day are not importing).

(http://i921.photobucket.com/albums/ad54/mshumack/TV%20Show%20dates_zpsqgjddjx7.jpg)


I don't know why some episodes have complete date information (like the TV series "Black Sheep Squadron). All of the TV Shows are recoded OTA. I don't know if the full "first air" date comes through with the OTA data and some stations include a full date (mm/dd/yyyy) and some just include the year. But I am not able to get the full date by manually going to "Get Movie & TV Info" (which should be the fix for incomplete OTA metadata).

If I go to TVDB I can see that the full date (AirDate) is available, but it does not seem to download (and the "Get Movie & TV info" only shows the Year in the episode data - is it looking at/importing the "AirDate" or just the "Year" aired?)

(http://i921.photobucket.com/albums/ad54/mshumack/GetMovieampTVinfo_zpsi9lfnhwb.jpg)
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Hendrik on February 01, 2015, 10:07:51 am
Not sure what to tell you...

(http://i.imgur.com/1qf6o8D.png)

Wonder if its maybe related to the locale somehow screwing over date parsing? It works just fine using german date settings here! ;)
The XML we retrieve contains "<FirstAired>2007-10-08</FirstAired>", which should be internationally parseable I imagine...

Which date locale is your OS set to?
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: CountryBumkin on February 01, 2015, 10:55:05 am
My computer is setup as "(UTC -05:00) Eastern Time (US & Canada)"
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Yaobing on February 01, 2015, 10:55:40 am
I get what CountryBumkin got.
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Hendrik on February 01, 2015, 10:58:26 am
I volunteer Yaobing to look at the date parser then! :) This particular case is in the TheTVDB parsing, where its gathering the FirstAired info.
I switched mine to US date formatting and still working...
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Yaobing on February 01, 2015, 12:08:15 pm
I will.
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Yaobing on February 02, 2015, 10:20:33 am
When I ran it in debugger, the date is parsed correctly.  I did get the correct year, month and date.

Maybe someone already fixed this?

EDIT:  I tried again re-installing build 64.  It did not get full date, only year.  Then I built JRTools.dll using the latest code.  I now get full date.  So it must have been fixed with the latest code.
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Hendrik on February 02, 2015, 11:24:58 am
Sounds to me like it was broken on .64 only. I didn't update to that on my actual systems in use because Matt broke things. :)
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Matt on February 02, 2015, 11:45:29 am
because Matt broke things. :)

That's what I'm here for.
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: CountryBumkin on February 02, 2015, 12:01:46 pm
Sounds to me like it was broken on .64 only. I didn't update to that on my actual systems in use because Matt broke things. :)

I don't think it broke in .64, because I had this date import issue before 64. If you look at the  file import dates (in the screen shot a few posts above) you can see that I have been getting the "incomplete" dates for a while - at least back to early December.  EDIT - I was just thinking that maybe the problem is just with .64 and I made my situation worse by doing a "large group TV info lookup/update" while 64 was running. Maybe it that action removed some good dates and replaced with only "year" date.

Regardless, I be glad when the issue is fixed.

Will I see a fix in .65? Or do I need to have the JRTools.dll "rebuild" Yaobing mentioned?
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: Hendrik on February 02, 2015, 05:37:45 pm
All I know is that I was running .63 when I tested, and it parsed the date just fine and showed it in the dialog in question, so try again with .65
Title: Re: Can TV Show' "First Aired" date be added to metadata info imported from TVDB?
Post by: CountryBumkin on February 04, 2015, 10:43:35 am
.65 fixed the problem. Thanks!