This project has moved and is read-only. For the latest updates, please go here.

Output file not adding Season and Episode

Feb 21 at 2:12 AM
Edited Feb 21 at 1:59 PM
just recently upgraded to 2.4.6 from 2.3. Now my output files no longer are adding the season and episode names to the file. It pulls the name the season name and the episode name.
-> Process exited with code 0
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.Engine.ConversionJob --> Running custom commands
2017-02-20T19:41:19 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read ->  
PreMetaCustomCommandPath =  
PreMetaCustomCommandParameters =  
PreMetaCustomCommandHangPeriod = 300 
PreMetaCustomCommandCritical = False 
PreMetaCustomCommandUISession = False 
PreMetaCustomCommandShowWindow = True 
PreMetaCustomCommandExitCodeCheck = False
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.Transcode.CustomCommand --> No custom commands found
2017-02-20T19:41:19 MCEBuddy.Engine.ConversionJob --> Finished pre metadata custom command, source file size [KB] 7,199,744.00
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.Engine.ConversionJob --> Getting show information and banner from Internet sources
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Extracting metadata from file -> D:\Recorded TV\Gotham_KMSSD_2016_03_21_18_58_00.wtv
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Extracting MCE Tags
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Extracting Windows Media Center metadata
WARNING> 2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Error reading WM Artwork -> System.ArgumentNullException: Buffer cannot be null.
Parameter name: buffer
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at MCEBuddy.MetaData.VideoMetaData.ExtractMCETags()
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted -> 
Title: Gotham
SubTitle: Wrath of the Villains: Mad Grey Dawn
Description: Gordon and Bullock investigate a museum robbery; Gordon's role in Galavan's murder could be exposed; Penguin meets his father; and Bruce practices his street smarts.
Network: KMSS HDTV
Network Affiliate: FOX
Parental Rating: 
Media Credits: Ben McKenzie/Donal Logue/Morena Baccarin/Michael Chiklis/Sean Pertwee/Robin Lord Taylor/Erin Richards/David Mazouz/Camren Bicondova/Cory Michael Smith/James Frain/Jessica Lucas/Chris Chalk/Nicholas D'Agosto/Drew Powell/Paul Reubens/Clare Foley/Ian Quinlan/Jerry Dixon/Paul Pilcz/Melinda Clarke/Justin Mark/Kaley Ronayne;;;
Genres: action,adventure,other
Season: 0
Episode: 0
Banner: 
Banner URL: 
IMDB Id: 
MovieDB Id: 
TVDB Id: 
Is Show Movie: False
Is Show Sports: False
OriginalBroadcastDateTime: 2016-03-21T00:00:00
RecordedDateTime: 2016-03-21T18:58:03
SeriesPremiereDate: 1899-12-31T18:00:00
CopyProtected: False
SageTV FileID: 
SageTV MediaFileID: 

2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR/SiliconDust series showname -> Gotham_KMSSD_2016_03_21_18_58_00
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Looking for Season/Episode information in text
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR movie showname -> Gotham_KMSSD_2016_03_21_18_58_00
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Trying to extract generic nPVR filename details -> Gotham_KMSSD_2016_03_21_18_58_00
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Invalid nPVR generic filename
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Looking for Season/Episode information in text
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.MetaData.FileExtractMetadata --> Extracting NFO Tags
2017-02-20T19:41:19 MCEBuddy.MetaData.FileExtractMetadata --> Extracting XMBC metadata
2017-02-20T19:41:19 MCEBuddy.MetaData.FileExtractMetadata --> Successfully extracted XBMC XML Movie metadata
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted from file/name metadata -> 
Title: Gotham
SubTitle: Wrath of the Villains: Mad Grey Dawn
Description: Gordon and Bullock investigate a museum robbery; Gordon's role in Galavan's murder could be exposed; Penguin meets his father; and Bruce practices his street smarts.
Network: KMSS HDTV
Network Affiliate: FOX
Parental Rating: 
Media Credits: Ben McKenzie/Donal Logue/Morena Baccarin/Michael Chiklis/Sean Pertwee/Robin Lord Taylor/Erin Richards/David Mazouz/Camren Bicondova/Cory Michael Smith/James Frain/Jessica Lucas/Chris Chalk/Nicholas D'Agosto/Drew Powell/Paul Reubens/Clare Foley/Ian Quinlan/Jerry Dixon/Paul Pilcz/Melinda Clarke/Justin Mark/Kaley Ronayne;;;
Genres: action,adventure,other
Season: 0
Episode: 0
Banner: 
Banner URL: 
IMDB Id: 
MovieDB Id: 
TVDB Id: 
Is Show Movie: True
Is Show Sports: False
OriginalBroadcastDateTime: 2016-03-21T00:00:00
RecordedDateTime: 2016-03-21T18:58:03
SeriesPremiereDate: 1899-12-31T18:00:00
CopyProtected: False
SageTV FileID: 
SageTV MediaFileID: 

2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Checking for metadata title and series correction
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Downloading Series details
2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Meta correction results, dont' overwrite title -> False
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Recording Type Movie
INFORMATION> 2017-02-20T19:41:19 MCEBuddy.MetaData.VideoMetaData --> Checking TheMovieDB
--> No match found, checking for special characters in the Title
--> No match found in TMDB
WARNING> 2017-02-20T19:41:20 MCEBuddy.MetaData.VideoMetaData --> TheMovieDB failed
INFORMATION> 2017-02-20T19:41:20 MCEBuddy.MetaData.VideoMetaData --> Checking IMDB
--> Searching IMDB Movie with result offset 0 and overwrite title True
WARNING> --> Unable to connect to IMDB
Error -> System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at MCEBuddy.MetaData.IMDB.DownloadMovieDetails(VideoTags videoTags, Boolean dontOverwriteTitle, Log jobLog, Int32 offset)
WARNING> 2017-02-20T19:41:20 MCEBuddy.MetaData.VideoMetaData --> IMDB failed
2017-02-20T19:41:20 MCEBuddy.MetaData.VideoMetaData --> Updated Video Tags extracted after downloading details -> 
Title: Gotham
SubTitle: Wrath of the Villains: Mad Grey Dawn
Description: Gordon and Bullock investigate a museum robbery; Gordon's role in Galavan's murder could be exposed; Penguin meets his father; and Bruce practices his street smarts.
Network: KMSS HDTV
Network Affiliate: FOX
Parental Rating: 
Media Credits: Ben McKenzie/Donal Logue/Morena Baccarin/Michael Chiklis/Sean Pertwee/Robin Lord Taylor/Erin Richards/David Mazouz/Camren Bicondova/Cory Michael Smith/James Frain/Jessica Lucas/Chris Chalk/Nicholas D'Agosto/Drew Powell/Paul Reubens/Clare Foley/Ian Quinlan/Jerry Dixon/Paul Pilcz/Melinda Clarke/Justin Mark/Kaley Ronayne;;;
Genres: action,adventure,other
Season: 0
Episode: 0
Banner: 
Banner URL: 
IMDB Id: 
MovieDB Id: 
TVDB Id: 
Is Show Movie: True
Is Show Sports: False
OriginalBroadcastDateTime: 2016-03-21T00:00:00
RecordedDateTime: 2016-03-21T18:58:03
SeriesPremiereDate: 1899-12-31T18:00:00
CopyProtected: False
SageTV FileID: 
SageTV MediaFileID: 

INFORMATION> 2017-02-20T19:41:20 MCEBuddy.Engine.ConversionJob --> Running custom commands
WARNING> --> No Season and Episode information available, using show name
WARNING> --> No Season and Episode information available, using show name
Also Receiving this:
WARNING> 2017-02-20T19:58:19 MCEBuddy.MetaData.VideoMetaData --> TheMovieDB failed
INFORMATION> 2017-02-20T19:58:19 MCEBuddy.MetaData.VideoMetaData --> Checking IMDB
--> Searching IMDB Movie with result offset 0 and overwrite title True
WARNING> --> Unable to connect to IMDB
Error -> System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
Windows 7 / using MCE / ceton
Feb 22 at 1:08 AM
Your question isn't clear. The log shows that your files doesn't have the season and episode number in the metadata and TVDB does have that information either.
Feb 22 at 2:03 AM
Edited Feb 22 at 2:30 AM
[TEXT](https://www.dropbox.com/s/p6rhsll2aqfjk7v/file.jpg?dl=0

Here is an example as you can see the old 2.3.13 Release 13 version created the mp4 like this : The last Ship-S02E05-Achilles
The newest download of Mcebuddy i got yesterday and updated to 2.4.x. shows the title as: The Last Ship-A More Perfect Union
It doesn't contain the Season or the Episode number in the output .mp4.

I am using Windows Media Center and the all files description show the Season and Episode number. For some reason it will not pull this information from the file.

I also have RecordedTVHD installed on MCE so the xml files are in not in the same folder as the .wtv if that makes any since. This could possible be my issue. However, i have always had RecordedTVHD installed. Why would the old mcebuddy pull the old info fine and the new version its not possible?
The XML for RecordedTVHD is in my C:\Users\Public\RecordedTVHD\xml

I am going to reinstall the old version and see what it shows again since i lost the log file for it.

I truly hope i have made this clear.
Feb 22 at 2:38 AM
Here is a copy of a log from 2.3.13 release 13
--> Commercial Skip Cut (profile + task) -> False
--> Pre-Conversion Commercial Remover -> True
--> Ignore Copy Protection -> False
--> Free Space Check -> True
--> Subtitle Cut Segment Incremental Offset -> 3.2
--> Locale Language -> ENG
--> .NET Framework Version -> 4.0, Service Pack -> 0
INFORMATION> 2017-02-21T20:27:14 MCEBuddy.Engine.ConversionJob --> Current System language is English (United States) (eng)
INFORMATION> 2017-02-21T20:27:14 MCEBuddy.Engine.ConversionJob --> Getting show information and banner from Internet sources
INFORMATION> 2017-02-21T20:27:14 MCEBuddy.MetaData.VideoMetaData --> Extracting MCE Tags
2017-02-21T20:27:14 MCEBuddy.MetaData.VideoMetaData --> Extracting Windows Media Center meta data
2017-02-21T20:27:14 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted -> Title: The Last Ship
SubTitle: Friendly Fire
Description: A suspicious death on the ship leads Chandler to launch a murder investigation, jeopardizing order and discipline on the vessel. Meanwhile, Rachel works on a more efficient cure, Alisha decodes an Immune message, and the ship heads to New Orleans.
Network: Turner Network Television HDTV (East)
Genres: action/adventure,other
Season: 0
Episode: 0
Banner: 
Banner URL: 
IMDB MovieId: 
MovieDB MovieId: 
TVDB SeriesId: 
Is Show Movie: False
OriginalBroadcastDateTime: 2015-08-16T00:00:00
RecordedDateTime: 2015-08-16T19:58:03
CopyProtected: False

INFORMATION> 2017-02-21T20:27:14 MCEBuddy.MetaData.VideoMetaData --> Downloading Series details
INFORMATION> 2017-02-21T20:27:14 MCEBuddy.MetaData.VideoMetaData --> Recording Type Show
INFORMATION> 2017-02-21T20:27:14 MCEBuddy.MetaData.VideoMetaData --> Checking TheTVDB
INFORMATION> 2017-02-21T20:27:15 MCEBuddy.MetaData.VideoMetaData --> Checking TheMovieDB
INFORMATION> 2017-02-21T20:27:15 MCEBuddy.MetaData.VideoMetaData --> Checking TV.com
2017-02-21T20:27:17 MCEBuddy.MetaData.VideoMetaData --> Updated Video Tags after downloading details -> Title: The Last Ship
SubTitle: Friendly Fire
Description: A suspicious death on the ship leads Chandler to launch a murder investigation, jeopardizing order and discipline on the vessel. Meanwhile, Rachel works on a more efficient cure, Alisha decodes an Immune message, and the ship heads to New Orleans.
Network: Turner Network Television HDTV (East)
Genres: action/adventure,other
Season: 2
Episode: 10
Banner: C:\Program Files\MCEBuddy2x\cache\The Last Ship.jpg
Banner URL: http://www.thetvdb.com/banners/graphical/269533-g.jpg
IMDB MovieId: tt2402207
MovieDB MovieId: 
TVDB SeriesId: 269533
Is Show Movie: False
OriginalBroadcastDateTime: 2015-08-16T00:00:00
RecordedDateTime: 2015-08-16T19:58:03
CopyProtected: False

INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Running Custom Commands
2017-02-21T20:27:17 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read ->  
PreCustomCommandPath =  
PreCustomCommandParameters =  
PreCustomCommandHangPeriod = -1 
PreCustomCommandCritical = False
INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Transcode.CustomCommand --> No custom commands found
2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Finished pre conversion custom command, source file size [KB] 5,825,792.00
INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Checking for disk space
2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> File size -> 5.555908 GB
2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Destination space -> 573.3945 GB
2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Working space -> 89.30931 GB
2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Required free space -> 13.88977 GB
2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Max concurrent conversion jobs -> 1
INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Checking for SRT File
INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Checking for EDL File
INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Found existing EDL file and saved it
INFORMATION> 2017-02-21T20:27:17 MCEBuddy.Engine.ConversionJob --> Remuxing recording
2017-02-21T20:27:17 MCEBuddy.RemuxMediaCenter.RemuxMCERecording --> Force Remuxsupp (UseWTVRemuxsupp) : False
Feb 22 at 12:11 PM
Check your settings, the partial logs shows your metadata is telling mcebuddy that this a movie file so it isn't downloading the season information.
Either you've set the conversion task to force the show type to movie or your XML metadata file has set the type to movie.
Is Show Movie: True
Feb 22 at 12:16 PM
Upload your files log, metadata and original file to the mcebuddy server if you would like us to check it out.
Feb 23 at 12:47 AM
Edited Feb 23 at 12:48 AM
Ok currently uploading the files. Says it will take about an hour for the episode.

I did notice that the nfo file has <movie>. However, MCEBuddy 2.3.13 converted another show, The Last Ship, just fine. The NFO for that file also said <movie>.
I have attached that file in folder: NFO that converted fine with v2.3.13 MCEBuddy.


I am not sure what is creating the NFO file either.

You may find all files in Season and Episode in ftp folder.

Thank your help.
Feb 23 at 6:09 PM
If the NFO has a movie tag then that's what MCEBuddy will use, the newer versions have a LOT more support for new formats and metadata hence it's parsing the NFO file the way it should. If you can't fix the NFO file then create a custom conversion task for these recording and in the Expert Settings page force the Show Type to Series.

We'll go through the recording also but that what is sounds like, whatever is generated your NFO is generating it incorrectly possibly.
Feb 23 at 7:05 PM
So had a look at it, that is the issue, your NFO file is telling MCEBuddy that it's a movie.

I also noticed that your WTV file metadata is just fine, it's indicating that it's not a movie, but then you have a NFO file that overriding that correct information from your WTV file. Why do you even have a NFO file, it doesn't seem to serve any purpose from an additional metadata point? In this case it's the cause of your troubles because of incorrect information.

If you can't correct it or get rid of it then use the forced show type option in the previous post. MCEBuddy is working the right way here (2.3.13 doesn't parse NFO metadata properly which is why you weren't seeing the issue).
Marked as answer by bustersnm on 2/23/2017 at 3:12 PM
Feb 23 at 11:12 PM
Awesome thank you for taking a look. Just deleted all NFO files and restarted MCEBuddy and everything is working. Turned off emby folder watching as I hope that is what is creating the false NFO file.

Thank you sir.