NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Linux v
« Previous 1 … 9 10 11 12 13 Next »
Post Delete script

 
  • 0 Vote(s) - 0 Average
Post Delete script
geniepro
Offline

Junior Member

Posts: 6
Threads: 3
Joined: Sep 2019
#1
2019-09-28, 07:06 PM
I record a show and the in PostProcessing.sh I convert the ts to mp4. I also use comskip, in ParallelProcessing.sh. All the files have the same base, the filename of the ts file, without the extension.

If I delete the recording the .ts and all the files generated by comskip are deleted, but my mp4 is not deleted.

Should it be deleted? Is there a script/hook or something that I can use to delete extra files when I delete a recording?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,259
Threads: 722
Joined: May 2006
#2
2019-09-28, 07:15 PM
NextPVR does have a wiki and much of the information applies to v4 and v5

https://www.nextpvr.com/nwiki/pmwiki.php...nced#toc23

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,259
Threads: 722
Joined: May 2006
#3
2019-10-01, 12:43 PM
Because the wiki is gone and not sure when it will be back you need to use the Google cache or wayback machine to get the wiki.

Martin
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#4
2019-10-01, 09:52 PM
Figured out how to mount a windows network share using cifs. If anyone is following this thread, make sure to reboot before mounting the drive.

Martin, I'm getting an error that the database is read only. Is there any issue with me trying to change that permission to get your script to work?

Thanks,
Flyingsubs
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,259
Threads: 722
Joined: May 2006
#5
2019-10-01, 10:59 PM
Are you running the script as sudo assuming you haven't given yourself rights to /var/opt/nextpvr

You should not need to reboot to mount a share but you do need to remount after changing fstab.

Martin
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#6
2019-10-02, 12:54 AM
(2019-10-01, 10:59 PM)mvallevand Wrote: Are you running the script as sudo assuming you haven't given yourself rights to /var/opt/nextpvr

You should not need to reboot to mount a share but you do need to remount after changing fstab.

Martin


Good point, I had to reboot after install the app to mount the network drive. Not sure why but it worked, could be a coincidence.  Also I apologize, I accidentally posted in the wrong thread.  Didn't think about sudo, was running the script you wrote manually.

-Flyingsubs
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  bulk comskip processing script baj1 7 236 2020-11-21, 08:44 PM
Last Post: baj1
  nothing recording post upgrade. CDinger 2 121 2020-10-25, 09:45 PM
Last Post: CDinger
  Script locations and parameters ? ceejayemm 2 146 2020-10-14, 12:02 PM
Last Post: ceejayemm
  Post logs when NPVR Crashes flyingsubs 42 2,322 2019-10-22, 04:02 PM
Last Post: mvallevand
  help with script donbrew 2 343 2019-09-24, 03:35 AM
Last Post: donbrew
  Script Files vintdiesel 16 2,617 2019-09-22, 12:50 AM
Last Post: CDinger

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

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

Linear Mode
Threaded Mode