NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 71 72 73 74 75 … 100 Next »
Recording fails to start if program title too long

 
  • 0 Vote(s) - 0 Average
Recording fails to start if program title too long
zer
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Nov 2019
#1
2020-11-17, 09:45 PM (This post was last modified: 2020-11-17, 10:32 PM by zer.)
This seems like some slightly dodgy guide data where the description has ended up part of the title but it is the official OTA EPG entry.  The full path/filename is probably too long for Windows but I'm sure NextPVR could handle this better since the log file indicates it does know "Invalid file passed", yet the program appears to be recording (and the tuner status states it is recording) but no files have been created, only the folders.

The user has no idea that the recording isn't working until they try to start playback on the "recording" entry and nothing happens.  The only workaround for now is to schedule a manual recording with a shorter title (or I guess I could edit the epg data in the DB...).

Incidentally, can't the NextPVR service detect when the stream->file for in progress recordings is not working and immediately show a failed recording (or even better attempt to re-start it and/or reschedule?).  This would also help with another (looks like tuner) issue I have where streams just stop randomly very shortly after starting and NextPVR doesn't seem to notice... I'm still waiting for a good example to capture logs and the partial TS for this case.

Here are the log excerpts for the long program title specific issue:

Code:
nrecord.log:

2020-11-17 21:14:00.205    [DEBUG][9]    DefaultDirectoryChoice: first
2020-11-17 21:14:00.206    [DEBUG][9]    Preferred filename is 'Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03'
2020-11-17 21:14:00.207    [DEBUG][9]    allocating recording target filename: D:\Recorded TV\Im A Celebrity Get Me Out Of Here! The campmates continue to get to know each other as they endure everything the castle throws at them\Season 20\Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts
2020-11-17 21:14:00.207    [DEBUG][9]    About to start recording (1454 on 26): D:\Recorded TV\Im A Celebrity Get Me Out Of Here! The campmates continue to get to know each other as they endure everything the castle throws at them\Season 20\Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts...
2020-11-17 21:14:00.207    [DEBUG][9]    (Recording is due to be stopped at 17/11/2020 22:20)
2020-11-17 21:14:00.207    [DEBUG][9]    Free space 355393277952  (D:\)
2020-11-17 21:14:00.207    [DEBUG][9]    http://localhost:49806/stream/start?slipseconds=1200&target=D%3A%5CRecorded%20TV%5CIm%20A%20Celebrity%20Get%20Me%20Out%20Of%20Here%21%20The%20campmates%20continue%20to%20get%20to%20know%20each%20other%20as%20they%20endure%20everything%20the%20castle%20throws%20at%20them%5CSeason%2020%5CIm.A.Celebrity.Get.Me.Out.Of.Here%21.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts
2020-11-17 21:14:03.014    [DEBUG][9]    <stream>
  <handle>2</handle>
  <reason></reason>
</stream>

2020-11-17 21:14:03.014    [DEBUG][9]    Started recording (1454:2:D:\Recorded TV\Im A Celebrity Get Me Out Of Here! The campmates continue to get to know each other as they endure everything the castle throws at them\Season 20\Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts)
2020-11-17 21:14:03.024    [DEBUG][9]    Invalid file passed to StartParallelProcessing(): 'D:\Recorded TV\Im A Celebrity Get Me Out Of Here! The campmates continue to get to know each other as they endure everything the castle throws at them\Season 20\Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts'

Code:
device-TBS 6981 BDA DVBSS2 A TunerDemod-1.log:

2020-11-17 21:14:00.208    [INFO][5]    Got POST request: /stream/start?slipseconds=1200&target=D%3A%5CRecorded%20TV%5CIm%20A%20Celebrity%20Get%20Me%20Out%20Of%20Here%21%20The%20campmates%20continue%20to%20get%20to%20know%20each%20other%20as%20they%20endure%20everything%20the%20castle%20throws%20at%20them%5CSeason%2020%5CIm.A.Celebrity.Get.Me.Out.Of.Here%21.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts
2020-11-17 21:14:00.209    [DEBUG][5]    Starting Stream: D:\Recorded TV\Im A Celebrity Get Me Out Of Here! The campmates continue to get to know each other as they endure everything the castle throws at them\Season 20\Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts
2020-11-17 21:14:00.209    [DEBUG][5]    SlipSeconds: 1200
2020-11-17 21:14:00.209    [DEBUG][5]    Tuning:
<tuning>
  <type>DVB-S</type>
  <locator>
    <frequency>11097</frequency>
    <polarity>V</polarity>
    <symbol_rate>23000</symbol_rate>
    <fec>34</fec>
    <diseqc_type>0</diseqc_type>
    <lnb>1</lnb>
    <lowosc>9750</lowosc>
    <highosc>10600</highosc>
    <switch>11700</switch>
    <modulation>8PSK</modulation>
  </locator>
  <service_id>21015</service_id>
  <tsid>2066</tsid>
  <onid>2</onid>
  <service_type>25</service_type>
  <provider>BSkyB</provider>
</tuning>

2020-11-17 21:14:00.209    [DEBUG][5]    StartStream(): D:\Recorded TV\Im A Celebrity Get Me Out Of Here! The campmates continue to get to know each other as they endure everything the castle throws at them\Season 20\Im.A.Celebrity.Get.Me.Out.Of.Here!.The.campmates.continue.to.get.to.know.each.other.as.they.endure.everything.the.castle.throws.at.them.S20E03.ts
2020-11-17 21:14:00.210    [DEBUG][5]    BDA_MOD_NBC_8PSK modulation..
2020-11-17 21:14:00.210    [DEBUG][5]    CreateTuneRequestDVBS@1
2020-11-17 21:14:00.218    [DEBUG][5]    CreateTuneRequestDVBS@2
2020-11-17 21:14:00.218    [DEBUG][5]    CreateTuneRequestDVBS@3
2020-11-17 21:14:00.218    [DEBUG][5]    CreateTuneRequestDVBS@4
2020-11-17 21:14:00.219    [DEBUG][5]    CreateTuneRequestDVBS@ found tuning space
2020-11-17 21:14:00.219    [DEBUG][5]    CreateTuneRequest successful
2020-11-17 21:14:00.219    [DEBUG][5]    CreateTuneRequestDVBS@exit
2020-11-17 21:14:00.219    [DEBUG][5]    About to submit tuning request
2020-11-17 21:14:03.003    [DEBUG][5]    tuning request submitted (11097000)
2020-11-17 21:14:03.005    [DEBUG][5]    Calling LockChannel()
2020-11-17 21:14:03.012    [DEBUG][5]    locked=1, present=1, strength=79, quality=98   (took 0ms to check)
2020-11-17 21:14:03.012    [DEBUG][5]    StartStream()@exit handle=2
2020-11-17 21:14:03.012    [DEBUG][5]    StartStream succeded. Handle: 2


Attached Files
.zip   logs-20201117-2125.zip (Size: 1.59 MB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#2
2020-11-17, 09:56 PM
The logs would have been better since they show the error location. This was discussed in a recent thread https://forums.nextpvr.com/showthread.ph...#pid548137 but I see that sub never addressed the root issue.

Martin
zer
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Nov 2019
#3
2020-11-17, 10:32 PM
OK, attached the full logs on the first post now.

Note I was trying to record the same program on two different versions of the channel as a test, but have verified last night when this also happened that I was unable to record the program after stopping all recordings and retrying using "quick record" from the guide entry.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#4
2020-11-17, 10:51 PM
I checked here like I figured that ridiculous filename isn't too large for Windows but it seems too large for the batch files that are called. Did you see any files on disk?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2020-11-18, 12:32 AM
What version of windows, and is it NTFS file system?
zer
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Nov 2019
#6
2020-11-18, 07:26 AM
Yes NTFS on Windows 10.

As I said, no files were created, but the folder path was.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2020-11-18, 06:51 PM
Ultimately I see this as bug in the source EPG data that caused this. That said, I'll try to put in some logic to make sure really long show names like this are truncated when deciding the filename to record to.
zer
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Nov 2019
#8
2020-11-18, 07:29 PM
Sounds good thanks
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed: Recording interrupted jzk 3 279 2025-04-18, 09:06 PM
Last Post: mvallevand
  Unable to delete recording. File may be in use. seattlefog 24 652 2025-04-13, 01:08 AM
Last Post: sub
  ffmpeg in postprocessing fails on spaces in filename Druhl 3 258 2025-03-29, 06:25 PM
Last Post: mvallevand
  Watched program and channel lists mkroc 8 382 2025-03-24, 02:21 PM
Last Post: BrettB
  Directory not deleted after recording deleted Bobins 13 689 2025-03-08, 05:30 PM
Last Post: sub
  Recording IPTV lemmy999 8 487 2025-03-02, 06:13 PM
Last Post: lemmy999
  Fails After a Few seconds The1nOnlyHMatt 8 375 2025-02-26, 09:14 PM
Last Post: mvallevand
  Temporarily Suspend Recording andrewj 1 164 2025-02-25, 12:44 PM
Last Post: mvallevand
  Series recording doesn't have cancel series markn62 9 2,200 2025-02-22, 09:24 PM
Last Post: jcole998
  Recording ken_dearden 8 585 2025-02-20, 12:22 PM
Last Post: ken_dearden

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

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

Linear Mode
Threaded Mode