User Tools

Site Tools


refresh_on_demand_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
refresh_on_demand_linux [2012/10/02 15:31]
ttguy Note about needing to single quote contenUrls that contain &
refresh_on_demand_linux [2012/10/05 14:57]
ttguy link to ffmpeg-wrapperv2.zip where I have fixed a few things
Line 23: Line 23:
  
 ffmpeg-wrapper.sh for Linux/​Synology:​ {{:​ffmpeg-wrapper.zip}} ffmpeg-wrapper.sh for Linux/​Synology:​ {{:​ffmpeg-wrapper.zip}}
 +
 +Here is a modified version of this script in which a few things have been fixed {{:​ffmpeg-wrapperv2.zip}}.
  
 __**Note:​**__ Most the code of ffmpeg-wrapper.sh is from the Serviio for Synology available from [[http://​pcloadletter.co.uk]]. I have only made a few changes to enable support for Refresh.groovy. __**Note:​**__ Most the code of ffmpeg-wrapper.sh is from the Serviio for Synology available from [[http://​pcloadletter.co.uk]]. I have only made a few changes to enable support for Refresh.groovy.
  
 __**Note:​**__ It would appear that if the contentUrl that the plugin returns contains special characters like & then the  ffmpeg-wrapper.sh does not work properly. The shell consumes the & characters. The solution is to have the plugin return a contentUrl inclosed by single quotes ('). The contentUrl is then passed to the ffmpeg-wrapper.sh inside the single quotes and the & are not destroyed. ​ However, adding the single quotes around the contentUrl appears to break plugins when they are not using ffmpeg-wrapper.sh ​ - ttguy __**Note:​**__ It would appear that if the contentUrl that the plugin returns contains special characters like & then the  ffmpeg-wrapper.sh does not work properly. The shell consumes the & characters. The solution is to have the plugin return a contentUrl inclosed by single quotes ('). The contentUrl is then passed to the ffmpeg-wrapper.sh inside the single quotes and the & are not destroyed. ​ However, adding the single quotes around the contentUrl appears to break plugins when they are not using ffmpeg-wrapper.sh ​ - ttguy
refresh_on_demand_linux.txt ยท Last modified: 2012/10/05 14:57 by ttguy