Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add season and episode to filename for XBMC compatibility #30

Closed
verticalscience opened this issue May 24, 2014 · 6 comments
Closed

Add season and episode to filename for XBMC compatibility #30

verticalscience opened this issue May 24, 2014 · 6 comments

Comments

@verticalscience
Copy link

Awesome application!!!

What steps will reproduce the problem?

  1. Install XBMC media player.
  2. Within XBMC, go to Videos and specify while folder currently or will contain TV shows.
  3. Save some converted TV shows from cTivo in that folder.
  4. Open XBMC and scan that folder for TV shows.
  5. XBMC will show a thumbnail or poster for the show but will not find the episode

What is the expected output? What do you want to see instead?

Add an option or always include two digit season and episode (when available) to the filename.

example: The Voice- S06E24 Live Semi-Final Results.m4v

XBMC will notice the show name from the folder/file and the season # and episode # from the file.
The title, season and episode will automatically be recognized by XBMC without affecting iTunes or idevice listings since they display meta data not the actual file name.

What version of the product are you using? On what operating system?
Currently using 2.3.1 on Mac OSX 10.9.2

Please provide any additional information below.

This is way too much information but its included.
http://wiki.xbmc.org/index.php?title=Naming_video_files/TV_shows

Thanks!!

@mackworth
Copy link
Owner

Well, try this...Go to Advance Preferences (Cmd-Option-Comma), and pull down the Keywords menu. Choose Plex Default. I think that'll do what you're asking for. Let me know how it goes for you. If not, we can write one that will.

@verticalscience
Copy link
Author

Amazingly well thought out application.

Definitely looks the the keywords option will work.
I used [Title] - S[Season]E[EpisodeNumber] [Title]
I assume the extension will be provided automatically.

I guess the last remaining dazzling mystery to be solved is if you can detect from the show timecode how many seconds to skip (iTunes video properties “Start Time”) when a recording begins before the show ends.
(not a request, I’d just be amazed if it was already accounted for)

On May 23, 2014, at 8:55 PM, Hugh Mackworth notifications@github.com wrote:

Well, try this...Go to Advance Preferences (Cmd-Option-Comma), and pull down the Keywords menu. Choose Plex Default. I think that'll do what you're asking for. Let me know how it goes for you. If not, we can write one that will.


Reply to this email directly or view it on GitHub.

@mackworth
Copy link
Owner

Correct on extension. You may prefer [MainTitle] - [SeriesEpNumber] - [EpisodeTitle] to that version.
Title is same as "MainTitle- EpisodeTitle", which probably isn't what you want.
And if there's no season, [SeriesEpNumber] will just provide the Enn format rather than putting S00Enn.
But try it out; see if that's ideal; check Movies as well.
If so, I'll rename Plex Default to XBMC, or if there's a better format, I'm happy to add that as well.

I'm pretty sure we don't do that last thing, but I'm interested. Can you give an example or be more precise? (e.g. "when a recording begins before the show ends"?)

@verticalscience
Copy link
Author

I'll rename Plex Default to XBMC, or if there's a better format, I'm happy to add that as well.

I’ll transfer something and see what naming convention Plex and XBMC like. I’m pretty sure they parse filenames the same way. I have both running on my Mac. I’ll let you know.
I'm pretty sure we don't do that last thing, but I'm interested. Can you give an example or be more precise? (e.g. "when a recording begins before the show ends”?)

Yes, I think I worded that wrong. More precisely, I have a recording of "The 100 - Pilot". The TiVo started recording 12 seconds before the show actually started. This doesn’t happen for a lot of shows. In ITunes I just entered 0:12 for Starting time so iTunes would skip over the unexpected content.

So what I’m wondering is, can you just pass an argument to handbrake or ffmpeg to skip to a particular starting point during the transcoding process based on clues obtained from the .mpg file. Just a thought.

I can run TiVo decode on an example file I suppose. Not sure whether the .mpg file has some drastic changes in the timecode when it switches from one show to another but maybe its there. Let me know what works for you.


Reply to this email directly or view it on GitHub.

@mackworth
Copy link
Owner

If XBMC uses the same as Plex, you could also try the more complicated version "Plex Folders".

@mackworth
Copy link
Owner

Completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants