Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-04 Thread mavit
bpa wrote: > Much harder as it will be a BAT file which has limited scripting > capability. Perl is available if required, of course. mavit's Profile: http://forums.slimdevices.com/member.php?userid=10203 View this

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-02 Thread gorman
Paul Webster wrote: > Here a basis for the unusual bit ... swapping {} to [] > > swap.bat > > Code: > > > setlocal enabledelayedexpansion > set /P MY_TEXT=ENTER TEXT: > SET SWAP=[ > set NEW_TEXT=%MY_TEXT:{=!SWAP!% > SET SWAP=] > set

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-02 Thread Paul Webster
Here a basis for the unusual bit ... swapping {} to [] swap.bat Code: setlocal enabledelayedexpansion set /P MY_TEXT=ENTER TEXT: SET SWAP=[ set NEW_TEXT=%MY_TEXT:{=!SWAP!% SET SWAP=] set NEW_TEXT=%NEW_TEXT:}=!SWAP!% ECHO %NEW_TEXT%

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-02 Thread gorman
bpa wrote: > Much harder as it will be a BAT file which has limited scripting > capability.That's what I was afraid of... Code: # FT:{START=-j %s}U:{END=-e %u} faad -q -w -f 2 $START$ $END$ $FILE$ | ffmpeg -i - -filter_complex

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-02 Thread gorman
Any pointers on how to create this script in a Windows environment? I'm willing to learn but coming back to this I don't even know where to start learning from... :) gorman's Profile:

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-02 Thread gorman
I thank you both for your replies. You seriously overestimate my programming skills but... I will search and try to learn. Thanks again! gorman's Profile: http://forums.slimdevices.com/member.php?userid=56 View this

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-02 Thread bpa
You can create a shell script in Bin (e.g. ffmpeg.sh) and it take the tokenized command line and then reformat it as necessary (e.g. use curly bracket in conf file and replace them in shell scrpt) bpa's Profile:

Re: [SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-01 Thread Michael Herger
But many of its arguments and switches use square brackets. As soon as I use them Squeezebox Server complains that it cannot find the corresponding binary... This seems just an oversight or maybe I'm missing something. The transcoding helper framework considers strings in square brackets

[SlimDevices: SqueezeCenter] Is it possible somehow to use square brackts in custom-convert-conf?

2020-07-01 Thread gorman
FFMPEG has lots of incredibly interesting filters to play with, for instance HRTF surround simulation for headphones. But many of its arguments and switches use square brackets. As soon as I use them Squeezebox Server complains that it cannot find the corresponding binary... This seems just an