Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-22 Thread mruddo


cpd73 wrote: 
> No, the code will normalize. The default is 100% as its there to reflect
> the current/previous state.

This is interesting, but since the upgrade I feel sure I'm getting
smoother mixes than I recall previously... Which is why I stopped by
here to see if there was any other mention of this. I'm assuming however
that you're saying there was no actual change to the defaults with the
addition of the sliders.

I also note @chourmovs comments on his metric weighting changes - I may
have to give these a go myself and see the difference.



mruddo's Profile: http://forums.slimdevices.com/member.php?userid=65325
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-22 Thread chourmovs


*wow*


WW !!!
This is working incredibly well, this is such efficient !!! :D 
I've plaid a couple of hours with sliders in parallel of making review
of tracks played in bliss.db using DB.browser 
the weighting algorithm do exactly what is it for and work pretty well,
no mistake !!

Here are my settings that play incredibly consistent mix for me
39525

By studying the database of my music collection, I noticed that you
could eventually regroup some choma settings in 2 subcategory (= 2
sliders)
Actually chroma 1 to 6 and chroma 7 to 10 seems to work together as you
can see
39526 

Not sure it make sense, you tell me

Happy to finally get the killer plugin !!! 1000 Thx for all


+---+
|Filename: Screenshot_20221222_102156.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39526|
+---+


chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


cpd73 wrote: 
> Just tried making the github action use Stretch, and it failed. Sorry,
> but I'll leave on Bullseye.
This is not blocking for me, don't worry for that ^^  thx



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread cpd73


slartibartfast wrote: 
> Do the sliders always need to total 100% or is the default just
> coincidence?

No, the code will normalize. The default is 100% as its there to reflect
the current/previous state.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread slartibartfast


Do the sliders always need to total 100% or is the default just
coincidence?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


cpd73 wrote: 
> Just uploaded 0.3.1 with bliss-mixer rebuilt on Debiab Stretch. This
> -should- be the same as before.
0.3.1 fix bliss mixer on debian buster ;)
Let's begin to play with sliders
Thank you for all, I will report experience



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


Actually the analyser didn't work as is before for the same reason, I
had to build it within my debian using cargo. It didn't change with new
release i had to build also



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread cpd73


chourmovs wrote: 
> sorry, no I've messed with vbulletin on my phone trying to edit my
> previous post, it's buggy.
> I still have bliss-mixer 0.1.0 not working on debian buster over ARMf71
> due to glibc...

Just uploaded 0.3.1 with bliss-mixer rebuilt on Debiab Stretch. This
-should- be the same as before.

Does the analyser also no longer work? Did it before? If so, I might
make the same change.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


Still present
39511
39512

My proposition was : I try to rust build on debian buster... or you can
easily fix what look like regression for me coming from previous release
You tell me

Thx


+---+
|Filename: Screenshot_20221220_194118.png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39512|
+---+


chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


sorry, no I've messed with vbulletin on my phone trying to edit my
previous post, it's buggy.
I still have bliss-mixer 0.1.0 not working on debian buster over ARMf71
due to glibc...



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread cpd73


chourmovs wrote: 
> ARM link seems broken

You posted a message stating the mixer did not run, due to glibc. But
this message has been deleted? Does the mixer now work?



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


The update broke the plugin here, I think I found why

Platform : ARMv71
39501

if i launch bliss-mixer via ssh on the headless machine, I get
39502

this is a bliss-mixer 0.1.0 regression for my config

Do I need to "cargo build it" and provide it to you or could you check
what has changed in you rust env ?


+---+
|Filename: Screenshot_20221220_194118.png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39502|
+---+


chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread cpd73


chourmovs wrote: 
> ARM link seems broken

Oops! Should be fixed now.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


cpd73 wrote: 
> Analyser 0.2.2 and Mixer 0.3.0
> Analyser binaries (initial post updated):
> 
> >   >   > 
  -  'Linux (ARM, 32-bit and 64-bit )'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-arm-0.2.2.zip)
  > > > 
> 
ARM link seems broken



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread cpd73


slartibartfast wrote: 
> Will this mean analysing the whole library from scratch?

No, the analysis data has not changed.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread chourmovs


cpd73 wrote: 
> Analyser 0.2.2 and Mixer 0.3.0
Thank you for this quick effort, Santa can always try to do better :)



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread slartibartfast


cpd73 wrote: 
> Analyser 0.2.2 and Mixer 0.3.0
> 
> Plugin changes (0.3.0):
> 
> >   > 
  -  Allow genres in genre groups to use wildcard, and other regular
  > expressions.
  -  Allow supplying weights for bliss metrics.
  > > > 
> 
> Analyser changes (0.2.2):
> 
> >   > 
  -  Update version of tag reader library.
  -  Update version of bliss library
  > > > 
> 
> Analyser binaries (initial post updated):
> 
> >   >   > 
  -  'Linux (ARM, 32-bit and 64-bit )'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-arm-0.2.2.zip)
  -  'Linux (x86, ffmpeg4)'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-linux-x86-ffmpeg4-0.2.2.zip)
  -  'Linux (x86, ffmpeg5)'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-linux-x86-ffmpeg5-0.2.2.zip)
  -  'Mac'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-mac-0.2.2.zip)
  -  'Windows'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-windows-0.2.2.zip)
  > > > 
> 
> Note, 2 versions of analyser are built for Linux x86 - one for ffmpeg4
> (e.g. Ubuntu), and another for ffmpeg5 (e.g. Fedora 36)Will this mean 
> analysing the whole library from scratch?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-20 Thread cpd73


Analyser 0.2.2 and Mixer 0.3.0

Plugin changes (0.3.0):

  
-  Allow genres in genre groups to use wildcard, and other regular
  expressions.
-  Allow supplying weights for bliss metrics.
  

Analyser changes (0.2.2):

  
-  Update version of tag reader library.
-  Update version of bliss library
  

Analyser binaries (initial post updated):


-  'Linux (ARM, 32-bit and 64-bit )'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-arm-0.2.2.zip)
-  'Linux (x86, ffmpeg4)'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-linux-x86-ffmpeg4-0.2.2.zip)
-  'Linux (x86, ffmpeg5)'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-linux-x86-ffmpeg5-0.2.2.zip)
-  'Mac'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-mac-0.2.2.zip)
-  'Windows'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.2.2/bliss-analyser-windows-0.2.2.zip)
  

Note, 2 versions of analyser are built for Linux x86 - one for ffmpeg4
(e.g. Ubuntu), and another for ffmpeg5 (e.g. Fedora 36)



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-19 Thread Sridhar
Idiots don’t know whom you are sending emails?

Thanks 
Sridhar 

Sent from my iPhone

> On Dec 19, 2022, at 1:22 PM, chourmovs 
>  wrote:
> 
> 
> cpd73 wrote: 
>> I've implemented this in git - but I'm not 100% sure. Bliss has 20
>> Metrics (1 for Tempo, 7 for Timbre, 2 for Loudness, and 10 for Chroma) -
>> and currently the mixer config has sliders for all 20. But, this seems a
>> bit overkill to me. 
> That's funny, by analyzing the database and all this chroma columns,  I
> had the same thought
> 
> cpd73 wrote: 
>> I'm thinking of allowing just 4 - Tempo, Timbre, Loudness, and Chroma.
>> So, a setting for Timbre would apply to all 7 of its metrics. Need to
>> give this some thought...
> The ability to play on this 4 parameters will give sufficient
> granularity and a nice playground , more could be excessive, at least
> for a first draft...
> 
> Good Job, I cross finger for a release when ready ;)
> 
> 
> 
> chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
> View this thread: http://forums.slimdevices.com/showthread.php?t=116068
> 
> ___
> plugins mailing list
> plugins@lists.slimdevices.com
> http://lists.slimdevices.com/mailman/listinfo/plugins

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-19 Thread Sridhar
Idiots

Thanks 
Sridhar 

Sent from my iPhone

> On Dec 19, 2022, at 1:22 PM, chourmovs 
>  wrote:
> 
> 
> cpd73 wrote: 
>> I've implemented this in git - but I'm not 100% sure. Bliss has 20
>> Metrics (1 for Tempo, 7 for Timbre, 2 for Loudness, and 10 for Chroma) -
>> and currently the mixer config has sliders for all 20. But, this seems a
>> bit overkill to me. 
> That's funny, by analyzing the database and all this chroma columns,  I
> had the same thought
> 
> cpd73 wrote: 
>> I'm thinking of allowing just 4 - Tempo, Timbre, Loudness, and Chroma.
>> So, a setting for Timbre would apply to all 7 of its metrics. Need to
>> give this some thought...
> The ability to play on this 4 parameters will give sufficient
> granularity and a nice playground , more could be excessive, at least
> for a first draft...
> 
> Good Job, I cross finger for a release when ready ;)
> 
> 
> 
> chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
> View this thread: http://forums.slimdevices.com/showthread.php?t=116068
> 
> ___
> plugins mailing list
> plugins@lists.slimdevices.com
> http://lists.slimdevices.com/mailman/listinfo/plugins

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-19 Thread chourmovs


cpd73 wrote: 
> I've implemented this in git - but I'm not 100% sure. Bliss has 20
> Metrics (1 for Tempo, 7 for Timbre, 2 for Loudness, and 10 for Chroma) -
> and currently the mixer config has sliders for all 20. But, this seems a
> bit overkill to me. 
That's funny, by analyzing the database and all this chroma columns,  I
had the same thought

cpd73 wrote: 
> I'm thinking of allowing just 4 - Tempo, Timbre, Loudness, and Chroma.
> So, a setting for Timbre would apply to all 7 of its metrics. Need to
> give this some thought...
The ability to play on this 4 parameters will give sufficient
granularity and a nice playground , more could be excessive, at least
for a first draft...

Good Job, I cross finger for a release when ready ;)



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-19 Thread cpd73


chourmovs wrote: 
> Hi Craig
> I've made an enhancement proposition
> https://github.com/CDrummond/bliss-analyser/issues/6
> 
> Hope you'll find a way

I've implemented this in git - but I'm not 100% sure. Bliss has 20
Metrics (1 for Tempo, 7 for Timbre, 2 for Loudness, and 10 for Chroma) -
and currently the mixer config has sliders for all 20. But, this seems a
bit overkill to me. I'm thinking of allowing just 4 - Tempo, Timbre,
Loudness, and Chroma. So, a setting for Timbre would apply to all 7 of
its metrics. Need to give this some thought...



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-18 Thread cpd73


chourmovs wrote: 
> Hi Craig
> I've made an enhancement proposition
> https://github.com/CDrummond/bliss-analyser/issues/6
> 
> Hope you'll find a way

There's no need (but no harm) to post here - as I get emails when issues
are created, or updated. Anyhow, I had considered this previously - just
a matter of finding the spare time!



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-17 Thread chourmovs


Hi Craig
I've made an enhancement proposition
https://github.com/CDrummond/bliss-analyser/issues/6

Hope you'll find a way



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-14 Thread bakker_be


cpd73 wrote: 
> 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.
But that's just the thing: with the default configuration of Daphile you
see just one global music folder in LMS: /srv/mediaserver/music/,
regardless of how many storage discs you've added. When adding a storage
disc to the installation you can choose its name and whether it's used
as music, backup or other. It then gets mounted underneath the global
music folder, adding quite some path info, in this case /USB
Drives/UP_Music/, before getting to the /ARTIST/ALBUM/ part of the path.
So if I understood the mechanics correctly, all Bliss removes is
/srv/mediaserver/music/, as that's what's configured in LMS (out of the
box!), expecting to see /ARTIST/ALBUM/TRACK there, while in reality the
path is /srv/mediaserver/music/*USB
Drives/UP_Music/*ARTIST/ALBUM/TRACK.
39413
39414
39415

The reasoning behind this approach in Daphile is IMO "ease of
management": strictly speaking, using it you don't go to the native
interface of LMS, instead using its own flavour of it, not even
presented on port 9000, but simply over http. All management is done
here, and the default LMS "Basic Settings" page isn't published. The
official LMS pages however are still being published on port 9000, which
is how I was able to change the media folder to
/srv/mediaserver/music/USB Drives/UP_Music for the Bliss folder
substitution mechanism to work


+---+
|Filename: Screenshot_187.png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39415|
+---+


Main System: Marantz SR-5015 + Adam Audio T8V + Teufel Ultima 20 Mk 3 +
BK Monolith+ FF + Lenovo T560 + Kodi + Pioneer PDP-LX5090H + UP-Board
running Daphile
Kitchen: Touch + Ikea ENEBY 30
Home-Office: SqueezeLite-X + Topping DX3 Pro + NAD 312 + TMA Premium 905

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-13 Thread cpd73

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: 

Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-13 Thread bakker_be

cpd73 wrote: 
> Don't think you would needed to have run a re-analysis, bliss only
> stores relative paths. e.g. If you have
> "c:\MyMusic\LMS\Artist\Album\Track.mp3" and bliss-analyser is configured
> to find music in "C:\MyMusic\LMS" then it will only store
> "Artist/Album/Track.mp3" in the DB. When the mixer runs it first removes
> your LMS music paths (as configured in LMS's server settings) and sends
> the relative part - e.g if LMS was on a Pi4 with music path
> "/var/lib/music" then "/var/lib/music/Artist/Album/Track.mp3" is
> converted to "Artist/Album/Track.mp3" - which matches the path in the
> DB.
> 
> Basically, you probably need to check the paths used for analysis and
> the paths LMS is configured for - and see if they can see the same
> sub-paths within. You can use (e.g.) SQLiteBrowser to see what paths are
> stored in the DB.

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.



Main System: Marantz SR-5015 + Adam Audio T8V + Teufel Ultima 20 Mk 3 +
BK Monolith+ FF + Lenovo T560 + Kodi + Pioneer PDP-LX5090H + UP-Board
running Daphile
Kitchen: Touch + Ikea ENEBY 30
Home-Office: SqueezeLite-X + Topping DX3 Pro + NAD 312 + TMA Premium 905

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-12 Thread cpd73


bakker_be wrote: 
> Hi, with the current energy prices being what they are I've shut down my
> original server (Lenovo Dual Xenon P700 workstation) as it was solely
> responsible for around 30% of my total electricity consumption :eek:
> I've moved my home automation (Home Assistant) to a Pi 3 I had laying
> around, and moved my LMS to an UP Board
> (https://up-board.org/up/specifications/) using Daphile as it's the X86
> equivalent of pCP. I've done a full new analysis on my laptop (Win11),
> copied the DB over to the LMS, all fine, but for some reason I don't get
> any mixes :confused:

Don't think you would needed to have run a re-analysis, bliss only
stores relative paths. e.g. If you have
"c:\MyMusic\LMS\Artist\Album\Track.mp3" and bliss-analyser is configured
to find music in "C:\MyMusic\LMS" then it will only store
"Artist/Album/Track.mp3" in the DB. When the mixer runs it first removes
your LMS music paths (as configured in LMS's server settings) and sends
the relative part - e.g if LMS was on a Pi4 with music path
"/var/lib/music" then "/var/lib/music/Artist/Album/Track.mp3" is
converted to "Artist/Album/Track.mp3" - which matches the path in the
DB.

Basically, you probably need to check the paths used for analysis and
the paths LMS is configured for - and see if they can see the same
sub-paths within. You can use (e.g.) SQLiteBrowser to see what paths are
stored in the DB.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-12 Thread bakker_be


Hi, with the current energy prices being what they are I've shut down my
original server (Lenovo Dual Xenon P700 workstation) as it was solely
responsible for around 30% of my total electricity consumption :eek:
I've moved my home automation (Home Assistant) to a Pi 3 I had laying
around, and moved my LMS to an UP Board
(https://up-board.org/up/specifications/) using Daphile as it's the X86
equivalent of pCP. I've done a full new analysis on my laptop (Win11),
copied the DB over to the LMS, all fine, but for some reason I don't get
any mixes :confused:
Relevant debug log entries using the 3 Bliss-related entries in "More":

Code:

[22-12-12 13:49:02.5377] Plugins::BlissMixer::Plugin::_cliCommand (342) 
BlissMix Track Seed /srv/mediaserver/music/USB Drives/UP_Music/Dire Straits/On 
the Night/10-Brothers In Arms.flac
  [22-12-12 13:49:02.5382] Plugins::BlissMixer::Plugin::_cliCommand (384) Num 
tracks for BlissMix: 1
  [22-12-12 13:49:02.5391] Plugins::BlissMixer::Plugin::_getMixData (1059) 
Request {"norepalb":100,"norepart":100,"tracks":["USB Drives/UP_Music/Dire 
Straits/On the Night/10-Brothers In 
Arms.flac"],"shuffle":1,"max":0,"min":0,"count":20,"filterxmas":1,"previous":[],"filtergenre":0,"genregroups":[]}
  [22-12-12 13:49:02.5403] Plugins::BlissMixer::Plugin::_callApi (629) Call 
http://localhost:46059/api/mix
  [22-12-12 13:49:02.5717] Plugins::BlissMixer::Plugin::__ANON__ (634) Received 
API response 
  [22-12-12 13:49:02.6138] Plugins::BlissMixer::Plugin::__ANON__ (753) Num 
tracks to use:1
  [22-12-12 13:50:08.0310] Plugins::BlissMixer::Plugin::_cliCommand (342) 
BlissMix Track Seed /srv/mediaserver/music/USB Drives/UP_Music/Dire Straits/On 
the Night/10-Brothers In Arms.flac
  [22-12-12 13:50:08.0316] Plugins::BlissMixer::Plugin::_cliCommand (384) Num 
tracks for BlissMix: 1
  [22-12-12 13:50:08.0327] Plugins::BlissMixer::Plugin::_getListData (1080) 
Request {"byartist":0,"count":50,"track":"USB Drives/UP_Music/Dire Straits/On 
the Night/10-Brothers In 
Arms.flac","genregroups":[],"min":0,"filtergenre":0,"max":0}
  [22-12-12 13:50:08.0338] Plugins::BlissMixer::Plugin::_callApi (629) Call 
http://localhost:46059/api/list
  [22-12-12 13:50:08.0463] Plugins::BlissMixer::Plugin::__ANON__ (634) Received 
API response 
  [22-12-12 13:50:08.0475] Plugins::BlissMixer::Plugin::__ANON__ (753) Num 
tracks to use:0
  [22-12-12 13:50:13.1739] Plugins::BlissMixer::Plugin::_cliCommand (342) 
BlissMix Track Seed /srv/mediaserver/music/USB Drives/UP_Music/Dire Straits/On 
the Night/10-Brothers In Arms.flac
  [22-12-12 13:50:13.1752] Plugins::BlissMixer::Plugin::_cliCommand (384) Num 
tracks for BlissMix: 1
  [22-12-12 13:50:13.1764] Plugins::BlissMixer::Plugin::_getListData (1080) 
Request {"filtergenre":0,"max":0,"byartist":1,"count":50,"track":"USB 
Drives/UP_Music/Dire Straits/On the Night/10-Brothers In 
Arms.flac","genregroups":[],"min":0}
  [22-12-12 13:50:13.1775] Plugins::BlissMixer::Plugin::_callApi (629) Call 
http://localhost:46059/api/list
  [22-12-12 13:50:13.1876] Plugins::BlissMixer::Plugin::__ANON__ (634) Received 
API response 
  [22-12-12 13:50:13.1888] Plugins::BlissMixer::Plugin::__ANON__ (753) Num 
tracks to use:0


Relevant Entries using DSTM:

Code:

[22-12-12 13:27:52.6609] Plugins::BlissMixer::Plugin::_dstmMix (893) Get 
tracks
  [22-12-12 13:27:52.6634] Plugins::BlissMixer::Plugin::_getMixableProperties 
(447) Auto-mixing from random tracks in current playlist
  [22-12-12 13:27:52.6733] Plugins::BlissMixer::Plugin::_dstmMix (905) Seed 
/srv/mediaserver/music/USB Drives/UP_Music/Black Sabbath/Sabotage/03-Symptom Of 
The Universe.flac id:10212
  [22-12-12 13:27:52.6741] Plugins::BlissMixer::Plugin::_getPreviousTracks 
(998) Get last 200 tracks
  [22-12-12 13:27:52.6746] Plugins::BlissMixer::Plugin::_dstmMix (920) Num 
tracks to previous: 1
  [22-12-12 13:27:52.6760] Plugins::BlissMixer::Plugin::_getMixData (1059) 
Request {"count":3,"min":0,"max":0,"shuffle":1,"norepalb":100,"tracks":["USB 
Drives/UP_Music/Black Sabbath/Sabotage/03-Symptom Of The 
Universe.flac"],"norepart":100,"genregroups":[],"filtergenre":0,"previous":["USB
 Drives/UP_Music/Black Sabbath/Sabotage/03-Symptom Of The 
Universe.flac"],"filterxmas":1}
  [22-12-12 13:27:52.6765] Plugins::BlissMixer::Plugin::_dstmMix (926) URL: 
http://localhost:46059/api/mix
  [22-12-12 13:27:52.8865] Plugins::BlissMixer::Plugin::__ANON__ (930) Received 
API response
  [22-12-12 13:27:52.8871] Plugins::BlissMixer::Plugin::_mixFailed (988) Call 
through to LastMix




Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): 

Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-12-05 Thread chourmovs


chourmovs wrote: 
> 
> Please help

Forget, problem was a discrepancy between plugin.ini folder and LMS
music folder that was not at the same level



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-11-29 Thread chourmovs


Hi 
Could someone confirm that DSTM+bliss is still working on LMS 8.3.0
On my instance it find the database but don't queue similar song   :(  

It used to work on 8.2.0

Thank you by advance, I will post debug later



chourmovs's Profile: http://forums.slimdevices.com/member.php?userid=72073
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-11-24 Thread dbinder101


cpd73 wrote: 
> Must amdit I do my analysis on a laptop, and only use the Pi4 for
> mixing, etc. Which OS and version are you using?

Debian GNU/LINUX 10 (buster)



dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-11-24 Thread cpd73


dbinder101 wrote: 
> I  just discovered this thread and wanted to try bliss on my Raspberry
> Pi 4. I received the following error when I tried running analyze:
> 
> pi@raspberrypi:/tmp/bliss-analyser-linux-arm-0.2.1 $ ./bliss-analyser
> analyze   
> 
> /tmp/bliss-analyser-linux-arm-0.2.1/bin/bliss-analyser-aarch64:
> /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
> (required by
> /tmp/bliss-analyser-linux-arm-0.2.1/bin/bliss-analyser-aarch64)
> 
> Any help would be appreciated.

Must amdit I do my analysis on a laptop, and only use the Pi4 for
mixing, etc. Which OS and version are you using?



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-11-23 Thread dbinder101


I  just discovered this thread and wanted to try bliss on my Raspberry
Pi 4. I received the following error when I tried running analyze:

pi@raspberrypi:/tmp/bliss-analyser-linux-arm-0.2.1 $ ./bliss-analyser
analyze   

/tmp/bliss-analyser-linux-arm-0.2.1/bin/bliss-analyser-aarch64:
/lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
(required by
/tmp/bliss-analyser-linux-arm-0.2.1/bin/bliss-analyser-aarch64)

Any help would be appreciated.



dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-11 Thread cpd73


goharbourview123 wrote: 
> 
> So the directory rename seems to have done the trick. Thanks so much for
> helping out, looking forward to playing around with this!

Thanks for the confirmation, I'll make a release with the correct
directory name later.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-10 Thread goharbourview123


cpd73 wrote: 
> You need to be within the directory to run "./bliss-mixer"
> 
> ... the following -should- exist:
> 
> >   > 
  - 
  > 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/armhf-linux/bliss-mixer
  - 
  > 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/arm-linux/bliss-mixer
  > > > 
> 
> Do either of these run?
> 

Both folders were present, each with a bliss-mixer file within, but in
neither case could I get it to run. I was running the commands from
within each directory as advised.

However:

> I -think- you need to rename
> "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/*arm-linux*/"
> to
> "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/*aarch64-linux*/"

I tried this, restarted LMS, and the logs report success in finding the
bliss-mixer binary. Ran a 'create bliss mix' on a file via Material
interface - and BINGO!


Code:


  [22-04-10 21:59:49.9014] Plugins::BlissMixer::Plugin::_cliCommand (288) 
BlissMix Track Seed /media/music_main/usb2/My Music/Various Artists/Compost 
Black Label Series, Volume 3/05~Stripped Down To The Bone.flac
  [22-04-10 21:59:49.9023] Plugins::BlissMixer::Plugin::_cliCommand (330) Num 
tracks for BlissMix: 1
  [22-04-10 21:59:49.9036] Plugins::BlissMixer::Plugin::_getMixData (1004) 
Request {"genregroups":[],"filterxmas":1,"tracks":["usb2/My Music/Various 
Artists/Compost Black Label Series, Volume 3/05~Stripped Down To The 
Bone.flac"],"filtergenre":0,"shuffle":1,"previous":[],"norepart":15,"count":20,"min":0,"norepalb":25,"max":0}
  [22-04-10 21:59:49.9052] Plugins::BlissMixer::Plugin::_startMixer (211) Start 
mixer with params: --lms 192.168.0.243 --db 
/var/lib/squeezeboxserver/cache/bliss.db --address 127.0.0.1
  [22-04-10 21:59:50.3335] Plugins::BlissMixer::Plugin::_cliCommand (252) Mixer 
port: 34857
  [22-04-10 21:59:50.9260] Plugins::BlissMixer::Plugin::__ANON__ (218) 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/aarch64-linux/bliss-mixer
 running
  [22-04-10 21:59:50.9276] Plugins::BlissMixer::Plugin::_callApi (574) Call 
http://localhost:34857/api/mix
  [22-04-10 21:59:50.9407] Plugins::BlissMixer::Plugin::__ANON__ (579) Received 
API response 
  [22-04-10 21:59:50.9448] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Wishmountain/Wishmountain Is Dead/03~Jam Jar.flac
  [22-04-10 21:59:50.9480] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb1/My Music/DJ Cam/Revisited By/10~DJ Cam Sound System (Demon Remix).mp3
  [22-04-10 21:59:50.9510] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb1/My Music/Staxx/Joy/05~Joy (Diss-Cuss Vox Mix).mp3
  [22-04-10 21:59:50.9541] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb2/My Music/Mr. Scruff/DJ-Kicks/2.29~Loose Lips.flac
  [22-04-10 21:59:50.9572] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Daft Punk/Homework/13~Burnin'.flac
  [22-04-10 21:59:50.9603] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Various Artists/French Fried Funk/2.01~Pissed On Brooklyn 
Bridge.flac
  [22-04-10 21:59:50.9634] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb2/My Music/Matthew Dear/DJ-Kicks- Matthew Dear/19~Staring At All This 
Handle.flac
  [22-04-10 21:59:50.9664] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Andrew Weatherall/Masterpiece/3.05~Crystal Babe.flac
  [22-04-10 21:59:50.9695] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Various Artists/The End Of The Beginning/1.09~I Am An 
Instrument.flac
  [22-04-10 21:59:50.9726] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb1/My Music/Les Negresses Vertes/Apres La Pluie/03~Apres La Pluie (Guitar 
Instrumental) (2nd Instr.mp3
  [22-04-10 21:59:50.9756] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb2/My Music/Various Artists/Gilles Peterson Presents Havana Cultura- 
Remixed/1.04~Chekere Son (Seiji Rerub).flac
  [22-04-10 21:59:50.9787] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Various Artists/Moving Further Out (The Best Of Peace Feast - 
Volume 01)/01~The Bonus Beast.flac
  [22-04-10 21:59:50.9817] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb2/My Music/Various Artists/Electric Ladyland II/02~Somewhereflac
  [22-04-10 21:59:50.9849] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb1/My Music/Various Artists/Complete Dubnology/1.07~Brixton (Dub Mix).mp3
  [22-04-10 21:59:50.9879] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb1/My Music/Fantom/Faithfull/03~Faithfull (Prassay Mix).mp3
  [22-04-10 21:59:50.9909] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb2/My Music/Mr. Scruff/DJ-Kicks/1.14~The Sound.flac
  [22-04-10 21:59:50.9940] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb1/My Music/The Chemical Brothers/Block Rockin' Beats/1.03~Morning 
Lemon.mp3
  [22-04-10 21:59:50.9970] Plugins::BlissMixer::Plugin::__ANON__ (604) 
...usb0/My Music/Various Artists/When Shapes Join Together 

Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-10 Thread cpd73


goharbourview123 wrote: 
> In both cases, I get the response "-bash: bliss-mixer: command not
> found", or "-bash: ./bliss-mixer: No such file or directory" when I use
> the dot-slash prefix. Also tried with sudo just in case, but that just
> reports "sudo: unable to execute ./bliss-mixer: No such file or
> directory".

You should not need sudo, and should only use sudo for root commands.
Does bliss-mixer reside in the directories? Is it executable? You need
to be within the directory to run "./bliss-mixer"

goharbourview123 wrote: 
> 
> > 
Code:

  >   > 
  > [22-04-10 19:27:57.0534] Slim::Utils::Misc::addFindBinPaths (164) not 
adding 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/aarch64-linux
 - does not exist
  > 

> > 
> 

OK,
"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/aarch64-linux"
does not exist, but the following -should- exist:

  
- 
  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/armhf-linux/bliss-mixer
- 
  
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/arm-linux/bliss-mixer
  

Do either of these run? e.g.
"var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/armhf-linux/bliss-mixer
--help" ???



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-10 Thread goharbourview123


Thanks for getting back to me so quickly, really appreciate it.

cpd73 wrote: 
> In "/Cache/InstalledPlugins/Plugins/BlissMixer/Bin" there
> will be "armhf-linux" and "arm-linux" - does the "bliss-mixer" in ether
> of these run from the commandline? Try "./bliss-mixer --help" in each
> folder.

In both cases, I get the response "-bash: bliss-mixer: command not
found"

cpd73 wrote: 
> If you enable logging (not sure what level, debug?) for "os.paths",
> select "Save logging settings for use at next application restart" and
> restart LMS, then "Logs/server.log" should have lines with
> "Slim::Utils::Misc::findbin (116) Checking for bliss-mixer in" -- what
> paths does it list?

This however produces some more promising results:


Code:


  [22-04-10 19:27:56.2449] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/share/squeezeboxserver/Bin/aarch64-linux
  [22-04-10 19:27:56.2452] Slim::Utils::Misc::addFindBinPaths (164) not adding 
/usr/share/squeezeboxserver/Bin/linux - does not exist
  [22-04-10 19:27:56.2454] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/share/squeezeboxserver/Bin
  [22-04-10 19:27:56.2457] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/local/sbin
  [22-04-10 19:27:56.2459] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/local/bin
  [22-04-10 19:27:56.2461] Slim::Utils::Misc::addFindBinPaths (158) adding /sbin
  [22-04-10 19:27:56.2463] Slim::Utils::Misc::addFindBinPaths (158) adding /bin
  [22-04-10 19:27:56.2465] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/sbin
  [22-04-10 19:27:56.2467] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/bin
  [22-04-10 19:27:56.2469] Slim::Utils::Misc::addFindBinPaths (151) not adding 
/usr/bin - duplicate entry
  [22-04-10 19:27:56.2471] Slim::Utils::Misc::addFindBinPaths (151) not adding 
/usr/local/bin - duplicate entry
  [22-04-10 19:27:56.2473] Slim::Utils::Misc::addFindBinPaths (158) adding 
/usr/libexec
  [22-04-10 19:27:56.2475] Slim::Utils::Misc::addFindBinPaths (164) not adding 
/sw/bin - does not exist
  [22-04-10 19:27:56.2477] Slim::Utils::Misc::addFindBinPaths (151) not adding 
/usr/sbin - duplicate entry
  [22-04-10 19:27:56.2480] Slim::Utils::Misc::addFindBinPaths (164) not adding 
/opt/bin - does not exist
  [22-04-10 19:27:57.0534] Slim::Utils::Misc::addFindBinPaths (164) not adding 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/aarch64-linux
 - does not exist
  [22-04-10 19:27:57.0537] Slim::Utils::Misc::addFindBinPaths (164) not adding 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/linux - 
does not exist
  [22-04-10 19:27:57.0539] Slim::Utils::Misc::addFindBinPaths (158) adding 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin



and later:


Code:


  [22-04-10 19:27:58.0654] Slim::Utils::Misc::findbin (105) Looking for 
executable: [bliss-mixer]
  [22-04-10 19:27:58.0657] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/share/squeezeboxserver/Bin/aarch64-linux/bliss-mixer
  [22-04-10 19:27:58.0659] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/share/squeezeboxserver/Bin/bliss-mixer
  [22-04-10 19:27:58.0661] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/local/sbin/bliss-mixer
  [22-04-10 19:27:58.0663] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/local/bin/bliss-mixer
  [22-04-10 19:27:58.0665] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /sbin/bliss-mixer
  [22-04-10 19:27:58.0667] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /bin/bliss-mixer
  [22-04-10 19:27:58.0669] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/sbin/bliss-mixer
  [22-04-10 19:27:58.0671] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/bin/bliss-mixer
  [22-04-10 19:27:58.0673] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in /usr/libexec/bliss-mixer
  [22-04-10 19:27:58.0675] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BlissMixer/Bin/bliss-mixer
  [22-04-10 19:27:58.0678] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CastBridge/Bin/bliss-mixer
  [22-04-10 19:27:58.0680] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/aarch64-linux/bliss-mixer
  [22-04-10 19:27:58.0682] Slim::Utils::Misc::findbin (116) Checking for 
bliss-mixer in 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/bliss-mixer
  [22-04-10 19:27:58.0684] Slim::Utils::Misc::findbin (135) Didn't find binary 
for bliss-mixer
  [22-04-10 19:27:58.0687] Plugins::BlissMixer::Plugin::initPlugin (132) Mixer:



On the other hand, the log does report finding binaries for the Spotty
and 

Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-10 Thread cpd73


goharbourview123 wrote: 
> Should I expect this to work on an RPi4 with 64-bit Bullseye?

Hmmm My Pi4 is still on 32-bit, so have not tested. In "/Cache/InstalledPlugins/Plugins/BlissMixer/Bin" there will be
"armhf-linux" and "arm-linux" - does the "bliss-mixer" in ether of these
run from the commandline? Try "./bliss-mixer --help" in each folder.

If you enable logging (not sure what level, debug?) for "os.paths",
select "Save logging settings for use at next application restart" and
restart LMS, then "Logs/server.log" should have lines with
"Slim::Utils::Misc::findbin (116) Checking for bliss-mixer in" -- what
paths does it list?



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-10 Thread goharbourview123


Should I expect this to work on an RPi4 with 64-bit Bullseye?

I don't see an aarch64 binary in the plugin's Bin directory, and I get
the following errors in the LMS log when I try to start a Bliss mix:


Code:


  [22-04-10 15:21:05.2449] Plugins::BlissMixer::Plugin::_cliCommand (288) 
BlissMix Track Seed /media/music_main/usb0/My Music/Global 
Communication/76-14/1.01~4-02.flac
  [22-04-10 15:21:05.2457] Plugins::BlissMixer::Plugin::_cliCommand (330) Num 
tracks for BlissMix: 1
  [22-04-10 15:21:05.2468] Plugins::BlissMixer::Plugin::_getMixData (1004) 
Request {"min":0,"shuffle":1,"tracks":["usb0/My Music/Global 
Communication/76-14/1.01~4-02.flac"],"norepart":15,"filtergenre":0,"filterxmas":1,"count":20,"genregroups":[],"max":0,"previous":[],"norepalb":25}
  [22-04-10 15:21:05.2475] Plugins::BlissMixer::Plugin::_callApi (560) Failed 
to start mixer
  [22-04-10 15:23:20.2821] Plugins::BlissMixer::Plugin::_cliCommand (288) 
BlissMix Track Seed /media/music_main/usb0/My Music/Various Artists/Ninja Tune 
XX, Volume 2/1.06~Never Mess With Sunday.flac
  [22-04-10 15:23:20.2825] Plugins::BlissMixer::Plugin::_cliCommand (330) Num 
tracks for BlissMix: 1
  [22-04-10 15:23:20.2881] Plugins::BlissMixer::Plugin::_getMixData (1004) 
Request {"count":20,"filterxmas":1,"filtergenre":0,"tracks":["usb0/My 
Music/Various Artists/Ninja Tune XX, Volume 2/1.06~Never Mess With 
Sunday.flac"],"norepart":15,"shuffle":1,"min":0,"norepalb":25,"previous":[],"max":0,"genregroups":[]}
  [22-04-10 15:23:20.2884] Plugins::BlissMixer::Plugin::_callApi (560) Failed 
to start mixer
  



I did the analysis on a Windows machine, which worked OK, and got the
file paths to match - my music folder on the RPi is 'media/music_main/'
- so I don't think that's the issue.

Also had to copy the database across manually, after getting the 
Code:

Failed to ask LMS plugin to allow upload. 
http://192.168.0.243:9000/jsonrpc.js: Network Error: Unexpected EOF

 error, so would that seem to indicate that the mixer just isn't
starting?



goharbourview123's Profile: 
http://forums.slimdevices.com/member.php?userid=23031
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-06 Thread plasticator2


cpd73 wrote: 
> By default the analyser tries to write bliss.db in the current folder,
> perhaps you do not have write permission for c:\ ??? Try setting
> "db=c:\Bliss\bliss.db" (or whaterver path you want). This is all
> mentioned in the README.md

It worked perfectly (as in found the correct directory) after I deleted
the config.ini file and added the parameters directly.  2 and a bit
hours for 16800 tracks is brilliant.  Will investigate the 60 that
failed and see how the mixes go.  Thanks again



plasticator2's Profile: http://forums.slimdevices.com/member.php?userid=31261
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-06 Thread plasticator2


cpd73 wrote: 
> By default the analyser tries to write bliss.db in the current folder,
> perhaps you do not have write permission for c:\ ??? Try setting
> "db=c:\Bliss\bliss.db" (or whaterver path you want). This is all
> mentioned in the README.md

Yes, sorry for being dim, this was somewhat unfamiliar territory.  Have
re-read carefully and made significant progress - thanks



plasticator2's Profile: http://forums.slimdevices.com/member.php?userid=31261
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-06 Thread cpd73


plasticator2 wrote: 
> Thanks for response
> 
> Ran that in a command prompt and it returned:
> 
> C:\>c:\Bliss\bliss-analyser.exe analyse
> thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
> SqliteFailure(Error { code: CannotOpen, extended_code: 14 },
> Some("unable to open database file: bliss.db"))', src\db.rs:45:42
> note: run with `RUST_BACKTRACE=1` environment variable to display a
> backtrace

By default the analyser tries to write bliss.db in the current folder,
perhaps you do not have write permission for c:\ ??? Tye setting
"db=c:\Bliss\bliss.db" (or whaterver path you want). This is all
mentioned in the README.md



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-06 Thread plasticator2


cpd73 wrote: 
> Are you running from a console/power-shell window? There should be some
> output. Are yo using the following: "c:\Bliss\bliss-analyser.exe
> analyse"

Thanks for response

Ran that in a command prompt and it returned:

C:\>c:\Bliss\bliss-analyser.exe analyse
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
SqliteFailure(Error { code: CannotOpen, extended_code: 14 },
Some("unable to open database file: bliss.db"))', src\db.rs:45:42
note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace



plasticator2's Profile: http://forums.slimdevices.com/member.php?userid=31261
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-06 Thread cpd73


plasticator2 wrote: 
> Hi Craig, 
> 
> I have been following this thread with interest and keen to give the
> bliss mixer a try, but seem to have fallen at the first hurdle - I
> cannot get the analyser to run.  
> I have downloaded version 0.1.0 and it is sitting in C:\Bliss on my Win
> 11 machine.  LMS is running on the same machine with the mixer plugin
> installed.
> All my music is in D:\NETWORK MUSIC FOLDER, D being a partition of the
> main SSD drive.  
> Config.ini reads 
> 
> [Bliss]
> music=D:\NETWORK MUSIC FOLDER
> lms=127.0.0.1
> 
> Windows Defender and Norton have been persuaded to accept the
> executable, however when I try to run the .exe file, nothing at all
> happens and nothing shows in task manager.  Is there something obvious I
> am missing here? I have tried everything I can think of, like adding
> :9000, installing Bliss on D drive, forward slash instead of back
> slash
> 
> I would be grateful for any advice offered, thank you

Are you running from a console/power-shell window? There should be some
output. Are yo using the following: "c:\Bliss\bliss-analyser.exe
analyse"



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-04-06 Thread plasticator2


cpd73 wrote: 
> Plugin changes:
> 
> >   > 
  -  Add support for CUE tracks.
  -  Get LMS IP from 'Slim::Utils::Network::serverAddr()'
  > > > 
> 
> Analyser changes:
> 
> >   > 
  -  Add support for analysing CUE files.
  -  Output list of (up to 100) tracks that failed to analyse.
  -  When performing a dry-run analysis (--dry-run) print paths of all
  > tracks to be analysed and to be removed.
  -  Use git version of tag reader library.
  -  Support up to 5 music folders (music, music_1, music_2, music_3,
  > and music_4).
  > > > 
> 
> Analyser binaries (initial post updated):
> 
> >   >   > 
  -  'Linux'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-linux-0.1.0.zip)
  -  'Mac'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-mac-0.1.0.zip)
  -  'Windows'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-windows-0.1.0.zip)
  > > > 


Hi Craig, 

I have been following this thread with interest and keen to give the
bliss mixer a try, but seem to have fallen at the first hurdle - I
cannot get the analyser to run.  
I have downloaded version 0.1.0 and it is sitting in C:\Bliss on my Win
11 machine.  LMS is running on the same machine with the mixer plugin
installed.
All my music is in D:\NETWORK MUSIC FOLDER, D being a partition of the
main SSD drive.  
Config.ini reads 

[Bliss]
music=D:\NETWORK MUSIC FOLDER
lms=127.0.0.1

Windows Defender and Norton have been persuaded to accept the
executable, however when I try to run the .exe file, nothing at all
happens and nothing shows in task manager.  Is there something obvious I
am missing here? I have tried everything I can think of, like adding
:9000, installing Bliss on D drive, forward slash instead of back
slash

I would be grateful for any advice offered, thank you



plasticator2's Profile: http://forums.slimdevices.com/member.php?userid=31261
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-21 Thread mark wollschlager


cpd73 wrote: 
> Just to let you know, the 'tag reader library'
> (https://github.com/Serial-ATA/lofty-rs) I'm using now supports (or will
> in its next release) ID3v2 in FLAC:
> https://github.com/Serial-ATA/lofty-rs/commit/c6d1ef505d0f2a86ca4d19b308c476b02fd5916c
> 
> When a newer version of this library is released I'll update
> bliss-analyser to use it.

Cool.
I have been re ripping and tagging albums to see what kind of change
would be made.
It would be nice if the actual number of re-rip/retags needed would
drop, like maybe a bunch.



2 Duets controllers, 1 X Boom, 1 X Radio
1 X Receiver + Edifier S1000DB
1 X Receiver + Yamaha RX-A2000, Polk M70
1 X Receiver + Boston MicroSystem CD
Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0
Audioengine A5 ( passive mode )
Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play
SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub
HTC 10 w/ Squeeze Ctrl
ReadyNAS 516 LMS 8.2.1

mark wollschlager's Profile: 
http://forums.slimdevices.com/member.php?userid=22302
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-21 Thread cpd73


slartibartfast wrote: 
> I've PMed a couple of tracks.

Just to let you know, the 'tag reader library'
(https://github.com/Serial-ATA/lofty-rs) I'm using now supports (or will
in its next release) ID3v2 in FLAC:
https://github.com/Serial-ATA/lofty-rs/commit/c6d1ef505d0f2a86ca4d19b308c476b02fd5916c

When a newer version of this library is released I'll update
bliss-analyser to use it.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread mark wollschlager


staresy wrote: 
> Ah yes, that's it, I had two bliss directories (0.0.1 and 0.1.0) and had
> used cd bl*.* from cmd which put me in the wrong one, thanks.
> 
> The offending tracks were on the album "Who Is Jill Scott", 5 tracks
> (space 1 -5) used to "hide" a final bonus track.

I had failure on the same album, no chroma.



2 Duets controllers, 1 X Boom, 1 X Radio
1 X Receiver + Edifier S1000DB
1 X Receiver + Yamaha RX-A2000, Polk M70
1 X Receiver + Boston MicroSystem CD
Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0
Audioengine A5 ( passive mode )
Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play
SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub
HTC 10 w/ Squeeze Ctrl
ReadyNAS 516 LMS 8.2.1

mark wollschlager's Profile: 
http://forums.slimdevices.com/member.php?userid=22302
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread staresy


When I try to upload the bliss.db I get the follow error:

C:\bliss-analyser-windows-0.1.0>bliss-analyser.exe upload
[2022-03-17 14:25:33 I] Requesting LMS plugin to allow uploads
[2022-03-17 14:25:34 I] Uploading bliss.db
[2022-03-17 14:25:34 I] Length: 5218304
[2022-03-17 14:25:55 E] Failed to upload database.
http://192.168.1.24:58266/upload: Connection Failed: Connect error: A
connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond. (os error 10060)

NB: the port number seems to change each time I try.

This is on a windows setup.



location 1: lms 8.3 on win 10 brix server, x3 sb radios, x1 touch, x1
controller : location 2: lms 8.3 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread cpd73


slartibartfast wrote: 
> Any idea why a non silent but low volume track would fail? Is a minimum
> amplitude required?

No, sorry. I did not write the analysis code, see
https://github.com/Polochon-street/bliss-rs for that.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread slartibartfast


Any idea why a non silent but low volume track would fail? Is a minimum
amplitude required?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread staresy


cpd73 wrote: 
> You need to be using the latest version - 0.1.0, you have the first
> released version 0.0.1

Ah yes, that's it, I had two bliss directories (0.0.1 and 0.1.0) and had
used cd bl*.* from cmd which put me in the wrong one, thanks.



location 1: lms 8.3 on win 10 brix server, x3 sb radios, x1 touch, x1
controller : location 2: lms 8.3 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread cpd73


staresy wrote: 
> OK, so if I wanted to see what caused the failures, how do I do that?

You need to be using the latest version - 0.1.0, you have the first
released version 0.0.1



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread staresy


cpd73 wrote: 
> There is no log file. "-l error" just sets the logging -level- to error
> - as in only log lines that are error, or above, are shown.

OK, so if I wanted to see what caused the failures, how do I do that?

37507


+---+
|Filename: Screenshot 2022-03-17 134359.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37507|
+---+


location 1: lms 8.3 on win 10 brix server, x3 sb radios, x1 touch, x1
controller : location 2: lms 8.3 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread cpd73


staresy wrote: 
> When I run the bliss analysis I get 5 failed tracks, I have set the
> logging to:
> 
> bliss-analyser analyse -l error
> 
> But I can't seem to find where the log file is stored to see what caused
> the failures?

There is no log file. "-l error" just sets the logging -level- to error
- as in only log lines that are error, or above, are shown.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread slartibartfast


staresy wrote: 
> When I run the bliss analysis I get 5 failed tracks, I have set the
> logging to:
> 
> bliss-analyser analyse -l error
> 
> But I can't seem to find where the log file is stored to see what caused
> the failures?Just running 
bliss-analyser analyse
lists the failed tracks in the Command Prompt window for me with the
latest version of the analyser (0.1.0)

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread staresy


When I run the bliss analysis I get 5 failed tracks, I have set the
logging to:

bliss-analyser analyse -l error

But I can't seem to find where the log file is stored to see what caused
the failures?



location 1: lms 8.3 on win 10 brix server, x3 sb radios, x1 touch, x1
controller : location 2: lms 8.3 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-17 Thread cpd73


gorman wrote: 
> Ok, before updating... is it possible to use ignore.txt to tell both
> plugin and analyzer to ignore .CUE files? They are in my rips folders
> but I do not want to have them analysed, being afraid that it would lead
> to each track appearing twice (or worse: being included and then not
> working, since the cue files are there to recreate the CD in case of
> need, but the tracks have been split in separate files). EAC calls them
> "non compliant CUE", for whatever reason. I want those ignored.

"ignore" is applied after analysis. The DB has an "ignore" column. When
looking for tracks to match ones marked "ignore" are ignored. But as
they are in the DB, with analysis, should they be in your queue thay can
be still used as seed tracks.

CUE files are only used if their name matches a track name. e.g.
"album.cue" *must* have a corresponding "album.flac", "album.ogg", or
"album.mp3" etc. This has not really changed between releases. Prior to
0.1.0 if a matching cue was found for (e.g.) "album.flac" the whole
album was skipped. Now the album will be split it its individual tracks
for analysis.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread gorman


cpd73 wrote: 
> Plugin changes:
> 
> >   > 
  -  Add support for CUE tracks.
  > > > 
> 
> Analyser changes:
> 
> >   > 
  -  Add support for analysing CUE files.
  > > > 
> 
Ok, before updating... is it possible to use ignore.txt to tell both
plugin and analyzer to ignore .CUE files? They are in my rips folders
but I do not want to have them analysed, being afraid that it would lead
to each track appearing twice (or worse: being included and then not
working, since the cue files are there to recreate the CD in case of
need, but the tracks have been split in separate files). EAC calls them
"non compliant CUE", for whatever reason. I want those ignored.



gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread slartibartfast


Apart from the silent track the other failure in my library was actually
a 30 second track with peak amplitude 0.088567, the other track with
amplitude 0.18589 is analysed successfully.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread slartibartfast


mruddo wrote: 
> Silence - on Rilo Kiley's, The Execution of All Things. :D
> 
> I have Tin Planet - but don't appear to have any 4 second tracks on
> there. I do also have a rather sad habit of removing long silent pauses
> ahead of hidden tracks when burning CDs - because I hate it when a mix
> goes silent because of those! Maybe that was the case with this album
> and that's why I didn't have a problem.
> 
> Just checked here:
> https://www.discogs.com/master/159354-Space-Tin-Planet
> 
> I suspect I removed that one years ago!For an unknown reason the track is 
> named data.flac in my library. There
were some strange things on CDs back then, with hidden tracks and I
remember one with 99 tracks where probably after the first 10 the rest
were silence with a single playable track inserted.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread chill


cpd73 wrote: 
> Plugin changes:
> 
> >   > 
  -  Add support for CUE tracks.
  > > > 
> 
> Analyser changes:
> 
> >   > 
  -  Add support for analysing CUE files.
  > > > 
> 

Great stuff - thank you!

I've traced my problem tracks too - it was a couple of multi-track flacs
of radio recordings, without tags and without accompanying CUE files. 
I've given them some temporary tags in order to get past that error, and
have now set the analysis going on my whole library.

I don't see how this can be related, but even running from the top level
LMS folder, the analysis now seems to be using ~300% CPU and ~40
threads, so should be fast.  I imagine it'll slow down considerably once
it starts tackling tracks that are defined by the CUE files - I'll
report back.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread mruddo


slartibartfast wrote: 
> Snap. What was the track? Mine was on Tin Planet by Space. I can't
> remember the last time I played the album [emoji1787]
> 
> Sent from my Pixel 3a using Tapatalk

Silence - on Rilo Kiley's, The Execution of All Things. :D



mruddo's Profile: http://forums.slimdevices.com/member.php?userid=65325
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread slartibartfast


mruddo wrote: 
> Thanks. The error I was getting from the analyser was caused by an short
> album track of complete silence - so nothing to analyse! :)
> 
> I decided it was surplus to requirements and deleted it, so analysis
> scans are error free now.Snap. What was the track? Mine was on Tin Planet by 
> Space. I can't
remember the last time I played the album [emoji1787]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread slartibartfast


cpd73 wrote: 
> Plugin changes:
> 
> >   > 
  -  Add support for CUE tracks.
  -  Get LMS IP from 'Slim::Utils::Network::serverAddr()'
  > > > 
> 
> Analyser changes:
> 
> >   > 
  -  Add support for analysing CUE files.
  -  Output list of (up to 100) tracks that failed to analyse.
  -  When performing a dry-run analysis (--dry-run) print paths of all
  > tracks to be analysed and to be removed.
  -  Use git version of tag reader library.
  -  Support up to 5 music folders (music, music_1, music_2, music_3,
  > and music_4).
  > > > 
> 
> Analyser binaries (initial post updated):
> 
> >   >   > 
  -  'Linux'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-linux-0.1.0.zip)
  -  'Mac'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-mac-0.1.0.zip)
  -  'Windows'
  > 
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-windows-0.1.0.zip)
  > > > I've tracked down the 2 tracks that fail during analysis. One is a 4
second track of silence and the other is a 30 second track with a low
volume (peak level 0.18589 where 1 is maximum)

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread mruddo


Thanks. The error I was getting from the analyser was caused by an short
album track of complete silence - so nothing to analyse! :)

I decided it was surplus to requirements and deleted it, so analysis
scans are error free now.



mruddo's Profile: http://forums.slimdevices.com/member.php?userid=65325
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread cpd73


Plugin changes:

  
-  Add support for CUE tracks.
-  Get LMS IP from 'Slim::Utils::Network::serverAddr()'
  

Analyser changes:

  
-  Add support for analysing CUE files.
-  Output list of (up to 100) tracks that failed to analyse.
-  When performing a dry-run analysis (--dry-run) print paths of all
  tracks to be analysed and to be removed.
-  Use git version of tag reader library.
-  Support up to 5 music folders (music, music_1, music_2, music_3,
  and music_4).
  

Analyser binaries (initial post updated):


-  'Linux'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-linux-0.1.0.zip)
-  'Mac'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-mac-0.1.0.zip)
-  'Windows'
  
(https://github.com/CDrummond/bliss-analyser/releases/download/0.1.0/bliss-analyser-windows-0.1.0.zip)



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread bakker_be


cpd73 wrote: 
> The analysis code is the same - as this is from a library. But
> bliss-analyse (no r) is intended to analyse one file (as passed on the
> commandline) and outputs the results to stdout - where the Python reads
> results from. bliss-analyser iterates the music file tree, checks if
> files in DB, analyses all new files (multi-threaded, one thread per CPU
> core - this is also in the library) and saves results to DB - no Python
> required.

OK, clear. With around 130K files this initially does take some time
which is why I experienced this "difficulty", but for subsequent
iterations of newly added files the impact of course is a lot less, even
negligible.



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread cpd73


bakker_be wrote: 
> Is the bliss-analyser used in this plugin different from the one in the
> music-similarity plugin? While scanning with this one access to file
> shares on the machine where it runs are virtually impossible. I didn't
> have this with the other scanner, running on the same machine.

The analysis code is the same - as this is from a library. But
bliss-analyse (no r) is intended to analyse one file (as passed on the
commandline) and outputs the results to stdout - where the Python reads
results from. bliss-analyser iterates the music file tree, checks if
files in DB, analyses all new files (multi-threaded, one thread per CPU
core - this is also in the library) and saves results to DB - no Python
required.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread bakker_be


Is the bliss-analyser used in this plugin different from the one in the
music-similarity plugin? While scanning with this one access to file
shares on the machine where it runs are virtually impossible. I didn't
have this with the other scanner, running on the same machine.



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread Michael Herger

On second thought, can brew be used to build M1 binaries? Could I create
another 'macOS_arm' job in my action file to build an arm only macOS
build? If so, I guess "brew install" would need to be changed to install
arm binaries?


I don't know, tbh. Maybe prefixing the commands with "arch -arm64"?
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread cpd73


mherger wrote: 
> > Yes, but I have no idea what this is. My initial thought was perhaps
> > brew needs to be told to install deps for arm as well as x86 - but as
> I
> > don't own a mac, let alone an M1, I have no experience of this.
> 
> It seems Homebrew decided NOT to support fat binaries:
> 
> https://github.com/Homebrew/brew/issues/10307

On second thought, can brew be used to build M1 binaries? Could I create
another 'macOS_arm' job in my action file to build an arm only macOS
build? If so, I guess "brew install" would need to be changed to install
arm binaries?



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread cpd73


mherger wrote: 
> > Yes, but I have no idea what this is. My initial thought was perhaps
> > brew needs to be told to install deps for arm as well as x86 - but as
> I
> > don't own a mac, let alone an M1, I have no experience of this.
> 
> It seems Homebrew decided NOT to support fat binaries:
> 
> https://github.com/Homebrew/brew/issues/10307

Hmmm, x86 only for now it is then.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread Michael Herger

Yes, but I have no idea what this is. My initial thought was perhaps
brew needs to be told to install deps for arm as well as x86 - but as I
don't own a mac, let alone an M1, I have no experience of this.


It seems Homebrew decided NOT to support fat binaries:

https://github.com/Homebrew/brew/issues/10307
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread chill


cpd73 wrote: 
> Yes, but I have no idea what this is. My initial thought was perhaps
> brew needs to be told to install deps for arm as well as x86 - but as I
> don't own a mac, let alone an M1, I have no experience of this.

Ah, ok - understood.  In that case I'm especially grateful that you
provide a macOS build!

By the way, ffmpeg appears to run as an Intel app too, but this also
zips along quite nicely.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread Michael Herger

Not sure if "brew install ffmpeg@5" also installs for arm? The github
action file is:
https://raw.githubusercontent.com/CDrummond/bliss-analyser/master/.github/workflows/build.yml


That's very similar to what I'm doing with Spotty in 
https://github.com/michaelherger/librespot/blob/spotty/.github/workflows/build-spotty.yml. 



But AFAIK brew would NOT install fat binaries, or for both platforms.

% file $(which flac)
/opt/homebrew/bin/flac: Mach-O 64-bit executable arm64

This could be difficult to cross compile. I was struggling with this 
when I built Perl 5.34 binaries for new macOS. I ended up building 
natively on two hosts, then using lipo to combine them in a separate 
task. No github success there.

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread cpd73


chill wrote: 
> Thanks for trying!  The Intel build seems to run plenty fast enough
> anyway (under the right CPU allocation conditions!), so it's not an
> issue for me.
> 
> Just curious though - did you see the "Try use `bindgen` feature"
> message in relation to the error?

Yes, but I have no idea what this is. My initial thought was perhaps
brew needs to be told to install deps for arm as well as x86 - but as I
don't own a mac, let alone an M1, I have no experience of this.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread chill


cpd73 wrote: 
> I don't compile the binaries myself but use github actions. I've just
> tried updating this action to build a fat-binary for macOS (which is
> what i build for the mixer) - but this has failed:
> 

Thanks for trying!  The Intel build seems to run plenty fast enough
anyway (under the right CPU allocation conditions!), so it's not an
issue for me.

Just curious though - did you see the "Try use `bindgen` feature"
message in relation to the error?



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread cpd73


chill wrote: 
> 
> PS. Do you have the facility to compile for Apple silicon?  I noted in
> Activity Monitor that bliss-analyser is an Intel app, which means it's
> running under Rosetta on the M1 Macbook.  I could imagine it would fly
> if it ran as a native Apple app.

I don't compile the binaries myself but use github actions. I've just
tried updating this action to build a fat-binary for macOS (which is
what i build for the mixer) - but this has failed:


Code:


  error: failed to run custom build command for `bliss-audio-aubio-sys v0.2.0`
  
  Caused by:
  process didn't exit successfully: 
`/Users/runner/work/bliss-analyser/bliss-analyser/target/release/build/bliss-audio-aubio-sys-bcf988e5765e5e7a/build-script-build`
 (exit status: 101)
  --- stderr
  thread 'main' panicked at 'No prebuilt bindings. Try use `bindgen` feature.', 
/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/bliss-audio-aubio-sys-0.2.0/build.rs:34:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  error: build failed
  Error: Process completed with exit code 101.
  



Not sure if "brew install ffmpeg@5" also installs for arm? The github
action file is:
https://raw.githubusercontent.com/CDrummond/bliss-analyser/master/.github/workflows/build.yml
So, if anyone knows how to get this working for x86 and arm I'll gladly
apply any changes. If not, I'll revert to x86 only.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-16 Thread chill


cpd73 wrote: 
> No. The code builds 1 list of all tracks to be analysed - the .notmusic
> prevents files within those folders from being added to this list. This
> is then split between cores.

Understood.  There does seem to be something inconsistent about the CPU
allocation though.  I've now re-run the analysis 7 times, once on each
of the 7 top level folders underneath my LMS music path (by specifying
the path to each folder in config.ini), and only the 'Lossy' folder ever
achieves the impressive 500% CPU load.  The other folders achieve no
more than ~150%.  And as noted above, if I specify the same path as
defined in LMS, even with the other 6 folders excluded via .notmusic,
the Lossy folder only occupies a few percent.

Having now tried all 7 folders, I've at least identified the one that
causes the 'No tags found!' error.  But am I right that the terminal
output reports the last file successfully analysed, rather than the one
that failed?  Each time I run the analysis in this folder it fails at a
different point.  I guess I should wait for your next release to be able
to track which files in particular are causing the problem.

PS. Do you have the facility to compile for Apple silicon?  I noted in
Activity Monitor that bliss-analyser is an Intel app, which means it's
running under Rosetta on the M1 Macbook.  I could imagine it would fly
if it ran as a native Apple app.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread cpd73


chill wrote: 
> The scan completed after 1hr43m, with no errors.  While it was running
> it was using about 2.5% CPU and 12 threads.
> 
> I've just restarted it with the path set specifically to that 'Lossy'
> folder, and it's started up with ~500% CPU and ~30 threads, so clearly
> it's going to complete faster.  I wonder if it's something to do with
> the way the tasks are split between the available cores.  Does the core
> allocation happen before the folders are skipped due to .notmusic, or
> afterwards?  If before, and all the allocated folders on some cores turn
> out to be skipped, that would explain why it's using fewer resources and
> running slower.

No. The code builds 1 list of all tracks to be analysed - the .notmusic
prevents files within those folders from being added to this list. This
is then split between cores.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread chill


cpd73 wrote: 
> Sorry, not really. The bliss-analyser code is pretty simple - just
> collecting a list of files then asking bliss-rs to analyse them.

The scan completed after 1hr43m, with no errors.  While it was running
it was using about 2.5% CPU and 12 threads.

I've just restarted it with the path set specifically to that 'Lossy'
folder, and it's started up with ~500% CPU and ~30 threads, so clearly
it's going to complete faster.  I wonder if it's something to do with
the way the tasks are split between the available cores.  Does the core
allocation happen before the folders are skipped due to .notmusic, or
afterwards?  If before, and all the allocated folders on some cores turn
out to be skipped, that would explain why it's using fewer resources and
running slower.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread cpd73


chill wrote: 
> Any idea why this scan is so much slower?

Sorry, not really. The bliss-analyser code is pretty simple - just
collecting a list of files then asking bliss-rs to analyse them.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread chill


cpd73 wrote: 
> 
> As to why its crashing, not sure. Perhaps you could run analysis on each
> folder separately to see if its a particular file type.

I'll certainly try that.  I'm currently re-running the analysis with
every folder except 'Lossy' excluded via the .notmusic method.  The
analysis has now found the same number of tracks (6414) as when I
specified only the 'Lossy' folder in the path, but whereas that scan
took 16m30s, I'm now over 27minutes in and it's only completed 20%.  Any
idea why this scan is so much slower?

If this scan completes successfully, I'll then specify the direct path
to each of the other folders in turn and see what happens.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread cpd73


chill wrote: 
> 
> I'm curious what could be causing inconsistent/different failures.  Does
> the analyser pick a different/random section of each track each time?

The analyser code iterates the filesystem to build a list of files to
analyse. This list is not sorted. Then each CPU core is given a section
of this list. So, if you had 8 cores and 8k tracks - 1 core would get
the first 1k tracks, the next core the next 1k, etc. This is why when
the names of the tracks that are being analysed are shown they are not
in order. This code is all from the bliss-rs library.

As to why its crashing, not sure. Perhaps you could run analysis on each
folder separately to see if its a particular file type.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread chill


I've been giving this a try while I look forward to a version that
handles CUE files.  I have around 6500 tracks that are in individual
MP3/OGG/M4A files, with traditional tags.  I'm getting some inconsistent
issues with the analysis phase.

I have a separate 'Lossy' folder within my music folder for these files,
so I started off by analysing just this folder.  I realise that I need
to eventually run the analysis on the same root folder as defined in
LMS, but I just wanted to have a play on a subset of my library.

I used the 0.0.2 build for macOS, running on a 2021 M1 Macbook Pro.  My
music library is on an ext4 SSD attached to a pCP Pi4 and accessed from
my Macbook via samba.

When I first ran the analysis on this 'Lossy' folder, it zipped through
6414 tracks in 16m 30s: a rate of over 23k tracks per hour, which I was
quite pleased with, given that the files are being accessed over my lan.

So then I changed the path in config.ini to start one folder level
higher, i.e. the same folder as specified in LMS, in order to include
everything else ('Lossless', 'DVD Rips', 'Spoken Word', 'HiRes' etc).  I
renamed the bliss.db so that the analysis would start again from
scratch.  The analysis didn't find many extra files (6665 versus 6414
previously), but it slowed down considerably, even while apparently
working in the 'Lossy' folder, and it crashes each time I run it.  I
repeated it several times, each time deleting the database for a fresh
start, and I seem to be getting errors in different places.  I've had a
few "thread 'main' panicked at 'Error: No tags found!',
src/tags.rs:33:50", and the file number is different each time.  I've
even had a "Segmentation fault: 11", again at a different point in the
analysis.  In each case, the most recent file analysed, according to the
terminal output, is something in the 'Lossy' folder that worked
previously.

I'm curious what could be causing inconsistent/different failures.  Does
the analyser pick a different/random section of each track each time?

My next step will be to exclude folders from the analysis with
'.notmusic', to see if I can find some pattern.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread mruddo


cpd73 wrote: 
> The next release will print (up to 100) tracks that fail to analyse - my
> thinking being that 100 is a lot to show, and if you have more than this
> there's a major issue somewhere.

Great, that sounds most reasonable...

I'll be interesting to see what it is. The only issues I had with tracks
not being analysed correctly (when testing Music Similarity) were useful
as they actually identified a few corrupt files in my library that I'd
never have known about otherwise.



mruddo's Profile: http://forums.slimdevices.com/member.php?userid=65325
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread cpd73


slartibartfast wrote: 
> Mine always shows 2 failures. It would be interesting to know what they
> are [emoji2]

The next release will print (up to 100) tracks that fail to analyse - my
thinking being that 100 is a lot to show, and if you have more than this
there's a major issue somewhere.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread slartibartfast


cpd73 wrote: 
> Unfortunately not - which, I agree, is bad. I'll add some logging to
> list of to (e.g.) 20 failed tracks. If you run with no new tracks, it
> should try to analyse the failed track again - and then this track path
> should be visible next to the progress bar.Mine always shows 2 failures. It 
> would be interesting to know what they
are [emoji2]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread cpd73


mruddo wrote: 
> Hi @cpd73,
> 
> When analysing my tracks, I always get a "1 Failure(s)" message. i.e. if
> I add a new album with 10 tracks, it will find 11 and report 1
> failure... so all new tracks seem fine, but there's obviously a track
> out there it's picking up that it does not like. (It also finds 1 track
> if I just re-run without adding any files.)
> 
> Is there any way to log output the file detail so that I may identify it
> and investigate further?
> 
> Ta

Unfortunately not - which, I agree, is bad. I'll add some logging to
list of to (e.g.) 20 failed tracks. If you run with no new tracks, it
should try to analyse the failed track again - and then this track path
should be visible next to the progress bar.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-15 Thread mruddo


Hi @cpd73,

When analysing my tracks, I always get a "1 Failure(s)" message. i.e. if
I add a new album with 10 tracks, it will find 11 and report 1
failure... so all new tracks seem fine, but there's obviously a track
out there it's picking up that it does not like.

Is there any way to log output the file detail so that I may identify it
and investigate further?

Ta



mruddo's Profile: http://forums.slimdevices.com/member.php?userid=65325
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread gorman


cpd73 wrote: 
> As stated before, mixer does not read config.ini that's *only* for the
> analyser. Anyhow, I've updated the code to call
> 'Slim::Utils::Network::serverAddr()' to get the LMS IP address. This
> will be the same IP as shown in Material's information dialog.Ok, perfect. 
> That works, in my case at least (checked right now with
Material skin).
> No idea, and not something that bothers me as I'm on Linux.
No problem, it does not bother me. I just felt it was correct to point
it out for you to know.



gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread cpd73


gorman wrote: 
>  Bear in mind there is still need for the bliss-mixer executable to get
> the addresses from config.ini (in my case, don't know how widespread my
> situation is... you could have a default at 127.0.0.1 that one can
> override in config.ini maybe?).

As stated before, mixer does not read config.ini that's *only* for the
analyser. Anyhow, I've updated the code to call
'Slim::Utils::Network::serverAddr()' to get the LMS IP address. This
will be the same IP as shown in Material's information dialog.

gorman wrote: 
> 
> Edit 2: this is absolutely just cosmetic but maybe it's an easy "fix".
> In Windows task manager, the bliss-mixer executable comes up with a
> strange BLISS-~1.EXE name. It's the only process I have with such a
> malformed name. People might fear something is wrong, virus, etc. If
> it's an easy thing to fix.

No idea, and not something that bothers me as I'm on Linux.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread gorman


Ok, turns out it was easier than I thought. Luckily Trackstat saved only
the path in the actual folders, without the shortcut portion. So I
rearranged stuff as needed, rescanned library from scratch, restored
trackstat data and... Bliss mixer now appears to be working. Which leads
me to believe it had the information in its db in the same format as
Trackstat did.

No more shortcuts, just a single folder with several subfolders in it.
All seems good. Thanks cpd73 for the assistance. Bear in mind there is
still need for the bliss-mixer executable to get the addresses from
config.ini (in my case, don't know how widespread my situation is... you
could have a default at 127.0.0.1 that one can override in config.ini
maybe?).



gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread gorman

cpd73 wrote: 
> ..ah, wait. Are you saying you have (e.g.):
> 
> - LMS music folder set to c:\User\name\Music
> - Within c:\User\name\Music you have windows shorcut files (e.g. 'FLAC
> Music.lnk' which links to 'D:\Music')
> - When you play a track from 'c:\User\name\Music\FLAC Music' LMS
> actually plays D:\Music\SomeTrack.flac - and it is this D: path that is
> used as the track's path
> 
> If this is the case, then I'm not sure there is much I can do to cater
> for that use-case. If you used multiple folders then I could support
> that, but you don't as LMS did not support that before. Sorry, but this
> is just way too Windows specific for me - I'm 100% Linux. I -think-
> newer Windows support Linux/Unix-like symbolic links, which I -think-
> would be better for this.

Yes, that’s the situation I’m in. There certainly are solutions now
(this setup was born under XP), big fan of symlinks personally. But I
fear those might break library and/or (more serious) Trackstats backups
in case a restore is needed if a total rescan becomes necessary after
symlinking instead of using shortcuts.



gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread cpd73

gorman wrote: 
> I think I know what’s happening. My music folder is set to one with
> shortcuts (I use Windows 10) to the actual folders where I have
> organised the music. This is from when LMS allowed for just one folder

..ah, wait. Are you saying you have (e.g.):

- LMS music folder set to c:\User\name\Music
- Within c:\User\name\Music you have windows shorcut files (e.g. 'FLAC
Music.lnk' which links to 'D:\Music')
- When you play a track from 'c:\User\name\Music\FLAC Music' LMS
actually plays D:\Music\SomeTrack.flac - and it is this D: path that is
used as the track's path

If this is the case, then I'm not sure there is much I can do to cater
for that use-case. If you used multiple folders then I could support
that, but you don't as LMS did not support that before. Sorry, but this
is just way too Windows specific for me - I'm 100% Linux. I -think-
newer Windows support Linux/Unix-like symbolic links, which I -think-
would be better for this.



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread cpd73

gorman wrote: 
> I think I know what’s happening. My music folder is set to one with
> shortcuts (I use Windows 10) to the actual folders where I have
> organised the music. This is from when LMS allowed for just one folder
> (and anyway your plugin uses just the first folder in the list, so in a
> way the situation is similar, I guess).
> 
> I could try reorganising but I don’t think Trackstats backups would
> work, as paths will have changed. :(

Well, the LMS plugin will iterate all of LMS's 'mediadirs' setting, and
strip paths - so it actuall yuses them all.

The released analyser only supports 1 music folder - but I have
(literally just now) push a branch to support up to 5 music folders. Not
sure if I really want that change, hence why it is in a branch for now
(its also untested).



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread gorman

cpd73 wrote: 
> 
> When sending the track list to the mixer, the plugin -should- strip your
> configured media folder path from the tracks path. e.g. if media folder
> was "D:\Music" then "FLAC/Tears..." would be sent (the plugin converts
> "" to "/" - so that you can, for example, analyse on Windows but run LMS
> on a Pi). What is you music folder set to in LMS?
I know what’s happening. My music folder is set to one with shortcuts to
the actual folders where I have organised the music. This is from when
LMS allowed for just one folder (and anyway your plugin uses just the
first folder in the list, so in a way the situation is similar, I
guess).

I could try reorganising but I don’t think Trackstats backups would
work, as paths will have changed. :(



gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=116068

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Bliss DSTM mixer

2022-03-14 Thread cpd73


gorman wrote: 
> 
> Problem is that my LMS does not respond from 127.0.0.1 but only from
> 192.168.10.101 and I have that in the config.ini, like this
> 
> lms=192.168.10.101
> 

Mixer does not use config.ini, only the analyser. Mixer is designed to
be started/stopped by the plugin so has no config file. The mixer will
bind to a random port at start-up, and will then inform the plugin (via
JSONRPC) of this port number - which is why it needs the LMS address. If
the plugin does not get the port from the mixer then it assumes the
mixer did not start correctly.

gorman wrote: 
> 
> EDIT
> Manually editing all 127.0.0.1 and localhost entries in Plugin.pm,
> changing them to 192.168.10.101 the error does not appear.

I'll see about getting LMS's bind address from the config, or some other
means, and use that when starting the mixer.

gorman wrote: 
> 
> But the Bliss mix simply fails. I have scanned over 25,000 tracks.
> Either I don't understand how this works or something is wrong if it
> can't find a plausible mix from all that music.
> 
> > 
Code:

  >   > 
  > [22-03-13 23:59:45.4304] Plugins::BlissMixer::Plugin::_cliCommand (288) 
BlissMix Track Seed D:\Music\FLAC\Tears for Fears - 2022 - The Tipping Point\08 
Master Plan.flac
  > [22-03-13 23:59:45.4306] Plugins::BlissMixer::Plugin::_cliCommand (330) Num 
tracks for BlissMix: 1
  > [22-03-13 23:59:45.4308] Plugins::BlissMixer::Plugin::_getMixData (969) 
Request {"genregroups":[],"norepalb":25,"tracks":["D:/Music/FLAC/Tears for 
Fears - 2022 - The Tipping Point/08 Master 
Plan.flac"],"count":20,"min":0,"max":0,"filtergenre":0,"norepart":15,"previous":[],"shuffle":1,"filterxmas":1}
  > ...
  > 

> > 
> 
> (I cut some of the songs in the playlist to stay within the 10,000
> character limit. But it fails both in creating a mix from a single
> song and in creating a mix after a long playlist, through DSTM)

(I also cut more out). The reason I -think- things are failing is
because the plugin is sending the whole music path
"D:/Music/FLAC/Tears..." - whereas I'd imagine in your DB you only have
"FLAC/Tears..." The mixer then cannot find the seed tracks in its DB, so
mix fails.

When sending the track list to the mixer, the plugin -should- strip your
configured media folder path from the tracks path. e.g. if media folder
was "D:\Music" then "FLAC/Tears..." would be sent (the plugin converts
"" to "/" - so that you can, for example, analyse on Windows but run LMS
on a Pi). What is you music folder set to in LMS?



*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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


  1   2   >