bakker_be wrote:
> Thanks, I think a path issue is indeed what's happening.
> Daphile is configured out of the box to use /srv/mediaserver/music/ as
> the LMS music path. Any disk you add is automatically mounted under that
> path, in its own folder (which makes adding more discs containing music
> really simple, it's all under one directory). I connected my USB disk to
> my Windows machine directly, making scanning quicker than over the
> network, resulting in a db path of e.g. "Queensrÿche/MTV
> Unplugged/05-Intro.flac". The LMS-Bliss interaction expects
> "/srv/mediaserver/music/Queensrÿche/MTV Unplugged/05-Intro.flac" if I
> understood you correctly, but the actual file path as seen by LMS is
> "/srv/mediaserver/music/USB Drives/UP_Music/Queensrÿche/MTV
> Unplugged/05-Intro.flac", which of course can't be found.
> I've just set LMS to use "/srv/mediaserver/music/USB Drives/UP_Music" as
> music folder. I'll let you know after the clear and rescan if it's
> solved.
>
> *UPDATE:* it works now :
> >
Code:
--------------------
> >
> [22-12-13 14:00:03.0201] Plugins::BlissMixer::Plugin::_startMixer (255)
Start mixer with params: --lms 192.168.3.44 --db
/var/daphile/mediaserver/cache/bliss.db --address 127.0.0.1
> [22-12-13 14:00:04.0367] Plugins::BlissMixer::Plugin::__ANON__ (262)
/var/daphile/mediaserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/x86_64-linux/bliss-mixer
running
> [22-12-13 14:00:04.0378] Plugins::BlissMixer::Plugin::_startMixer (207)
/var/daphile/mediaserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/x86_64-linux/bliss-mixer
already running
> [22-12-13 14:00:04.6257] Plugins::BlissMixer::Plugin::_cliCommand (306)
Mixer port: 44171
> [22-12-13 14:00:05.0391] Plugins::BlissMixer::Plugin::_dstmMix (893) Get
tracks
> [22-12-13 14:00:05.0411] Plugins::BlissMixer::Plugin::_getMixableProperties
(447) Auto-mixing from random tracks in current playlist
> [22-12-13 14:00:05.0497] Plugins::BlissMixer::Plugin::_dstmMix (905) Seed
/srv/mediaserver/music/USB Drives/UP_Music/Anouk/Who's Your Momma/06-Good
God.flac id:175985
> [22-12-13 14:00:05.0505] Plugins::BlissMixer::Plugin::_getPreviousTracks
(998) Get last 200 tracks
> [22-12-13 14:00:05.0511] Plugins::BlissMixer::Plugin::_dstmMix (920) Num
tracks to previous: 1
> [22-12-13 14:00:05.0528] Plugins::BlissMixer::Plugin::_getMixData (1059)
Request {"filterxmas":1,"previous":["Anouk/Who's Your Momma/06-Good
God.flac"],"filtergenre":0,"genregroups":[],"tracks":["Anouk/Who's Your
Momma/06-Good
God.flac"],"norepart":100,"norepalb":100,"shuffle":1,"max":0,"count":3,"min":0}
> [22-12-13 14:00:05.0533] Plugins::BlissMixer::Plugin::_dstmMix (926) URL:
http://localhost:44171/api/mix
> [22-12-13 14:00:05.3440] Plugins::BlissMixer::Plugin::__ANON__ (930)
Received API response
> [22-12-13 14:00:05.5824] Plugins::BlissMixer::Plugin::__ANON__ (949) Num
tracks to use:3
> [22-12-13 14:00:05.5829] Plugins::BlissMixer::Plugin::__ANON__ (951)
...file:///srv/mediaserver/music/USB%20Drives/UP_Music/Cee%20Lo%20Green/Cee-Lo%20Green...%20Is%20the%20Soul%20Machine%20(Clean)/11-Evening%20News.flac
> [22-12-13 14:00:05.5833] Plugins::BlissMixer::Plugin::__ANON__ (951)
...file:///srv/mediaserver/music/USB%20Drives/UP_Music/Various/Radio%2010%20Gold%20Top%204000%202010/1409-Greased%20Lightnin%27.flac
> [22-12-13 14:00:05.5837] Plugins::BlissMixer::Plugin::__ANON__ (951)
...file:///srv/mediaserver/music/USB%20Drives/UP_Music/Roy%20Orbison/Black%20&%20White%20Night/12-Go,%20Go,%20Go%20(Down%20The%20Line).flac
>
--------------------
> >
> This probably means that anybody using Daphile currently has no way of
> using both Bliss and the easy way of transparently adding more music
> discs to LMS, since out of the box Daphile doesn't expose the root
> music folder (/srv/mediaserver/music) over the network. Scanning on
> the server will probably not work either, as it's a much more closed
> system than pCP, even SSH isn't available on non-beta releases. I'll
> probably try anyway, as I've (obviously) installed the beta ;)
As stated, Bliss only stores the path -within- the music folder. So if
you analysed c:\Some\Path\Artist\Album\Track.mp3 and set c:\Some\Path\
as Bliss analyser's music path, then only Artist/Album/Track.mp3 is
stored in the DB. When the mixer is run, it removes all LMS configured
Music paths from the LMS music tracks. So if
/srv/mediaserver/music/USB%20Drives/UP_Music/ was defined in LMS as a
music directory, then
/srv/mediaserver/music/USB%20Drives/UP_Music/Cee%20Lo%20Green/Cee-Lo%20Green...%20Is%20the%20Soul%20Machine%20(Clean)/11-Evening%20News.flac
is passed to bliss-mixer as
Cee%20Lo%20Green/Cee-Lo%20Green...%20Is%20the%20Soul%20Machine%20(Clean)/11-Evening%20News.flac
- and therefore should be found.
Both the analyser and mixer -should- be able to handle multiple music
directories.
*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116068
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins