SmplyUnprdctble 3 Posted September 8, 2019 Share Posted September 8, 2019 Howdy folks! I have Emby set to record WWE programming (Monday Night RAW and SmackDown) from my setup. I'm getting Guide Data from Emby Guide Data. Current episodes of WWE SmackDown are listed as "S19Exx" instead of "S21Exx". This is causing the date aired and episode teaser text to be overwritten by thetvdb (and thus making it a little more difficult for me to watch backlogged episodes in order with WWE Monday Night RAW, which is getting the correct season number). The next example would be Tuesday, September 10 at 8pm Eastern on USA Network (or, if this date passes, any Tuesday, 8pm Eastern, USA). The episode number is labeled "S19:E37". The upcoming episode text of "Countdown to Clash of Champions, featuring Randy Orton versus champion Kofi Kingston. Plus, Charlotte Flair and champion Bayley" appears correct (I know Kofi Kingston and Bayley weren't champions back in 2017). The problem will come after the refresh against the metadata scrapers, it will get the TVDB entry from September 11, 2017 / S19E37 (https://www.thetvdb.com/series/wwe-smackdown/episodes/7337651) Is there a way to correct the episode number? My guess is Emby Guide Data's source has it listed as "Season 2019 Episode xx" and it's being trimmed down to S19, instead of the correct season of 21 (SmackDown started in 1999). My initial thought is to write a script that runs every Tuesday at 10:01pm to rename S19 to S21, but that feels like a bandaid to me instead of a real fix. If it didn't reset the teaser information from the metadata scrapers, that would probably work just as well (I don't pay attention to the season number, just air date). Thoughts? Thanks!!! Link to comment Share on other sites More sharing options...
Luke 37056 Posted September 13, 2019 Share Posted September 13, 2019 Hi there, can you please provide the emby server log from an example of this? thanks. Link to comment Share on other sites More sharing options...
SmplyUnprdctble 3 Posted September 13, 2019 Author Share Posted September 13, 2019 (edited) I think the root of the problem is the metadata you're getting from GN. If you pull up the Guide Data for Tuesday Evening 8pm on USA, it's displaying it's Season 19, when, in fact, it should be Season 21 right now. I'm hunting through the current log, and here's things I'm finding related to the program from this past Tuesday: 2019-09-10 19:59:59.999 Info LiveTV: Recording timer fired for WWE SmackDown!.2019-09-10 20:00:00.005 Info HttpClient: GET https://www.thetvdb.com/api/GetSeriesByRemoteID.php?zap2it=EP00317255&language=en2019-09-10 20:00:00.370 Info HttpClient: GET https://www.thetvdb.com/api/GetSeriesByRemoteID.php?zap2it=SH00317255&language=en2019-09-10 20:00:00.943 Info HttpClient: GET https://www.thetvdb.com/api/GetSeries.php?seriesname=WWE+SmackDown!&language=en2019-09-10 20:00:01.397 Info HttpClient: GET https://www.thetvdb.com/api/B89CE93890E9419B/series/75640/all/en.zip2019-09-10 20:00:02.584 Info App: MovieDbProvider: Finding id for item: WWE SmackDown!2019-09-10 20:00:02.585 Info HttpClient: GET https://api.themoviedb.org/3/search/tv?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=WWE+SmackDown!&language=en2019-09-10 20:00:02.741 Info HttpClient: GET https://private.omdbapi.com?apikey=fe53f97e&plot=full&r=json&s=WWE+SmackDown!&type=series2019-09-10 20:00:03.026 Info LiveTV: Getting media sources for recording from channel 65419 654192019-09-10 20:00:03.026 Info HttpClient: POST https://mb3admin.com/admin/service/registration/validate2019-09-10 20:00:03.027 Info LiveTV: Opening live stream for recording from channel 65419 654192019-09-10 20:00:03.027 Info LiveTvManager: Opening channel stream from Emby, external channel Id: hdhr_17.22019-09-10 20:00:03.027 Info LiveTV: Streaming Channel hdhr_17.22019-09-10 20:00:03.027 Info HdHomerunHost: GetChannelStream: channel id: hdhr_17.2. stream id: heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c profile: heavy2019-09-10 20:00:03.027 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from http://192.168.16.70:5004/auto/v17.2?transcode=heavy2019-09-10 20:00:03.027 Info HttpClient: GET http://192.168.16.70:5004/auto/v17.2?transcode=heavy2019-09-10 20:00:03.124 Info SecurityManager: Registered for MBSupporter2019-09-10 20:00:03.264 Info HttpClient: Http response 200 from http://192.168.16.70:5004/auto/v17.2?transcode=heavy after 237ms. HeadersServer=HDHomeRun/1.0, Connection=close, Cache-Control=no-cache, Pragma=no-cache, transferMode.dlna.org=Streaming, Date=Wed, 11 Sep 2019 00:00:03 GMT, X-HDHomeRun-Resource=tuner02019-09-10 20:00:03.264 Info SharedHttpPipelineSource: Beginning SharedHttpPipelineSource stream to /var/lib/emby/transcoding-temp/b56d59a3956048dca1718a4f9f45f2d5.ts2019-09-10 20:00:03.264 Info HdHomerunHost: Live stream opened after 237.6655ms2019-09-10 20:00:03.265 Info LiveTV: Returning mediasource streamId heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c, mediaSource.Id heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c, mediaSource.LiveStreamId null2019-09-10 20:00:03.265 Info MediaSourceManager: Live tv media info probe took 0.0003511 seconds2019-09-10 20:00:03.265 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/b56d59a3956048dca1718a4f9f45f2d5/stream.ts","Type":"Default","Container":"mpegts","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c","RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1001/60000","VideoRange":"SDR","DisplayTitle":"1080iH264","NalLengthSize":"0","IsInterlaced":true,"BitRate":20000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","CodecTag":"AC-3","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0}],"Formats":[],"Bitrate":20192000,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}2019-09-10 20:00:03.315 Info LiveTV: Will record to /mnt/Recordings/WWE SmackDown! (1999)/Season 19/WWE SmackDown! S19E37.ts for 119.944747448333 minutes.2019-09-10 20:00:03.515 Info HttpClient: GET https://emby.tmsimg.com/assets/p16151289_b_v7_aa.jpg2019-09-10 20:00:03.515 Info LiveTV: Copying recording stream to file /mnt/Recordings/WWE SmackDown! (1999)/Season 19/WWE SmackDown! S19E37.ts2019-09-10 20:00:03.800 Info LiveTV: Triggering refresh on /mnt/Recordings/WWE SmackDown! (1999)/Season 19/WWE SmackDown! S19E37.ts2019-09-10 20:00:03.801 Info LiveTV: Refreshing recording parent /mnt/Recordings/WWE SmackDown! (1999)/Season 192019-09-10 20:00:03.928 Info HttpClient: GET https://www.thetvdb.com/api/B89CE93890E9419B/series/75640/all/en.zip2019-09-10 20:00:04.131 Info HttpClient: GET https://private.omdbapi.com?apikey=fe53f97e&i=tt0227972&season=19&detail=full2019-09-10 20:00:04.747 Info HttpClient: GET https://api.themoviedb.org/3/tv/1549/season/19/episode/37?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,external_ids,credits,videos&language=en&include_image_language=en,null2019-09-10 20:01:03.518 Info LibraryMonitor: Season 19 (/mnt/Recordings/WWE SmackDown! (1999)/Season 19) will be refreshed.2019-09-10 20:01:03.800 Info LibraryMonitor: WWE SmackDown (/mnt/Recordings/WWE SmackDown! (1999)) will be refreshed.2019-09-10 20:11:32.062 Info HttpServer: HTTP GET http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml. UserAgent:2019-09-10 20:11:32.062 Info HttpServer: HTTP Response 200 to 192.168.16.106. Time: 1ms. http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml2019-09-10 20:11:37.317 Info HttpServer: HTTP GET http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml. UserAgent:2019-09-10 20:11:37.318 Info HttpServer: HTTP Response 200 to 192.168.16.106. Time: 0ms. http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml2019-09-10 20:11:42.484 Info HttpServer: HTTP GET http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml. UserAgent:2019-09-10 20:11:42.485 Info HttpServer: HTTP Response 200 to 192.168.16.106. Time: 0ms. http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml2019-09-10 20:11:46.299 Info HttpServer: HTTP GET http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml. UserAgent:2019-09-10 20:11:46.300 Info HttpServer: HTTP Response 200 to 192.168.16.106. Time: 0ms. http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml2019-09-10 20:11:52.632 Info HttpServer: HTTP GET http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml. UserAgent:2019-09-10 20:11:52.633 Info HttpServer: HTTP Response 200 to 192.168.16.106. Time: 1ms. http://192.168.16.14:8096/dlna/cfa7baf125c64040b86772c73eb66a40/description.xml2019-09-10 20:16:02.992 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications2019-09-10 20:16:02.992 Info TaskManager: Queueing task DownloadNotificationScheduledTask2019-09-10 20:16:02.992 Info TaskManager: Executing Send Download Notifications2019-09-10 20:16:02.996 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds2019-09-10 20:16:02.996 Info TaskManager: ExecuteQueuedTasks <SNIP> 019-09-10 22:00:00.211 Info LiveTV: Recording stopped: /mnt/Recordings/WWE SmackDown! (1999)/Season 19/WWE SmackDown! S19E37.ts2019-09-10 22:00:00.212 Info MediaSourceManager: Live stream heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c consumer count is now 02019-09-10 22:00:00.212 Info MediaSourceManager: Closing live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c2019-09-10 22:00:00.212 Info SharedHttpPipelineSource: Closing SharedHttpPipelineSource2019-09-10 22:00:00.212 Info MediaSourceManager: Live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_heavy_b3a51e519bdf80dcf0c33b351d376c72_6944b51c80c1c9d1c07bffde81e47f6c closed successfully2019-09-10 22:00:00.213 Info SharedHttpPipelineSource: SharedHttpPipelineSource is done streaming.2019-09-10 22:00:00.213 Info SharedHttpPipelineSource: Deleting temp files /var/lib/emby/transcoding-temp/b56d59a3956048dca1718a4f9f45f2d5.ts2019-09-10 22:00:00.392 Info LiveTV: Triggering refresh on /mnt/Recordings/WWE SmackDown! (1999)/Season 19/WWE SmackDown! S19E37.ts2019-09-10 22:00:00.393 Info LiveTV: Refreshing recording parent /mnt/Recordings/WWE SmackDown! (1999)/Season 19 That's everything I found in the log associated with the recording. I don't know how to hunt down in the log where the metadata refresh is happening that changes everything from GN's metadata to the metadata from thetvdb. The line in red may be the cuplrit -- and, that appears to be the blame on GN's incorrect season number. If you need more pieces of things, let me know. Edited September 13, 2019 by SmplyUnprdctble Link to comment Share on other sites More sharing options...
Luke 37056 Posted September 17, 2019 Share Posted September 17, 2019 Thanks for the info. We'll pass this on to our guide data provider. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now