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

Extracting Release year for Recorded Movies WTV

Nov 12, 2015 at 5:21 AM
Hi,

I am using MCEBuddy v2.4.2 on WMC in Windows 8.1

I like how it can split my RecordedTV files (.WTV) into separate Movies vs TV Shows directories, with different converted filename structure. This is generlaly working, except for Movies, where I want the Release Year to be after the movie name (ie \Movies\Chopper (2000).mp4)

I cannot find a variable in MCEBudy custom renaming that relates to "Release Year" of the WTV file.

Extract from the log shows that the WTV file contains the Release year of the movie in a field called:
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base --> WM/OriginalReleaseTime: 1998

I have tried %premiereyear%, but this does not return anything

I have tried %airyear%, but this seems to return the value from WM/MediaOriginalBroadcastDateTime

My current custom rename string is:
%ismovie%<WMC-Movies\%showname% (%airyear%),WMC-TV\%showname%\Season %season%\%showname% - %ifepisode%<S%season%##E%episode%##,%recordyear%-%recordmonth%-%recordday% - %recordhour%%recordminute%>>
Here is extract of my log, regarding the Metadata:
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base --> Input #0, wtv, from 'E:\Recorded TV\Shakespeare In Love_7TWO_2013_05_16_20_59_27.wtv':
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->   Metadata:
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Title           : Shakespeare In Love
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/SubTitleDescription: A young Will Shakespeare falls in love with the lead in his new play who inspires him to write one of his most famous plays(United States, English)
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     genre           : Comedy;Romance;Drama;General;Movies;Other
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/OriginalReleaseTime: 1998
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaCredits : Gwyneth Paltrow/Joseph Fiennes/Geoffrey Rush/Judi Dench/Ben Affleck/Colin Firth/Tom Wilkinson/Rupert Everett/Imelda Staunton/Antony Sher/Martin Clunes;John Madden;;
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     service_provider: 7TWO
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     service_name    : 7TWO
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaNetworkAffiliation: BSE Seven Network
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaOriginalChannel: 72
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaOriginalChannelSubNumber: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaOriginalBroadcastDateTime: 2012-02-01T13:00:00Z
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaOriginalRunTime: 102291662425
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsStereo: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsRepeat: true
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsLive  : false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsTape  : false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsDelay : false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsSubtitled: true
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsMovie : true
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsPremiere: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsFinale: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsSAP   : false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaIsSport : false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/ParentalRating: NC-17;TV-MA
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/Provider     : MediaCenterDefault
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/VideoClosedCaptioning: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVEncodeTime: 2013-05-16 10:59:30
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVServiceID: !Service!files_2405_7two
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVProgramID: !Program!GSI_icetv_26830_0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVRequestID: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVScheduleItemID: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVQuality  : 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVOriginalSoftPrePadding: 987
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVOriginalSoftPostPadding: 1800
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVHardPrePadding: 4294966429
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVHardPostPadding: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVATSCContent: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVDTVContent: true
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVHDContent: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbWidth: 352
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbHeight: 281
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbStride: 1056
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbRet: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbRatingSystem: 255
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbRatingLevel: 255
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbRatingAttributes: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbAspectRatioX: 16
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbAspectRatioY: 9
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/MediaThumbTimeStamp: 4646473581174838931
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Duration        : 102297445939
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVEndTime  : 2013-05-16 13:50:00
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVBitrate  : 4.902907
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVKeepUntil: 4294967295
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVActualSoftPrePadding: 4294967293
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVActualSoftPostPadding: 1800
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVContentProtected: false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVContentProtectedPercent: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVExpirationSpan: 9223372036854775807
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVInBandRatingSystem: 255
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVInBandRatingLevel: 255
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVInBandRatingAttributes: 0
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     WM/WMRVWatched  : false
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->   Duration: 02:50:28.28, start: 1.740389, bitrate: 4903 kb/s
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Stream #0:0[0x18f](eng): Subtitle: dvb_teletext, 492x250
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Stream #0:1[0x190]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Stream #0:2[0x192](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Stream #0:3[0xffffffff]: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 200x160 [SAR 96:96 DAR 5:4], 90k tbr, 90k tbn, 90k tbc
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->     Metadata:
2015-11-12T14:08:45 MCEBuddy.AppWrapper.Base -->       title           : TV Thumbnail
So, how do I extract the Release year?
Nov 12, 2015 at 7:05 AM
Good point, it was assumed that for movies the premier year was the same the original broadcast date and year. Clearly it's not the case.

This would require some fixing. If you have a few samples please cut out the FIRST 10mb chunks using the splitter tool on the server and upload them to the server in a folder for us to use a test samples. 10MB chunks only please (and first chunk only)

Nov 13, 2015 at 12:36 AM
Thanks for the reply. I have uploaded the samples as requested.

Filename is "Discussion 647293 Samples for ReleaseYear issue.zip"
Nov 14, 2015 at 6:22 AM
Okay fixed it, try the new build dated 11/14

The parameter still remains the same %airyear% but now it should pick up the release year.

Thanks for reporting it

Marked as answer by vbap on 11/16/2015 at 4:39 PM
Nov 16, 2015 at 11:12 PM
I can confirm it's working (tested on half a dozen recorded movies).

Thanks very much for the quick fix!