NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 113 114 115 116 117 … 433 Next »
If show name ends with a period, recording folder misnamed

If show name ends with a period, recording folder misnamed
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,674
Threads: 170
Joined: Jun 2007
#1
2016-02-28, 03:32 AM
I've been having an issue where occasionally, X-NEWA playback of show recordings wasn't loading the .edl data into the Kodi player. It didn't happen too often, and I'd never tracked down the reason. But tonight, I had a little time so I took a closer look.

It appears that when a show's name/title ends with a period ("Chicago P.D."), the recording folder that NextPVR creates does not have the period at the end ("E:\NPVR Recordings2\Chicago P.D\" instead of "E:\NPVR Recordings2\Chicago P.D.\"). But, the row in the SCHEDULED_RECORDINGS table lists the filename with period at the end ("E:\NPVR Recordings2\Chicago P.D.\Chicago P.D..S03E16.The Cases That Need to Be Solved.ts").

When X-NEWA tries to use the path substitution to open the recording file via Samba (and get the .edl file), it fails to find the file because the folder name in the share doesn't match the folder name in the database. So then it falls back to requesting the file via HTTP streaming by OID. NextPVR on the server somehow manages to find the file and stream it, so Kodi does end up playing the file--just without the .edl data. :eek:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,983
Threads: 770
Joined: Nov 2003
#2
2016-02-28, 05:27 AM
I think NextPVR probably asked Windows for the trailing but it stripped the trailing period, since it's a illegal. Playing back in NextPVR, Windows probably does the same thing just ignores the trailing . on the directory name.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,983
Threads: 770
Joined: Nov 2003
#3
2016-02-28, 05:32 AM
I've made a change for the next release which should remove any trailing periods when deciding on the file and directory name. (so it tries to create "Chicago P.D" instead of "Chicago P.D.")
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,302
Threads: 114
Joined: Oct 2008
#4
2016-03-01, 11:33 AM
sub Wrote:I've made a change for the next release which should remove any trailing periods when deciding on the file and directory name. (so it tries to create "Chicago P.D" instead of "Chicago P.D.")

Sub - could you also revisit the [...] at the end of Program Titles, several years ago you removed the last period to overcome windows hatred of triple periods in a file name. (or was it Quadruple periods at the end) Since then the fanart for these programs has refused to show.

Perhaps you could replace the [...] with [ -] - this is what I usually end up editing the database and file names to if I am going to keep the program.

Other punctuation that seem to cause anomalies are [:] and ['] You could replace the colon with the unicode character "Modifier Letter Colon" [꞉] (code point, U+A789) This is pretty much the same as a regular colon but the symbol works in windows file names. I guess you could just remove the ' , But it does slightly annoy - having bad grammar Big Grin
It's not an overly complicated system - it's more - overly simple operatives  Huh
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,674
Threads: 170
Joined: Jun 2007
#5
2016-10-04, 01:48 AM
sub Wrote:I've made a change for the next release which should remove any trailing periods when deciding on the file and directory name. (so it tries to create "Chicago P.D" instead of "Chicago P.D.")

sub:

Can you double check that this fix is included in 3.8.3? It appears that X-NEWA via kodi is still getting recording filenames with the trailing period on the series directory:
Code:
20:32:55 8040.277832 T:1495524256   DEBUG: /stream?f=D:\NPVR Recordings\Chicago P.D.\Chicago P.D..S04E02.Made a Wrong Turn.ts

And a
Code:
select filename from scheduled_recording where oid=172126
from the npvr.db3 database returns
Code:
D:\NPVR Recordings\Chicago P.D.\Chicago P.D..S04E02.Made a Wrong Turn.ts
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#6
2016-10-04, 10:44 PM
Hmm... I think I may have run into this also with S.H.I.E.L.D., but didn't take the time to figure out what broke....
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,983
Threads: 770
Joined: Nov 2003
#7
2016-10-04, 10:55 PM
If you guys want to supply databases with one of these completed recordings listed, I'll check what's happening with the filenames and/or artwork.
myamid
Offline

Junior Member

Posts: 8
Threads: 3
Joined: Oct 2013
#8
2016-10-05, 12:31 AM
JavaWiz Wrote:Hmm... I think I may have run into this also with S.H.I.E.L.D., but didn't take the time to figure out what broke....

I definitely had that happen with "Marvel's Agents of S.H.I.E.L.D."
Never quite figured out what was happening (just used Plex to play the recordings as they weren't showing up in NPVR), but now that I read this thread I'm like "DOH!"

Nice catch!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,504
Threads: 963
Joined: May 2006
#9
2016-10-05, 12:51 AM
I could probably do a regex parse in xnewa on the directory if the file really has showname..SnnEnn format with two dots.

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,674
Threads: 170
Joined: Jun 2007
#10
2016-10-05, 01:32 AM
sub Wrote:If you guys want to supply databases with one of these completed recordings listed, I'll check what's happening with the filenames and/or artwork.

I sent you a PM with a link to a database. The last Chicago P. D. recording where oid=172126 shows the problem.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 4,159 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,314 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,390 2023-11-20, 03:42 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,501 2022-04-14, 04:33 AM
Last Post: Antmannz
  Recording to a network drive woes. 2leftfeet 12 7,906 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,925 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,846 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,407 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,516 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,692 2021-01-11, 04:37 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode