I could not get AAC radio stations to play until JohnB sent me a PM with
the AAC custom-convert.conf entry he uses -
aac flc * 00:04:20:23:09:e3
# IFT
[faad] -q -w -f 1 $FILE$ | [InguzDSP] -id "00:04:20:23:09:e3" -wav -wavo
-d 24 | [flac] -cs -0 --totally-silent -
I modified the InguzEQ plugin.pm to replace the aap entry in the
template used to generate custom-convert.conf,
Code:
--------------------
# transcode for 24-bit FLAC output (sb2, sb3, transporter)
sub template_FLAC24
{
return <<'EOF1';
aac flc * $CLIENTID$
# IFT
[faad] -q -w -f 1 $FILE$ | [InguzDSP] -id "$CLIENTID$" -wav -wavo -d 24
| [flac] -cs -0 --totally-silent -
aif flc * $CLIENTID$
# FT:{START=-skip %t}
[$CONVAPP$] -id "$CLIENTID$" -input $FILE$ $START$ -be -wav -wavo -d 24
| [flac] -cs -5 --totally-silent -
alc flc * $CLIENTID$
# F
[alac] $FILE$ | [$CONVAPP$] -id "$CLIENTID$" -wav -wavo -d 24 | [flac]
-cs -5 --totally-silent -
amb flc * $CLIENTID$
# IFT:{START=-skip %t}
[$CONVAPP$] -id "$CLIENTID$" -input $FILE$ $START$ -amb -wavo -d 24 |
[flac] -cs -5 --totally-silent -
ape flc * $CLIENTID$
# F
[mac] $FILE$ - -d | [$CONVAPP$] -id "$CLIENTID$" -wav -wavo -d 24 |
[flac] -cs -5 --totally-silent -
flc flc * $CLIENTID$
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ | [$CONVAPP$] -id "$CLIENTID$" -wav
-wavo -d 24 | [flac] -cs -5 --totally-silent -
mov flc * $CLIENTID$
# FR
[mov123] $FILE$ | [$CONVAPP$] -id "$CLIENTID$" -be -wavo -d 24 | [flac]
-cs -5 --totally-silent -
mp3 flc * $CLIENTID$
# IFD:{RESAMPLE=--resample %D}
[lame] --mp3input --decode $RESAMPLE$ --silent $FILE$ - - | [$CONVAPP$]
-id "$CLIENTID$" -wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
mpc flc * $CLIENTID$
# IR
[mppdec] --silent --prev --gain 3 - - | [$CONVAPP$] -id "$CLIENTID$"
-wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
ogg flc * $CLIENTID$
# IFD:{RESAMPLE=-r %D}
[sox] -t ogg $FILE$ -t wav $RESAMPLE$ -w - | [$CONVAPP$] -id
"$CLIENTID$" -be -wavo -d 24 | [flac] -cs -5 --totally-silent -
uhj flc * $CLIENTID$
# FT:{START=-skip %t}
[$CONVAPP$] -id "$CLIENTID$" -input $FILE$ $START$ -wav -wavo -d 24 |
[flac] -cs -5 --totally-silent -
wav flc * $CLIENTID$
# FT:{START=-skip %t}
[$CONVAPP$] -id "$CLIENTID$" -input $FILE$ $START$ -wav -wavo -d 24 |
[flac] -cs -5 --totally-silent -
wma flc * $CLIENTID$
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -w $PATH$ | [$CONVAPP$] -id "$CLIENTID$" -wavo -d 24 | [flac]
-cs -5 --totally-silent -
wvp flc * $CLIENTID$
# FT:{START=--skip=%t}U:{END=--until=%v}
[wvunpack] $FILE$ -wq $START$ $END$ -o - | [InguzDSP] -id "$CLIENTID$"
-wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
EOF1
}
--------------------
InguzEQ then generates the following custom-convert.conf
Code:
--------------------
# #inguzeq#begin#rev:0.9.33#client:00:04:20:1e:34:b9# ***** BEGIN
AUTOMATICALLY GENERATED SECTION - DO NOT EDIT ****
aac flc * 00:04:20:1e:34:b9
# IFT
[faad] -q -w -f 1 $FILE$ | [InguzDSP] -id "00:04:20:1e:34:b9" -wav
-wavo -d 24 | [flac] -cs -0 --totally-silent -
aif flc * 00:04:20:1e:34:b9
# FT:{START=-skip %t}
[InguzDSP] -id "00:04:20:1e:34:b9" -input $FILE$ $START$ -be -wav -wavo
-d 24 | [flac] -cs -5 --totally-silent -
alc flc * 00:04:20:1e:34:b9
# F
[alac] $FILE$ | [InguzDSP] -id "00:04:20:1e:34:b9" -wav -wavo -d 24 |
[flac] -cs -5 --totally-silent -
amb flc * 00:04:20:1e:34:b9
# IFT:{START=-skip %t}
[InguzDSP] -id "00:04:20:1e:34:b9" -input $FILE$ $START$ -amb -wavo -d
24 | [flac] -cs -5 --totally-silent -
ape flc * 00:04:20:1e:34:b9
# F
[mac] $FILE$ - -d | [InguzDSP] -id "00:04:20:1e:34:b9" -wav -wavo -d 24
| [flac] -cs -5 --totally-silent -
flc flc * 00:04:20:1e:34:b9
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ | [InguzDSP] -id
"00:04:20:1e:34:b9" -wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
mov flc * 00:04:20:1e:34:b9
# FR
[mov123] $FILE$ | [InguzDSP] -id "00:04:20:1e:34:b9" -be -wavo -d 24 |
[flac] -cs -5 --totally-silent -
mp3 flc * 00:04:20:1e:34:b9
# IFD:{RESAMPLE=--resample %D}
[lame] --mp3input --decode $RESAMPLE$ --silent $FILE$ - - | [InguzDSP]
-id "00:04:20:1e:34:b9" -wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
mpc flc * 00:04:20:1e:34:b9
# IR
[mppdec] --silent --prev --gain 3 - - | [InguzDSP] -id
"00:04:20:1e:34:b9" -wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
ogg flc * 00:04:20:1e:34:b9
# IFD:{RESAMPLE=-r %D}
[sox] -t ogg $FILE$ -t wav $RESAMPLE$ -w - | [InguzDSP] -id
"00:04:20:1e:34:b9" -be -wavo -d 24 | [flac] -cs -5 --totally-silent -
uhj flc * 00:04:20:1e:34:b9
# FT:{START=-skip %t}
[InguzDSP] -id "00:04:20:1e:34:b9" -input $FILE$ $START$ -wav -wavo -d
24 | [flac] -cs -5 --totally-silent -
wav flc * 00:04:20:1e:34:b9
# FT:{START=-skip %t}
[InguzDSP] -id "00:04:20:1e:34:b9" -input $FILE$ $START$ -wav -wavo -d
24 | [flac] -cs -5 --totally-silent -
wma flc * 00:04:20:1e:34:b9
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -w $PATH$ | [InguzDSP] -id "00:04:20:1e:34:b9" -wavo -d 24 |
[flac] -cs -5 --totally-silent -
wvp flc * 00:04:20:1e:34:b9
# FT:{START=--skip=%t}U:{END=--until=%v}
[wvunpack] $FILE$ -wq $START$ $END$ -o - | [InguzDSP] -id
"00:04:20:1e:34:b9" -wav -wavo -d 24 | [flac] -cs -5 --totally-silent -
# #inguzeq#end#client:00:04:20:1e:34:b9# ***** END AUTOMATICALLY GENERATED
SECTION - DO NOT EDIT *****
--------------------
and as bpa pointed out, the custom-types.conf needs to reflect the
change from aap to aac
Code:
--------------------
# InguzEQ types
#########################################################################
#ID Suffix Mime Content-Type Server File Type#
#########################################################################
amb amb ? audio
uhj uhj ? audio
aac - audio/aacp,audio/aac audio
xaml xaml application/xaml+xml -
--------------------
This change has opened up the radio streams and limited testing has not
found a stream that won't play.
I will post the edited InguzEQ plugin.pm and custom-types.conf in the
InguzEQ thread in the Audiophile forum.
Thanks to JohnB and bpa, anymore suggestions welcome.
A camel is a racehorse designed by a committee.
Seen sprayed on the outside wall of the local library -
Three things I hate in life :
1. Vandalism
2. Irony
3. Lists
------------------------------------------------------------------------
Wirrunna's Profile: http://forums.slimdevices.com/member.php?userid=3225
View this thread: http://forums.slimdevices.com/showthread.php?t=109437
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins