Project

General

Profile

SxxEyy episode naming

Added by Reggie Burnett almost 8 years ago

Can TVH name series episodes with the SXXEXX naming convention? I have the option checked to include the season and episode info but I never get season info. My guide data is coming from schedules direct.

For example my most recent recording of Macgyver the file name only includes E13 in the name, not S01E13.

Thanks


Replies (3)

RE: SxxEyy episode naming - Added by Robert Cameron almost 8 years ago

Yes, Tvheadend can do this. The "format string" that I use is:

$t/$t$-e$-s.$x

This saves files into a subdirectory named for each series/title ($t), and then names the individual files with the series names, the season/episode info if present and the episode name/subtitle:

Title/Title-SXXEYY-Episode Name.ext

It is significant to note though: The Schedules Direct DataDirect API (tv_grab_na_dd) does not include episode information as SXXEYY, only EXXX. In order to get the season information you need to use the Schedules Direct JSON API (tv_grab_sd_json). The JSON API grabber was added to the XMLTV utilities with 0.5.68. If your distro has not updated their xmltv packages yet, you are most likely only using 0.5.67 which does not have the JSON API grabber.

RE: SxxEyy episode naming - Added by Reggie Burnett almost 8 years ago

Robert Cameron wrote:

Yes, Tvheadend can do this. The "format string" that I use is:

$t/$t$-e$-s.$x

This saves files into a subdirectory named for each series/title ($t), and then names the individual files with the series names, the season/episode info if present and the episode name/subtitle:

Title/Title-SXXEYY-Episode Name.ext

It is significant to note though: The Schedules Direct DataDirect API (tv_grab_na_dd) does not include episode information as SXXEYY, only EXXX. In order to get the season information you need to use the Schedules Direct JSON API (tv_grab_sd_json). The JSON API grabber was added to the XMLTV utilities with 0.5.68. If your distro has not updated their xmltv packages yet, you are most likely only using 0.5.67 which does not have the JSON API grabber.

Thanks for the reply. I had manually installed tv_grab_sd_json (don't recall where I got it). I just now manually ran it (I had already configured it with my SD creds) and spit a bunch of xml out to the screen. is that right?

Also, when it was done I scrolled back and looked at alot of the program entires. I didn't see season information in any of them. The only data point in the pograms I looked at that involved episodes was called "episode-num". An example line was like this:
<episode-num system="dd_progid">SH000015810000</episode-num>

Think I'm doing something wrong?

RE: SxxEyy episode naming - Added by Reggie Burnett almost 8 years ago

Reggie Burnett wrote:

Robert Cameron wrote:

Yes, Tvheadend can do this. The "format string" that I use is:

$t/$t$-e$-s.$x

This saves files into a subdirectory named for each series/title ($t), and then names the individual files with the series names, the season/episode info if present and the episode name/subtitle:

Title/Title-SXXEYY-Episode Name.ext

It is significant to note though: The Schedules Direct DataDirect API (tv_grab_na_dd) does not include episode information as SXXEYY, only EXXX. In order to get the season information you need to use the Schedules Direct JSON API (tv_grab_sd_json). The JSON API grabber was added to the XMLTV utilities with 0.5.68. If your distro has not updated their xmltv packages yet, you are most likely only using 0.5.67 which does not have the JSON API grabber.

Thanks for the reply. I had manually installed tv_grab_sd_json (don't recall where I got it). I just now manually ran it (I had already configured it with my SD creds) and spit a bunch of xml out to the screen. is that right?

Also, when it was done I scrolled back and looked at alot of the program entires. I didn't see season information in any of them. The only data point in the pograms I looked at that involved episodes was called "episode-num". An example line was like this:
<episode-num system="dd_progid">SH000015810000</episode-num>

Think I'm doing something wrong?

ok. Gone to school a bit on this and I think I understand now. On the shows that have the info there is will be a second episode-num entry using the xmltv_ns dtd. That will contain zero based integers for season/episode/part. Going to switch it json grabber.
Thanks

    (1-3/3)