NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 30 31 32 33 34 Next »
help with script

 
  • 0 Vote(s) - 0 Average
help with script
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#1
2019-09-23, 04:09 PM
I am feeling really dense today.

I need a simple Linux bash script to move a finished recording to a monitored directory so Medusa can rename and put it in the correct spot.

The problem is if I record to the monitored directory Medusa can't tell if it is finished and renames and moves it prematurely.

I am just having a devil's time understanding the script samples.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2019-09-23, 04:48 PM
Probably just need a PostProcessing.sh with something like this:

Code:
#!/bin/bash
mv $1 /some/directory
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#3
2019-09-24, 03:35 AM (This post was last modified: 2019-09-24, 04:04 AM by donbrew.)
Thanks sub. I made it work.
Put the script in the correct location; /var/opt/nextpvr/scripts
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Remote NextPVR backup script for Linux snagglewest 2 585 2024-02-06, 05:44 PM
Last Post: snagglewest
  Think all the script files must've disappeared mlp78758 13 1,564 2022-11-25, 05:34 PM
Last Post: mvallevand
  Linux upgrade shell script.. NextPVR-consumer 3 1,183 2021-12-05, 03:17 PM
Last Post: mvallevand
  bulk comskip processing script baj1 7 3,379 2020-11-21, 08:44 PM
Last Post: baj1
  Script locations and parameters ? ceejayemm 2 1,242 2020-10-14, 12:02 PM
Last Post: ceejayemm
  Post Delete script geniepro 5 2,195 2019-10-02, 12:54 AM
Last Post: flyingsubs
  Script Files vintdiesel 16 6,549 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