Multiple Episode Naming
#1
Hey there. Thanks so much for all the hard work put into Ember. It's a fantastic piece of software, and I appreciate all the love put into it.

I used Ember for years when I was using Kodi (then called XBMC), and loved it. About a year ago I switched to Plex. I started with its internal scrapers to pull metadata, then later switched to the XBMCNfo scraper so I could use premade NFO files and artwork which is XBMC compatible as I did before. This works great for the movies, and I'm loving it. With TV I have an issue, however.

Plex is pretty strict for naming of multiple episodes in a single file. For example, I have the classic Doctor Who episodes for all four parts of Battlefield (http://thetvdb.com/?tab=season&seriesid=...9684&lid=7) in a single file named S26E01-E04 which includes S26E01, S26E02, S26E03, S26E04. With this naming style Ember only picks up S26E01 and S26E04. S26E02 and S26E03 are ignored.

I believe, I can fix this in the Ember Settings --> TV Shows --> Files and Sources --> Regex --> TV Show Multipart Matching. The default Regex is:

Code:
^[-_ex]+([0-9]+(?:(?:[a-i]|\.[1-9])(?![0-9]))?)

What would I need to change that to, to make it work with the above naming scheme?

A second issue, directly related to the above, is file renaming. Even if I can change the Regex above to make it compatible with Plex's naming scheme for multipart episodes, if I use the renamer, it will rename the multipart episodes into a format no longer compatible with Plex. Is there any chance an option can be put into the TV Renamer to allow for the SxxExx-Exx style mentioned above? I'm still using Plex's TV agent for scraping TV, and would love to be able to fully switch to using only NFOs made by Ember, but this point is holding me back.

Thanks again for all the hard work put in Ember. I love it!
Reply
#2
Ember use the same system like Kodi: Link
Quote:Note: Only the episodes in the file name will be added, e.g. name.s01e01-03.ext will not include episode 2.

It's not possible to change the regex that it's working with FROM-TO numbers.
In your case you have to use this file name:
Code:
S26E01E02E03E04

This should also work with Plex: Link (last post)
Reply
#3
(2015-11-24, 19:40)DanCooper Wrote: Ember use the same system like Kodi: Link
Quote:Note: Only the episodes in the file name will be added, e.g. name.s01e01-03.ext will not include episode 2.

It's not possible to change the regex that it's working with FROM-TO numbers.
In your case you have to use this file name:
Code:
S26E01E02E03E04

This should also work with Plex: Link (last post)

Thank you for your prompt reply. I appreciate it.

I also appreciate the time you took to research a workaround for using Kodi style naming conventions on Plex, so that Ember can be used for both scraping and renaming content. That is above and beyond, and I'm impressed that you took the trouble to do that. Thank you. Unfortunately, however, the information contained in the reddit post you referenced is simply inaccurate.

For TV media files containing three or more episodes, Plex is quite strict, and the SxxExx-Exx naming scheme I mentioned above is the only one that works. In fact, when I was using Kodi, the naming scheme you suggested as a workaround was what I exclusively used. So for the Doctor Who adventure mentioned above, it was at that time named "S26E01E02E03E04 - Battlefield.mkv". None of my multi-episode files worked in Plex when I switched from Kodi. I renamed all my files according to the Plex conventions using the official documentation located here: https://support.plex.tv/hc/en-us/article...d-TV-Shows Please note, that the SxxExx-Exx is only scheme mentioned for multipart episodes.

Since, you were kind enough to take the trouble to research alternatives, I believe it is only fair that I take the trouble to demonstrate that SxxExxExxExxExx does not work in Plex. To this end, I installed a fresh copy of Plex Media Server on my desktop machine (on a completely different machine that my actual Plex server) to ensure that no data is cached from my actual Plex Server, so a complete clean slate is ensured. I created a new TV directory on my desktop, took a random small video avi file and renamed it to S01E01E02E03E04.avi, and placed it in a folder called "Season 1" inside another folder called Dexter.

Here is the result:

https://dl.dropboxusercontent.com/u/1284....14.33.png

Two episodes of Dexter were found: Episode 1 and Episode 2. No Episode 3 or 4.

Here is the content of the "Plex Media Scanner.Log" file which contains just the logged activity of the file scanner (there are separate logs for the actual scrapers themselves -- this log is just Plex finding the content and identifying what it is, prior to sending it off to be scraped for metadata):

Code:
Nov 24, 2015 18:08:00:058 [1552] INFO - Windows version: 10.0 (Build 10240)
Nov 24, 2015 18:08:00:059 [1552] INFO - 4 3417 MHz processor(s): Architecture=0, Level=16, Revision=1027
Nov 24, 2015 18:08:00:059 [1552] INFO - PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 4 Stepping 3, AuthenticAMD
Nov 24, 2015 18:08:00:059 [1552] DEBUG - "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe" --scan --refresh --section 49
Nov 24, 2015 18:08:00:059 [1552] DEBUG - Opening 20 database sessions to library, SQLite 3.8.9, threadsafe=1
Nov 24, 2015 18:08:00:205 [1552] DEBUG - Scanning TVTEST using en(Plex Series Scanner) with 0 current media items in the database...
Nov 24, 2015 18:08:00:207 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/cullTimeline?librarySectionID=49&sinceTime=1448405280
Nov 24, 2015 18:08:00:319 [1552] DEBUG - Performing a scan with 'Plex Series Scanner' (language: en virtual: 0).
Nov 24, 2015 18:08:00:319 [1552] DEBUG -   * Scanning G:\TVtest2
Nov 24, 2015 18:08:00:319 [1552] DEBUG -     * Scanning directory G:\TVtest2 (parent: no)
Nov 24, 2015 18:08:00:331 [1552] DEBUG - Adding subdirectory for scanner: G:\TVtest2\Dexter
Nov 24, 2015 18:08:00:332 [1552] DEBUG -     * Scanning directory G:\TVtest2\Dexter (parent: yes)
Nov 24, 2015 18:08:00:343 [1552] DEBUG - Adding subdirectory for scanner: G:\TVtest2\Dexter\Season 1
Nov 24, 2015 18:08:00:348 [1552] DEBUG -     * Scanning directory G:\TVtest2\Dexter\Season 1 (parent: yes)
Nov 24, 2015 18:08:00:350 [1552] DEBUG - Adding file for scanner: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:00:350 [1552] DEBUG - Adding file for scanner: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.en.srt
Nov 24, 2015 18:08:00:357 [1552] DEBUG -       * Scanning Dexter Season 1 Episode 1
Nov 24, 2015 18:08:00:357 [1552] DEBUG - Looking for path match for [G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi]
Nov 24, 2015 18:08:00:361 [1552] DEBUG - Skipping hash check, no size match for 363522048 bytes.
Nov 24, 2015 18:08:00:361 [1552] DEBUG - No match for hash.
Nov 24, 2015 18:08:00:363 [1552] DEBUG - Creating show 'Dexter'
Nov 24, 2015 18:08:00:363 [1552] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:363 [1552] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:369 [1552] DEBUG - Added new metadata item (Dexter) with ID 166260
Nov 24, 2015 18:08:00:369 [1552] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:370 [1552] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:370 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/create?librarySectionID=49&ids=166260&types=2
Nov 24, 2015 18:08:00:372 [1552] DEBUG - Updating metadata item (save) (Dexter) with ID 166260
Nov 24, 2015 18:08:00:375 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:00:378 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:00:396 [1552] DEBUG - Creating season 1 for show 'Dexter'
Nov 24, 2015 18:08:00:396 [1552] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:397 [1552] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:400 [1552] DEBUG - Added new metadata item () with ID 166261
Nov 24, 2015 18:08:00:401 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/create?librarySectionID=49&ids=166261&types=3
Nov 24, 2015 18:08:00:403 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:00:403 [1552] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:404 [1552] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:406 [1552] DEBUG - Added new metadata item () with ID 166262
Nov 24, 2015 18:08:00:407 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/create?librarySectionID=49&ids=166262&types=4
Nov 24, 2015 18:08:00:407 [1552] DEBUG - Added new media item with ID=160836 (episode=1&episodic=1&season=1&show=Dexter)
Nov 24, 2015 18:08:00:408 [1552] DEBUG - Added new media part with ID=161464 [G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi]
Nov 24, 2015 18:08:00:409 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:00:509 [1552] DEBUG -       * Scanning Dexter Season 1 Episode 2
Nov 24, 2015 18:08:00:509 [1552] DEBUG - Looking for path match for [G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi]
Nov 24, 2015 18:08:00:510 [1552] DEBUG - Checking by hash to see if we can find a match with f8bc6ae65a8e8edb9541506ca2db492e001d9b14 (display offset: 50, not part -1)
Nov 24, 2015 18:08:00:510 [1552] DEBUG - No match for hash.
Nov 24, 2015 18:08:00:511 [1552] DEBUG - Found existing show by name 166260
Nov 24, 2015 18:08:00:515 [1552] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:515 [1552] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:518 [1552] DEBUG - Added new metadata item () with ID 166263
Nov 24, 2015 18:08:00:519 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/create?librarySectionID=49&ids=166263&types=4
Nov 24, 2015 18:08:00:519 [1552] DEBUG - Added new media item with ID=160837 (episode=2&episodic=1&season=1&show=Dexter)
Nov 24, 2015 18:08:00:520 [1552] DEBUG - Added new media part with ID=161465 [G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi]
Nov 24, 2015 18:08:00:521 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:00:536 [1552] DEBUG - Removing 0 media items that were left.
Nov 24, 2015 18:08:00:536 [1552] DEBUG - Removing 0 directories that were left.
Nov 24, 2015 18:08:00:536 [1552] DEBUG - Updating directory '' (ID 27608) to time 2015-11-24 18:06:10.
Nov 24, 2015 18:08:00:547 [1552] DEBUG - Updating directory 'Dexter' (ID 27609) to time 2015-11-24 18:06:10.
Nov 24, 2015 18:08:00:549 [1552] DEBUG - Updating directory 'Dexter\Season 1' (ID 27610) to time 2015-11-24 18:06:15.
Nov 24, 2015 18:08:00:560 [1552] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:561 [1552] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:00:575 [1552] DEBUG - Refreshing section 49 of type: 2
Nov 24, 2015 18:08:00:585 [1552] DEBUG - The show 'Dexter' needs refreshing, no match yet.
Nov 24, 2015 18:08:00:586 [0252] DEBUG - Matching 'Dexter' (ID 166260) with agent com.plexapp.agents.thetvdb
Nov 24, 2015 18:08:00:587 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166260&metadataType=2&state=2&metadataState=matching
Nov 24, 2015 18:08:00:618 [0252] DEBUG - Most recent grandchild was episode 2
Nov 24, 2015 18:08:00:618 [0252] DEBUG - Issuing search query: http://127.0.0.1:32400/system/agents/search?mediaType=2&id=166260&identifier=com.plexapp.agents.thetvdb&duration=-1&episodic=1&filename=G%253A%255CTVtest2%255CDexter%255CSeason%25201%255Cs01e01e02e03e04%252Eavi&lang=en&openSubtitlesHash=f3eb5577a281b25c&plexHash=f8bc6ae65a8e8edb9541506ca2db492e001d9b14&episode=2&episodic=1&season=1&show=Dexter
Nov 24, 2015 18:08:00:619 [0252] DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/search?mediaType=2&id=166260&identifier=com.plexapp.agents.thetvdb&duration=-1&episodic=1&filename=G%253A%255CTVtest2%255CDexter%255CSeason%25201%255Cs01e01e02e03e04%252Eavi&lang=en&openSubtitlesHash=f3eb5577a281b25c&plexHash=f8bc6ae65a8e8edb9541506ca2db492e001d9b14&episode=2&episodic=1&season=1&show=Dexter
Nov 24, 2015 18:08:01:483 [0252] DEBUG - 100: Dexter ()
Nov 24, 2015 18:08:01:483 [0252] DEBUG -  * Score: 100 (Dexter)
Nov 24, 2015 18:08:01:483 [0252] DEBUG - Setting GUID for metadata item 166260 (title: Dexter) to com.plexapp.agents.thetvdb://79349?lang=en (thumb=)
Nov 24, 2015 18:08:01:510 [0252] DEBUG - Migrating metadata settings from local://166260 -> com.plexapp.agents.thetvdb://79349?lang=en
Nov 24, 2015 18:08:01:510 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166260&metadataType=2&state=3
Nov 24, 2015 18:08:01:510 [0252] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:511 [0252] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:513 [0252] DEBUG - Updating metadata item (save) (Dexter) with ID 166260
Nov 24, 2015 18:08:01:516 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:01:549 [0252] DEBUG - No match for item 166260's GUID com.plexapp.agents.thetvdb://79349?lang=en, we're just changing its identity.
Nov 24, 2015 18:08:01:549 [0252] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:549 [0252] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:554 [0252] DEBUG - Updating metadata item (save) (Dexter) with ID 166260
Nov 24, 2015 18:08:01:565 [0252] DEBUG - Refreshing metadata for 'Dexter' (agent: com.plexapp.agents.thetvdb)
Nov 24, 2015 18:08:01:565 [0252] DEBUG - Refreshing GUID: 'com.plexapp.agents.thetvdb://79349?lang=en'
Nov 24, 2015 18:08:01:565 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:01:566 [0252] DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/update?mediaType=2&force=1&guid=com%2Eplexapp%2Eagents%2Ethetvdb%3A%2F%2F79349%3Flang%3Den&id=166260
Nov 24, 2015 18:08:01:568 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166260&metadataType=2&state=3&metadataState=queued
Nov 24, 2015 18:08:01:594 [0240] DEBUG - MediaItem::PerformBackgroundAnalysis on 160836
Nov 24, 2015 18:08:01:597 [0240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:597 [0240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:600 [0240] DEBUG - Updating metadata item (save) () with ID 166262
Nov 24, 2015 18:08:01:613 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:01:633 [0240] DEBUG - [ID 161464] Media part analysis: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:01:634 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166262&metadataType=4&state=-1&mediaState=analyzing
Nov 24, 2015 18:08:01:799 [0240] DEBUG - Opening input file: ufile:G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:01:799 [0240] DEBUG - [FFMPEG] - Format avi probed with size=2048 and score=100
Nov 24, 2015 18:08:01:799 [0240] DEBUG - [FFMPEG] - use odml:1
Nov 24, 2015 18:08:01:800 [0240] DEBUG - [FFMPEG] - st:1 removing common factor 384 from timebase
Nov 24, 2015 18:08:01:908 [0240] DEBUG - [FFMPEG] - Before avformat_find_stream_info() pos: 10252 bytes read:2956526 seeks:5
Nov 24, 2015 18:08:01:924 [0240] ERROR - [FFMPEG] - Header missing
Nov 24, 2015 18:08:01:930 [0240] DEBUG - [FFMPEG] - All info found
Nov 24, 2015 18:08:01:931 [0240] DEBUG - [FFMPEG] - After avformat_find_stream_info() pos: 20821 bytes read:2956526 seeks:5 frames:21
Nov 24, 2015 18:08:01:931 [0240] INFO - Sample aspect ratio is 1:1
Nov 24, 2015 18:08:01:931 [0240] DEBUG -  * f8bc6ae65a8e8edb9541506ca2db492e001d9b14 [avi mpeg4/mp3] Duration: 2658000ms, 512x384 (1.333333) 23.976fps, bitrate=1080kbps, audio channels=2, optimizedForStreaming=0 (G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi)
Nov 24, 2015 18:08:01:931 [0240] DEBUG - Enriching 1 video stream(s) with MediaInfo
Nov 24, 2015 18:08:01:931 [0240] DEBUG - Enriching 1 audio stream(s) with MediaInfo
Nov 24, 2015 18:08:01:931 [0240] INFO - Matched video stream: FFmpeg index 0 (id 0x00) -> MediaInfo stream index 0 (id 0)
Nov 24, 2015 18:08:01:931 [0240] INFO -  * MediaInfo: format=MPEG-4 Visual, bitrate=950396
Nov 24, 2015 18:08:01:931 [0240] INFO -  * FFmpeg: codec=mpeg4, bitrate=950410
Nov 24, 2015 18:08:01:931 [0240] INFO - Matched audio stream: FFmpeg index 1 (id 0x01) -> MediaInfo stream index 0 (id 1)
Nov 24, 2015 18:08:01:931 [0240] INFO -  * MediaInfo: format=MPEG Audio, language=, bitrate=130584, channels=2
Nov 24, 2015 18:08:01:931 [0240] INFO -  * FFmpeg: codec=mp3, language=, bitrate=130584, channels=2
Nov 24, 2015 18:08:01:932 [0240] DEBUG - Chapters had generic titles, clearing.
Nov 24, 2015 18:08:01:932 [0240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:932 [0240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:01:934 [0240] DEBUG - Updating metadata item (save) () with ID 166262
Nov 24, 2015 18:08:01:947 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:01:948 [0240] DEBUG - Closing input file: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:01:948 [0240] DEBUG - [FFMPEG] - Statistics: 2956526 bytes read, 5 seeks
Nov 24, 2015 18:08:01:948 [0240] DEBUG - Committing media stream changes for part 161464
Nov 24, 2015 18:08:01:952 [0240] DEBUG - Updating media item 160836, size=363522048, metadata_item_id=166262
Nov 24, 2015 18:08:01:952 [0240] DEBUG - Updating part with ID=161464 [G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi]
Nov 24, 2015 18:08:01:963 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166262&metadataType=4&state=-1&mediaState=thumbnailing
Nov 24, 2015 18:08:02:051 [0240] DEBUG - Creating C:\Users\Lawrence\AppData\Local\Plex Media Server\Media\localhost\f\8bc6ae65a8e8edb9541506ca2db492e001d9b14.bundle\Contents\Thumbnails\thumb1.jpg (50.0%, 720x512).
Nov 24, 2015 18:08:02:051 [0240] DEBUG - Opening input file: ufile:G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:02:051 [0240] DEBUG - [FFMPEG] - Format avi probed with size=2048 and score=100
Nov 24, 2015 18:08:02:051 [0240] DEBUG - [FFMPEG] - use odml:1
Nov 24, 2015 18:08:02:051 [0240] DEBUG - [FFMPEG] - st:1 removing common factor 384 from timebase
Nov 24, 2015 18:08:02:155 [0240] DEBUG - [FFMPEG] - Before avformat_find_stream_info() pos: 10252 bytes read:2956526 seeks:5
Nov 24, 2015 18:08:02:155 [0240] ERROR - [FFMPEG] - Header missing
Nov 24, 2015 18:08:02:156 [0240] DEBUG - [FFMPEG] - All info found
Nov 24, 2015 18:08:02:156 [0240] DEBUG - [FFMPEG] - After avformat_find_stream_info() pos: 20821 bytes read:2956526 seeks:5 frames:21
Nov 24, 2015 18:08:02:159 [0240] DEBUG - [FFMPEG] - detected 4 logical cores
Nov 24, 2015 18:08:02:159 [0240] ERROR - [FFMPEG] - hmm, seems the headers are not complete, trying to guess time_increment_bits
Nov 24, 2015 18:08:02:159 [0240] ERROR - [FFMPEG] - my guess is 16 bits ;)
Nov 24, 2015 18:08:02:160 [8164] ERROR - [FFMPEG] - hmm, seems the headers are not complete, trying to guess time_increment_bits
Nov 24, 2015 18:08:02:160 [8164] ERROR - [FFMPEG] - my guess is 16 bits ;)
Nov 24, 2015 18:08:02:160 [8164] WARN - [FFMPEG] - looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
Nov 24, 2015 18:08:02:160 [8164] ERROR - [FFMPEG] - warning: first frame is no keyframe
Nov 24, 2015 18:08:02:187 [0240] DEBUG - Loaded memory image of size 512x384.
Nov 24, 2015 18:08:02:205 [6516] ERROR - [FFMPEG] - warning: first frame is no keyframe
Nov 24, 2015 18:08:02:232 [0240] DEBUG - Loaded memory image of size 512x384.
Nov 24, 2015 18:08:02:250 [2080] ERROR - [FFMPEG] - warning: first frame is no keyframe
Nov 24, 2015 18:08:02:285 [0240] DEBUG - Loaded memory image of size 512x384.
Nov 24, 2015 18:08:02:303 [0240] DEBUG - Closing input file: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:02:304 [0240] DEBUG - [FFMPEG] - Statistics: 3775726 bytes read, 8 seeks
Nov 24, 2015 18:08:02:305 [0240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:306 [0240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:307 [0240] DEBUG - Updating metadata item (save) () with ID 166262
Nov 24, 2015 18:08:02:308 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:02:323 [0240] DEBUG - MediaItem::PerformBackgroundAnalysis on 160837
Nov 24, 2015 18:08:02:323 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166262&metadataType=4&state=-1&mediaState=idle
Nov 24, 2015 18:08:02:325 [0240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:325 [0240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:326 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166262&metadataType=4&state=1
Nov 24, 2015 18:08:02:328 [0240] DEBUG - Updating metadata item (save) () with ID 166263
Nov 24, 2015 18:08:02:340 [0240] DEBUG - [ID 161465] Media part analysis: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:02:340 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:02:342 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166263&metadataType=4&state=-1&mediaState=analyzing
Nov 24, 2015 18:08:02:427 [0240] DEBUG - Opening input file: ufile:G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:02:428 [0240] DEBUG - [FFMPEG] - Format avi probed with size=2048 and score=100
Nov 24, 2015 18:08:02:428 [0240] DEBUG - [FFMPEG] - use odml:1
Nov 24, 2015 18:08:02:428 [0240] DEBUG - [FFMPEG] - st:1 removing common factor 384 from timebase
Nov 24, 2015 18:08:02:541 [0240] DEBUG - [FFMPEG] - Before avformat_find_stream_info() pos: 10252 bytes read:2956526 seeks:5
Nov 24, 2015 18:08:02:541 [0240] ERROR - [FFMPEG] - Header missing
Nov 24, 2015 18:08:02:543 [0240] DEBUG - [FFMPEG] - All info found
Nov 24, 2015 18:08:02:543 [0240] DEBUG - [FFMPEG] - After avformat_find_stream_info() pos: 20821 bytes read:2956526 seeks:5 frames:21
Nov 24, 2015 18:08:02:543 [0240] INFO - Sample aspect ratio is 1:1
Nov 24, 2015 18:08:02:543 [0240] DEBUG -  * f8bc6ae65a8e8edb9541506ca2db492e001d9b14 [avi mpeg4/mp3] Duration: 2658000ms, 512x384 (1.333333) 23.976fps, bitrate=1080kbps, audio channels=2, optimizedForStreaming=0 (G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi)
Nov 24, 2015 18:08:02:543 [0240] DEBUG - Enriching 1 video stream(s) with MediaInfo
Nov 24, 2015 18:08:02:543 [0240] DEBUG - Enriching 1 audio stream(s) with MediaInfo
Nov 24, 2015 18:08:02:543 [0240] INFO - Matched video stream: FFmpeg index 0 (id 0x00) -> MediaInfo stream index 0 (id 0)
Nov 24, 2015 18:08:02:543 [0240] INFO -  * MediaInfo: format=MPEG-4 Visual, bitrate=950396
Nov 24, 2015 18:08:02:543 [0240] INFO -  * FFmpeg: codec=mpeg4, bitrate=950410
Nov 24, 2015 18:08:02:543 [0240] INFO - Matched audio stream: FFmpeg index 1 (id 0x01) -> MediaInfo stream index 0 (id 1)
Nov 24, 2015 18:08:02:544 [0240] INFO -  * MediaInfo: format=MPEG Audio, language=, bitrate=130584, channels=2
Nov 24, 2015 18:08:02:544 [0240] INFO -  * FFmpeg: codec=mp3, language=, bitrate=130584, channels=2
Nov 24, 2015 18:08:02:544 [0240] DEBUG - Chapters had generic titles, clearing.
Nov 24, 2015 18:08:02:544 [0240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:545 [0240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:547 [0240] DEBUG - Updating metadata item (save) () with ID 166263
Nov 24, 2015 18:08:02:561 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:02:562 [0240] DEBUG - Closing input file: G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi
Nov 24, 2015 18:08:02:562 [0240] DEBUG - [FFMPEG] - Statistics: 2956526 bytes read, 5 seeks
Nov 24, 2015 18:08:02:562 [0240] DEBUG - Committing media stream changes for part 161465
Nov 24, 2015 18:08:02:566 [0240] DEBUG - Updating media item 160837, size=363522048, metadata_item_id=166263
Nov 24, 2015 18:08:02:566 [0240] DEBUG - Updating part with ID=161465 [G:\TVtest2\Dexter\Season 1\s01e01e02e03e04.avi]
Nov 24, 2015 18:08:02:577 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166263&metadataType=4&state=-1&mediaState=thumbnailing
Nov 24, 2015 18:08:02:580 [0240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:580 [0240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2015 18:08:02:582 [0240] DEBUG - Updating metadata item (save) () with ID 166263
Nov 24, 2015 18:08:02:583 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Nov 24, 2015 18:08:02:594 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166263&metadataType=4&state=-1&mediaState=idle
Nov 24, 2015 18:08:02:597 [5624] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=49&metadataItemID=166263&metadataType=4&state=1

You can see clearly in the log that it finds Episode 1, and Episode 2. Because this is a brand new test server, this is the entire content of the scanner log, and the test file is the only file in the library.

It would appear that SxxExxExx does in fact work for a pair of episodes, but not for three or more.

The thread for the XBMC .nfo Importer agent is here: https://forums.plex.tv/discussion/38402/...mc-library Others have expressed the trouble they've had with external metadata managers due to the Plex naming scheme in there. Second post on this page: https://forums.plex.tv/discussion/38402/...ibrary/p43 shows someone using the exact naming convention you advised, and reports the same result as I demonstrated above -- two episodes only discovered.

I currently use Sickbeard as a workaround to scrape my media and create the nfo files (and rename my media), since it's not possible to use Ember at this time for my TV without breaking multipart episodes. I'd loved to be able to stop doing that, since the fine control of Ember, is just lovely. Media Center Master also supports the Plex naming scheme (and I actually have a paid license for that program), but again, not as good as Ember.

Please consider adding support for the SxxExx-Exx naming scheme, a good number of people use the .nfo importer with Plex, so I do believe there is some demand other than myself for it.

Absolutely everything else works between Ember and Plex -- it is only the multipart episode names that stops Ember from working perfectly for Plex.
Reply

Logout Mark Read Team Forum Stats Members Help
Multiple Episode Naming0