Well, almost there. I added this to my -custom-convert.conf:-
Code:
--------------------
mod flc * *
# F:{PATH=%f}R:{PATH=%F}T:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r
%d}
[xmp] $PATH$ --nofilter -c -t 300 -o %TEMP%\1.wav | [flac] -cs
--totally-silent --compression-level-0 $START$ $END$ -- %TEMP%\1.WAV | [sox] -q
-t flac - -t flac -C 0 $RESAMPLE$ -
--------------------
And this to custom-type.conf:
Code:
--------------------
#########################################################################
#ID Suffix Mime Content-Type Server File Type#
#########################################################################
mod mod audio/x-amiga-mod audio
--------------------
This actually results in LMS being able MOD files when picked from the
directory view in LMS's control interface in the browser. It doesn't
even take long until the music starts. About 3 seconds average. Not too
bad.
HOWEVER:
- neither the file name nor the module's internal name is shown. The
latter is no surprise as there is nothing to extract the name from the
MOD file and hand it over to LMS to pass it through to the player's
display
- the resulting stream is like a web radio stream. I cannot skip to a
given point in the playback
- in the browser it looks like nothing is playing at all during
playback, see screenshot below
- I'm not happy working with a temporary file that always has the same
name. This would not work if two users wanted to consume MOD files at
the same time. As LMS is Windows-based here, I cannot take xmp's
output and pipe it directly to flac as one would do in Linux. It seems
that it cannot work without files in Windows at all
- the scanner apparently overlooks the .MOD files completely so they
never make it into my library. I have to use the file system /
directory based file picker to see modules
24112
Looked at ffmpeg again and it seems that it is not capable of using
libopenmpt. Even though I put its binaries in the same directory as the
ffmpeg executable, this is what I get:
Code:
--------------------
>ffmpeg
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib
--enable-fontconfig --enable-gnutls --enabl
e-iconv --enable-libass --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
--enable-libtwolame --enable-libvpx --enable-
libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda
--enable-cuvid --enable-d3d11va --enable-nvenc --e
nable-dxva2 --enable-avisynth --enable-libmfx
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
--------------------
No libopenmpt in the list :( and no ---enable-libopenmpt -switch is
available
+-------------------------------------------------------------------+
|Filename: 2017-12-01_19-26-30.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24112|
+-------------------------------------------------------------------+
PN me if your Boom / Classic / Transporter display has issues!
LMS 7.9.0 on Windows Server 2012
1x Squezeebox Classic SB2
7x Squeezebox Classic SB3 (one waiting for repair)
7x Squeezebox Boom (two waiting for repair)
1x Transporter
2x Controller (one waiting for repair)
3x Touch (two waiting for repair)
1x Radio
------------------------------------------------------------------------
JoeMuc2009's Profile: http://forums.slimdevices.com/member.php?userid=23131
View this thread: http://forums.slimdevices.com/showthread.php?t=108331
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping