I tried what Roland0 suggested but I'm kind of stuck here.

I compiled 'vgmplay
' (https://github.com/vgmrips/vgmplay) on a Raspberry Pi 4 Model B Rev
1.1 running (Raspbian GNU/Linux 10 (buster)) LMS is 8.3.0 - 1639659909

I used same syntax as mentioned within the help

Code:
--------------------
    usage: ./vgm2wav [options] vgm_file wav_file
  wav_file can be - for standard output.
  
  Options:
  --loop-count {number}
  --fade-ms {number}
  --no-smpl-chunk
  
--------------------



I created /etc/squeezeboxserver/custom-convert.conf

Code:
--------------------
    vgm mp3 * *
  # IFB:{BITRATE=--abr %B}
  [vgm2wav] $FILE$ - | [lame] --silent -q $QUALITY$ $BITRATE$ - -
  
--------------------


/etc/squeezeboxserver/custom-types.conf

Code:
--------------------
    #########################################################################
  #ID     Suffix          Mime Content-Type               Server File Type#
  #########################################################################
  vgm     vgm,vgz         -                               audio
  
--------------------


results in the following trying to play vgm file through LMS:


Code:
--------------------
    [21-12-19 16:21:00.5968] Slim::Player::TranscodingHelper::checkBin (268) 
Checking formats for: vgm-mp3-*-*
  [21-12-19 16:21:00.5971] Slim::Player::TranscodingHelper::enabledFormat (235) 
Checking to see if vgm-mp3-*-* is enabled
  [21-12-19 16:21:00.5974] Slim::Player::TranscodingHelper::enabledFormat (243) 
There are 1 disabled formats...
  [21-12-19 16:21:00.5976] Slim::Player::TranscodingHelper::enabledFormat (249) 
Testing spt-flc-*-* vs vgm-mp3-*-*
  [21-12-19 16:21:00.5978] Slim::Player::TranscodingHelper::checkBin (276)    
enabled
  [21-12-19 16:21:00.5981] Slim::Player::TranscodingHelper::checkBin (278)   
Found command: [vgm2wav] $FILE$ - | [lame] --silent -q $QUALITY$ $BITRATE$ - -
  [21-12-19 16:21:00.5984] Slim::Player::TranscodingHelper::getConvertCommand2 
(418) Rejecting [vgm2wav] $FILE$ - | [lame] --silent -q $QUALITY$ $BITRATE$ - - 
because required capability T not supported: 
  [21-12-19 16:21:00.5994] Slim::Player::TranscodingHelper::getConvertCommand2 
(490) Error: Didn't find any command matches for type: vgm
  [21-12-19 16:21:00.6000] Slim::Player::Song::open (394) seek=false time=0 
canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDvgm
  [21-12-19 16:21:00.6008] Slim::Player::TranscodingHelper::checkBin (268) 
Checking formats for: vgm-mp3-*-*
  [21-12-19 16:21:00.6011] Slim::Player::TranscodingHelper::enabledFormat (235) 
Checking to see if vgm-mp3-*-* is enabled
  [21-12-19 16:21:00.6015] Slim::Player::TranscodingHelper::enabledFormat (243) 
There are 1 disabled formats...
  [21-12-19 16:21:00.6017] Slim::Player::TranscodingHelper::enabledFormat (249) 
Testing spt-flc-*-* vs vgm-mp3-*-*
  [21-12-19 16:21:00.6020] Slim::Player::TranscodingHelper::checkBin (276)    
enabled
  [21-12-19 16:21:00.6023] Slim::Player::TranscodingHelper::checkBin (278)   
Found command: [vgm2wav] $FILE$ - | [lame] --silent -q $QUALITY$ $BITRATE$ - -
  [21-12-19 16:21:00.6029] Slim::Player::TranscodingHelper::getConvertCommand2 
(493) Matched: vgm->mp3 via: [vgm2wav] $FILE$ - | [lame] --silent -q $QUALITY$ 
$BITRATE$ - -
  [21-12-19 16:21:00.6033] Slim::Player::Song::open (424) Transcoder: 
streamMode=I, streamformat=mp3
  [21-12-19 16:21:00.6036] Slim::Player::Song::open (480) Opening stream (no 
direct streaming) using Slim::Player::Protocols::File 
[file:///home/pi/Music/VGM/33%20-%20Stand%20Up%20Against%20Myself%20(Staff%20Roll).vgm]
  [21-12-19 16:21:00.6044] Slim::Player::Protocols::File::open (80) duration: 
[] size: [777532] endian [] offset: [0] for 
file:///home/pi/Music/VGM/33%20-%20Stand%20Up%20Against%20Myself%20(Staff%20Roll).vgm
  [21-12-19 16:21:00.6047] Slim::Player::Protocols::File::open (97) Opening 
file /home/pi/Music/VGM/33 - Stand Up Against Myself (Staff Roll).vgm
  [21-12-19 16:21:00.6053] Slim::Player::Protocols::File::open (189) Seeking in 
0 into /home/pi/Music/VGM/33 - Stand Up Against Myself (Staff Roll).vgm
  [21-12-19 16:21:00.6059] Slim::Player::Song::open (510) URL is a song 
(audio): 
file:///home/pi/Music/VGM/33%20-%20Stand%20Up%20Against%20Myself%20(Staff%20Roll).vgm,
 type=vgm
  [21-12-19 16:21:00.6067] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (667) Using command 
for conversion: "/usr/share/squeezeboxserver/Bin/armhf-linux/vgm2wav" - - | 
"/usr/bin/lame" --silent -q 0 - -
  [21-12-19 16:21:00.6071] Slim::Player::Song::open (586) Tokenized command: 
"/usr/share/squeezeboxserver/Bin/armhf-linux/vgm2wav" - - | "/usr/bin/lame" 
--silent -q 0 - -
  [21-12-19 16:21:00.6368] Slim::Player::SongStreamController::new (36) live=1
--------------------


I do not know what 
Code:
--------------------
    because required capability T not supported
--------------------
 means but I assume that is one of the last puzzles to solve :)


------------------------------------------------------------------------
Rasputin_GY's Profile: http://forums.slimdevices.com/member.php?userid=68369
View this thread: http://forums.slimdevices.com/showthread.php?t=115589

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to