These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Commands in shell script failed because of comment syntax errors

user-1239

Haven't used Get_iplayer for a while and after updating I had some problems with

Code:
--modes=hvfhd,hvfsd,hvfxsd,hvfhigh,hvfxhigh,hvflow

so after perusing the latest wiki I changed the lines to :

Code:
get_iplayer --PID b09vpgr7 --modes=tvhd,tvsd,tvhigh,tvlow --output /home/pi/mounts/jaws/D --fileprefix="<nameshort><.senum><.episodeshort>" --force#6
get_iplayer --PID b09w3m05 --modes=tvhd,tvsd,tvhigh,tvlow --output /home/pi/mounts/jaws/D --fileprefix="<nameshort><.senum><.episodeshort>" --force#6
get_iplayer --PID b09w8jp0 --modes=tvhd,tvsd,tvhigh,tvlow --output /home/pi/mounts/jaws/D --fileprefix="<nameshort><.senum><.episodeshort>" --force #5

3 episodes of a programme above.
Unfortunately I had to abort as I'd forgot a couple of things. I did this twice.

So on the first time it skipped the first file was skipped. What was strange was that get_iplayer spat out the usage page.

I aborted to check what if I'd made a typo and the second file had started.

Of course the locked files on the destination were removed but to no avail. Now even after restarting my raspberry the above will only start the 3rd entry and again the usage page is given before that as though it doesn't understand one of the parmeters.

Any ideas what is going on? As above I have the --force setting so it's not history and I've definitely cleared all partial files that may be locked on the destination.

(using v3.25 on Raspian)

user-1239

Ok forget that I found the problem - seems that a comment needs a space at the end I had:

Code:
--force#6


on the first 2 lines

These forums are archived

See this post for further info