Jump to content

Recording TV Show Error - 'PathTooLongException'


AutomatedElec

Recommended Posts

AutomatedElec

Hi All,

 

First of all, I am very new to Emby. I have lots to learn but I am loving the journey so far. I am trying to make the transition to Emby from Windows Media Centre (coming on 15 years with WMC!).

 

I have successfully installed the latest version of Emby on Linux Ubuntu, with 2 x Quad Hauppauge tuners via TVHeadend and series shows recording to a separate 6TB internal drive. One show though doesn't record, and when I look through the log I can see a PathTooLongException for that show. It appears that Emby is trying to create a file with the show's description included as part of the file name (making it too long).

 

I have had a look through the Emby settings but I cannot find where the file name creation options / method can be configured.

 

Any help would be greatly appreciated!

embyserver.txt

Edited by AutomatedElec
Link to comment
Share on other sites

  • 2 weeks later...

Hi @@AutomatedElec, it uses the episode title, not the description, but it looks like TVheadend is possibly inserting the full description into the title?

 

That seems a little messy, but i guess we can try to work around. I really would fix it on the TVheadend side though, as I imagine it will make the presentation in Emby very sloppy looking.

Link to comment
Share on other sites

AutomatedElec

Hi @@Luke, thanks for responding and helping me out.

 

Yes, the guide data is the XML feed from TVH (localhost:xxxx/xmltv/channels). I never considered that TVH could be the culprit, I will see if I can find where this might be set in TVH settings shortly.

 

I just had a quick look at the XML guide data, and it all seems to be OK as far as titles and description data. Here is an example...

 

5d951bf983cde_THVGuideDataExample.png

 

The show mentioned in the error earlier (60 Minutes) does not record for another couple of weeks so it is not currently in the guide data, but seeing as though the rest of the XML data appears to be OK I can only assume this show is also OK in the guide data.

 

Edit:

I just noticed the guide data tags being used for all recorded TV filenames on my system are <title> (date + time) <sub-title>.

Would Emby be inadvertently including the <sub-title> tag when generating filenames, by finding all tags with the word "title" in it?

Edited by AutomatedElec
Link to comment
Share on other sites

Ok so there is series title and then there is episode title. the sub-title node is used to populate episode title.

 

the desc node is used to populate the description. Based on that xml, I think TVH is the culprit here because what they are putting in sub-title should be in the desc node instead.

  • Like 1
Link to comment
Share on other sites

AutomatedElec

Thanks @@Luke...

 

I ended up finding some default settings in TVH for the EPG, which one of them was set to "Subtitle" for the EIT description. Once I changed this to "Summary" (and tweaked a couple of others) the xml data changed to this...

5d957d3863fa3_EPGDataxml.png

 

And for those playing along at home, these were the settings I used for the EPG grabber (Australia)

TVHeadend > Configuration > Channel / EPG > EPG Grabber Modules > EPG Grabber...

5d957dc05df80_Capture.png

 

 

Ultimately though, in my researching of this issue, came across another EPG xml method for Australia that I am now using which has a lot better data (including image thumbs, ratings etc.) than the Over-the-Air EPG which TVH pulls in.

 

Australian EPG - http://www.xmltv.net/

 

5d957f76936e0_newepg.png

 

Thanks again for your help Luke!

Edited by AutomatedElec
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...