Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-13 Thread sveninndh


cpd73 wrote: 
> H :( This is caused by changes made for "type=text" but actually is
> an image... Anyhow, fixed for 1.5.4. Sorry.

Same problem with viewing of the artist "Biographie" in Qobuz plugin.

This is also fixed with version 1.5.4, thanks.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-12 Thread sveninndh


cpd73 wrote: 
> Yes please - as it should have titles. I thought I'd fixed that last
> night :(

Requirements: Qobuz plugin, MusicArtistInfo plugin, OnlineLibrary plugin
and LMS 8 

Here are the JSON responses:

30020

HTH


+---+
|Filename: Artist Picture JSON-RESP-2.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30020|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-12 Thread sveninndh


cpd73 wrote: 
> I've added this in git now, can you update and see if it now works?
> Thanks.

It works perfect now.

Of course your work-around becomes no longer triggered, because the
corresponding JSON responses are gone.

You can decide what you like better. Here the current view.

30016

If you like to see JSON-RESP let me know.


+---+
|Filename: Artist Pictures 5.JPG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30016|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-12 Thread sveninndh


cpd73 wrote: 
> Anyhow, I've just added a work-around for this. But, I still think there
> is an issue with your (or LMS's) code. Why state the item is a text item
> if it is not?

Craig, actually this is already out of date. I'm only showing it so you
can see the result of your changes.

This work-around looks very well.

30015


+---+
|Filename: Artist Pictures 4.JPG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30015|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-11 Thread sveninndh


cpd73 wrote: 
> Really, please stop going round and round and round in circles. I have
> stated what I see this issue as - quite clearly, multiple times. What
> other clients do is up to them. But *your* code returns *type=text* for
> an *image*!

This is also not fair, because it is a result of misunderstandings and I
think it is not only my fault.

> Do any of these support "browseonlineartist"?? If not, then its not a
> fair comparison.

I have already asked it several times, what is "browseonlineartist",
what does it do? 

Is it the small menu behind the (...)-button?

If yes, then all other skins have also a possibility to to execute the
point "Qobuz", why is it not fair to compair?

Do you mean the two extra menu points when MusicArtistInfo plugin is
installed, yes this seems an exclusive function of material skin.

> Still, the issue is that you return a list of images and state that each
> one is a text item. Not sure how I can be any clearer on this point.
> This is the point that is tripping material up. Perhaps its an issue
> with Material, and I have added a work-around. But, why state an item is
> text if its an image? I understand it also has text. But LMS does not
> return a track list and state each item is text - and each item does
> have some text.

Maybe this is where the misunderstanding lies.
You say that you can only display what LMS tells you in the JSON
responses.
Of course this is correct, but that is not my point at all.

My question was why are the JSON answers different at all?
Why do you get a different JSON response when the call is triggered by
"browseonlineartist" as opposed to all other ways to call the same
QobuzArtist-menu?

> But *your* code returns *type=text* for an *image*!

Not my code, it's Michael's code, and that code has always been that
way. Please ask Michael about the why.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-11 Thread sveninndh


cpd73 wrote: 
> At the risk of going round and round in circles... Your response has
> *TYPE* set to *TEXT*.
> 
> > 
Code:

  >   > 
  > {
  > "params":[  "2c:fd:a1:bb:03:db",
  > [
  > "browseonlineartist",
  > "items",
  > "0",
  > 25000,
  > "item_id:5.5",
  > "want_url:1"
  > ]
  > ],
  > 

> > 
> 

Where does "browseonlineartist" come from?

I can't find it anywhere in LMS or plugin code.
But I find it in your code in browse-page.js in line 1432, 1433 and
2686.

I'm very sorry, but I just don't understand you.

I am simply an observer who looks at the behavior of Material Skin from
the outside and compares it with other skins.

1. Default Skin,  *nowhere problems* with viewing artist photos
2. Squeezeplay, *nowhere problems* with viewing artist photos
3. Classic Skin,  *nowhere problems* with viewing artist photos
4. Material Skin, *no problem* with viewing artist photos with only *one
exception*

The exception always occurs when we find *"browseonlineartist"* in
JSON-RESP.
In all other cases, the display of the artist images works fine in
Material Skin.

And the Perl code used to display the artist photos is always the same
here and this code is years old and untouched.
>From my point of view I have absolutely no idea why you see different
results in JSON-RESP.
I was hoping you had an explanation.
But I'm sure it's not the Perl code, neither mine nor Michael's.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-11 Thread sveninndh


cpd73 wrote: 
> And my response would be the same. The type is set to "text". Sorry, but
> I do not subscribe to any services - so I cannot check myself.
> 
> Anyhow, I've just added a work-around for this. But, I still think there
> is an issue with your (or LMS's) code. Why state the item is a text item
> if it is not?

>And my response would be the same.

With the reference to #3796 I just wanted to give an indication of what
the content of #3818 is based on.
But #3818 is also important to narrow down possible causes for this
problem.
I did not take the time to test and document many things just for fun.
I'm trying really hard to figure out what's wrong here.

>But, I still think there is an issue with your (or LMS's) code. 

I think you are wrong about my code or the code of the MusikArtistInfo
plugin by Michael which is called here.
Maybe LMS has a problem, but that would surprise me.

>Why state the item is a text item if it is not?

Because it is a text element and it is in code. It is a text element
with an image at the beginning.

Here is the called Perl code from MusicArtistInfo::ArtistInfo.pm (it's
Michael's code not mine):


Code:

if ($photos && ref $photos eq 'ARRAY') {
my $credit = cstring($client, 'BY') . ' ';
$items = [ map {
{
type  => 'text',
name  => $_->{credits} ? ($credit . 
$_->{credits}) : '',
image => $_->{url},
jive  => { showBigArtwork => 1, actions 
=> { do => { cmd => [ 'artwork', $_->{url} ] }, }, }
}
} (@$photos) ];
}




The text contains where the image comes from.

Why do you suppress the text?

If you look at the default skin, you will notice that the text is
displayed there and you can set the display mode in a menu (text only,
small images, big images) in the lower left corner.

2999729998

But I think the problem is somewhere else, please have a closer look at
message #3818 and the JSON-RESP. 
The effect described there has nothing to do with the type "text" and
also not with my code.


+---+
|Filename: Artist Pictures 3.JPG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29998|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-10 Thread sveninndh

@cpd73

Craig, I am comming back to my issue in message '#3796'
(https://forums.slimdevices.com/showthread.php?109624-Announce-Material-Skin=970591=1#post970591).

After al lot of tests I  can't find any code problems in Qobuz plugin
and also not in MusicArtisInfo plugin.
Also Default Skin or Squeezeplay do not have this problem.

Because the problem occurs only if you use the (..)-button menu entry
"Qobuz" I want to ask you:

What Material skin do in this moment?

What happens when the command "browseonlineartist" is executed?

If you test with the standard Qobuz plugin v2.1.0, you will see that
already when displaying the exact same menu (QobuzArtist()) the JSON
answers are totally different although the visible display is the same.



Code:

1.) Qobuz::Plugin::QobuzArtist() called from Quboz favorites - Artists 
after selecting an Artist
  
  [15:46:09] JSON REQ: 
["2c:fd:a1:bb:03:db",["qobuz","items",0,25000,"menu:qobuz","item_id:2.0.12"]] 
utils.js:17:17
  [15:46:09] JSON RESP: 
{"method":"slim.request","result":{"offset":0,"title":"Agnes 
Obel","base":{"actions":{"play":{"itemsParams":"params","cmd":["qobuz","playlist","play"],"params":{"menu":"qobuz"},"player":0,"nextWindow":"nowPlaying"},"go":{"params":{"menu":"qobuz"},"itemsParams":"params","cmd":["qobuz","items"]},"more":{"params":{"menu":"qobuz"},"player":0,"window":{"isContextMenu":1},"cmd":["qobuz","items"],"itemsParams":"params"},"add":{"cmd":["qobuz","playlist","add"],"itemsParams":"params","params":{"menu":"qobuz"},"player":0},"playControl":{"params":{"_index":"0","_quantity":"25000","menu":"qobuz","item_id":"2.0.12"},"player":0,"window":{"isContextMenu":1},"cmd":["qobuz","items"],"itemsParams":"playControlParams"},"add-hold":{"player":0,"params":{"menu":"qobuz"},"itemsParams":"params","cmd":["qobuz","playlist","insert"]}}},"item_loop":[{"addAction":"go","text":"Alben","actions":{"go":{"params":{"menu":"qobuz","item_id":"2.0.12.0"},"cmd":["qobuz","items"]}},"icon":"h
 
tml/images/albums.png"},{"icon":"html/images/playlists.png","actions":{"go":{"params":{"item_id":"2.0.12.1","menu":"qobuz"},"cmd":["qobuz","items"]}},"addAction":"go","text":"Titel"},{"actions":{"go":{"cmd":["qobuz","items"],"params":{"menu":"qobuz","item_id":"2.0.12.2"}}},"addAction":"go","text":"Biographie","icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fartists%2Fcovers%2Flarge%2F4f440f52fa7ee9902c02110e0a30027f.jpg/image.jpg"},{"icon":"html/images/artists.png","actions":{"go":{"params":{"menu":"qobuz","item_id":"2.0.12.3"},"cmd":["qobuz","items"]}},"text":"Ähnliche
 
Interpreten","addAction":"go"}],"count":4,"window":{"windowStyle":"home_menu"}},"id":34,"params":["2c:fd:a1:bb:03:db",["qobuz","items","0",25000,"menu:qobuz","item_id:2.0.12"]]}
 utils.js:17:17
  
  
  2.) Qobuz::Plugin::QobuzArtist() called from LMS musik library - All artists 
after selecting an Artist which is present in Qobuz favorites, than click on 
(...)-Button and select entry "Quboz"
  
  [15:43:36] JSON REQ: 
["2c:fd:a1:bb:03:db",["browseonlineartist","items",0,25000,"service_id:qobuz","artist_id:3913"]]
 utils.js:17:17
  [15:43:36] JSON RESP: 
{"method":"slim.request","params":["2c:fd:a1:bb:03:db",["browseonlineartist","items","0",25000,"service_id:qobuz","artist_id:3913"]],"id":27,"result":{"loop_loop":[{"id":"0","name":"Alben","image":"html/images/albums.png","isaudio":0,"hasitems":1},{"id":"1","name":"Titel","image":"html/images/playlists.png","isaudio":0,"hasitems":1},{"id":"2","name":"Biographie","image":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fartists%2Fcovers%2Flarge%2F4f440f52fa7ee9902c02110e0a30027f.jpg/image.jpg","isaudio":0,"hasitems":1},{"id":"3","name":"Ähnliche
 
Interpreten","image":"html/images/artists.png","isaudio":0,"hasitems":1}],"count":4}}
 utils.js:17:17
  
  
  In both cases the displayed content is the same.
  
  Tested wit Qobuz plugin v2.1.0 and Material Skin 1.5.3.



Wouldn't you expect the JSON answers to be the same in both cases?



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-07 Thread sveninndh


mherger wrote: 
> Can you give exact step-by-step instructions how to reproduce this? 
> Because this is working as expected for me.
> 

I sent you an e-mail.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-06 Thread sveninndh


cpd73 wrote: 
> Is this in your own modified Qobuz plugin? Or in the official one? Your
> items have type "text" - hence Material treats them as text items. How
> is Material supposed to know they are images? Perhaps "type" should be
> "image" ???

It is my own modified Qobuz plugin.
But I call a function in Michael's MusicArtistInfo Plugin.
This funktion displays a menu and the last point is 'Pictures'.
I have no control over this code.

I have no idea what is going wrong here.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-06 Thread sveninndh


Another similar problem. Again, the output of the same method is
different depending on where it was called from.

This time it is a method in the MusicArtistInfo plugin.

If Artist-Information - Pictures is called from the Qobuz plugin
everything is ok.

29960

29962

If Artist-Information - Pictures is called from Music - All Artists you
see no pictures.

29959

29961


+---+
|Filename: Artist Pictures 0.log|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29962|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-06 Thread sveninndh


cpd73 wrote: 
> I'm not saying its *wrong*, just that in the other responses the *icon*
> is in -icon- or -icon-id-. This places an -icon- in the -image- tag. I
> have no idea if that is wrong or not! Anyhow, code handles this case so
> its not a massive issue.

Ah ok, anyway, it looks good now.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-06 Thread sveninndh


cpd73 wrote: 
> Ah! So, is your fork wrong?

What is wrong with* image => 'html/images/artists.png'* ?

You can find the same code in many places in the original Qobuz plugin.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-04-06 Thread sveninndh


mherger wrote: 
> No, this depends on how you call a sub:
> 
> My::Class->call('abc') -> first parameters is the class, 'abc' second
> My::Class::call('abc') -> first parameter is "abc"
> 

Thanks a lot, I am not aware of this. (I am not a Perl professional, I
use Perl only for Qopuz plugin)



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-06 Thread sveninndh


cpd73 wrote: 
> @Michael - as you can see in the above screenshot, the Material supplied
> artist image is mixed with the others. Ideally this image would only be
> used as the MAI fallback, and the existing image/icon used for lists
> such as the above. Can this be rectified?

Sorry guys for the confusion, the screenshots were from my own fork of
the Qobuz plugin.

The code for the artist image is in both cases:

image => 'html/images/artists.png',



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-06 Thread sveninndh


cpd73 wrote: 
> Please try version from git.

Thanks for the quick solution, works great now.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-04-06 Thread sveninndh


mherger wrote: 
> > Here is another funny use of the plugin:
> 
> Is this in some plugi of yours? You should probably share a little 
> information about what you're trying to do.
> 
> >  sub getAlbumMenu {
> > my ($client, $cb, $params, $args) = @_;
> > 
> > if ($params->{album}->{client}) { $client =
> $params->{album}->{client}; delete $params->{album}->{client}; } #Sven
> 2020-03-31
> 
> Why don't you send the $client reference as the first parameter (as 
> expected here), instead of putting it into $params? Problem solved, no 
> patching required, right?
> 
> > This changes the $client value.
> 
> It doesn't change it. It defines it. Which is required because you send
> 
> the "undef" value as $client.
> 
> -- 
> 
> Michael

>Is this in some plugi of yours?

It's my fork, feel free to try it.
https://github.com/Sveninndh/SqueezeboxQobuz

>Why don't you send the $client reference as the first parameter

Maybe I understand something fundamentally wrong with Perl.

Let me give you an example:

Take your code in Qobuz Plugin v2.1.0. *package Plugins::Qobuz::Plugin*
file *Plugin.pm* Line 414:

Code:

sub QobuzArtist {
my ($client, $cb, $params, $args) = @_;
  
Plugins::Qobuz::API->getArtist(sub {
my $artist = shift;
  
if ($artist->{status} && $artist->{status} =~ /error/i) {
$cb->();
return;
}



The first parameter is sub {}, this is the callback function right?

Now look in *package Plugins::Qobuz::API* file *API.pm* at line 136:


Code:

sub getArtist {
my ($class, $cb, $artistId) = @_;



$cb is the second parameter and you can verify that this is the first
parameter of the method call *Plugins::Qobuz::API->getArtist(sub {*

I thought that the first parameter always contained a pointer to the
object itself ($self, $class, $client ...) which is automatically
assigned by perl.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-05 Thread sveninndh

Today I tried 1.5.2

If you go into the artist menu of the Qobuz plugin through 'Music -
Artists - Albums' than the icons are not mapped.

29951


Code:

[18:54:42] JSON REQ: 
["2c:fd:a1:bb:03:db",["browseonlineartist","items",0,25000,"service_id:qobuz","artist_id:3802"]]
  utils.js?r=11.5.2:17 [18:54:42] JSON RESP: 
{"params":["2c:fd:a1:bb:03:db",["browseonlineartist","items","0",25000,"service_id:qobuz","artist_id:3802"]],"result":{"loop_loop":[{"id":"0","name":"Biographie","image":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fartists%2Fcovers%2Flarge%2F4f440f52fa7ee9902c02110e0a30027f.jpg/image.jpg","isaudio":0,"hasitems":1},{"id":"1","name":"Alben","image":"html/images/albums.png","isaudio":0,"hasitems":1},{"id":"2","name":"Titel","image":"html/images/playlists.png","isaudio":0,"hasitems":1},{"id":"3","name":"Wiedergabelisten","image":"html/images/playlists.png","isaudio":0,"hasitems":1},{"id":"4","name":"Ähnliche
 
Interpreten","image":"html/images/artists.png","isaudio":0,"hasitems":1},{"id":"5","name":"Interpreten-Information","type":"link","image":"html/images/artists.png","isaudio":0,"hasitems":1},{"id":"6","name":"Favoriten
 
verwalten","type":"link","image":"html/images/favorites.png","isaudio":0,"hasitems":1}],"count":7},"metho
 d":"slim.request","id":42}



If you call the same artist menu from Qobuz plugin it works.

29950


Code:

[19:01:00] JSON REQ: 
["2c:fd:a1:bb:03:db",["qobuz","items",0,25000,"menu:qobuz","item_id:1.0.0.3"]]
  utils.js?r=11.5.2:17 [19:01:00] JSON RESP: 
{"result":{"offset":0,"title":"Agnes 
Obel","base":{"actions":{"add":{"cmd":["qobuz","playlist","add"],"player":0,"params":{"menu":"qobuz"},"itemsParams":"params"},"add-hold":{"itemsParams":"params","player":0,"params":{"menu":"qobuz"},"cmd":["qobuz","playlist","insert"]},"go":{"params":{"menu":"qobuz"},"itemsParams":"params","cmd":["qobuz","items"]},"play":{"nextWindow":"nowPlaying","cmd":["qobuz","playlist","play"],"itemsParams":"params","player":0,"params":{"menu":"qobuz"}},"playControl":{"player":0,"params":{"_index":"0","_quantity":"25000","menu":"qobuz","item_id":"1.0.0.3"},"window":{"isContextMenu":1},"itemsParams":"playControlParams","cmd":["qobuz","items"]},"more":{"player":0,"params":{"menu":"qobuz"},"window":{"isContextMenu":1},"itemsParams":"params","cmd":["qobuz","items"]}}},"item_loop":[{"text":"Biographie","icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fartists%2Fcovers%2Flarge%2F4f440f52fa7ee9902c02110e
 
0a30027f.jpg/image.jpg","actions":{"go":{"params":{"item_id":"1.0.0.3.0","menu":"qobuz"},"cmd":["qobuz","items"]}},"addAction":"go"},{"text":"Alben","icon":"html/images/albums.png","actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"1.0.0.3.1","menu":"qobuz"}}},"addAction":"go"},{"icon":"html/images/playlists.png","text":"Titel","addAction":"go","actions":{"go":{"cmd":["qobuz","items"],"params":{"menu":"qobuz","item_id":"1.0.0.3.2",{"text":"Wiedergabelisten","icon":"html/images/playlists.png","actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"1.0.0.3.3","menu":"qobuz"}}},"addAction":"go"},{"actions":{"go":{"params":{"item_id":"1.0.0.3.4","menu":"qobuz"},"cmd":["qobuz","items"]}},"addAction":"go","text":"Ähnliche
 
Interpreten","icon":"html/images/artists.png"},{"actions":{"go":{"params":{"menu":"qobuz","item_id":"1.0.0.3.5"},"cmd":["qobuz","items"]}},"type":"link","addAction":"go","text":"Interpreten-Information","icon":"html/images/artists.png"},{"typ
 e":"link","actions":{"go":{"params":{"menu":"qobuz","item_id!
 ":"1.0.0.3.6"},"cmd":["qobuz","items"]}},"addAction":"go","text":"Favoriten 
verwalten","icon":"html/images/favorites.png"}],"count":7,"window":{"windowStyle":"home_menu"}},"id":50,"method":"slim.request","params":["2c:fd:a1:bb:03:db",["qobuz","items","0",25000,"menu:qobuz","item_id:1.0.0.3"]]}



+---+
|Filename: Artist Menu 1.JPG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29951|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-04-05 Thread sveninndh


@michael

Here is another funny use of the plugin:

if MusicArtistInfo plugin is installed I want to add 'Ablum Information'
in QobuzGetTracks().


Code:

if ($IsMusicArtistInfo) {
push @$items, {
name  => cstring($client, 
'PLUGIN_MUSICARTISTINFO_ALBUMINFO'),
items => 
Plugins::MusicArtistInfo::AlbumInfo->getAlbumMenu(undef, { album => { album => 
$album->{title}, artist => $artist, client => $client } })
}
}



Also the following code is needed:


Code:

my $IsMusicArtistInfo = 0;
  
  sub postinitPlugin {
  ...
if ( 
Slim::Utils::PluginManager->isEnabled('Plugins::MusicArtistInfo::Plugin') ) {
$IsMusicArtistInfo = 1;
}
  ...
  }
  




If you inspect the code above you will see that it is a trick, because
it works only if you add a code line to AlbumInfo.pm.


Code:

sub getAlbumMenu {
my ($client, $cb, $params, $args) = @_;

if ($params->{album}->{client}) { $client = $params->{album}->{client}; 
delete $params->{album}->{client}; } #Sven 2020-03-31



This changes the $client value.
Without this trick I always run into a runtime error in this line:


Code:

type => ($client && $client->controllerUA || '') =~ /squeezeplay/i ? 'link' 
: 'slideshow',
  
  [20-04-05 13:00:20.1358] Slim::Networking::IO::Select::__ANON__ (130) Error: 
Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: 
Can't locate object method "controllerUA" via package 
"Plugins::MusicArtistInfo::AlbumInfo" at 
/SlimServer/Cache/InstalledPlugins/Plugins/MusicArtistInfo/AlbumInfo.pm line 85.
  ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0x55a420ccda70)
  
  



This problem also exists in ArtistInfo.pm, if you like to call
getArtistMenu().

The disadvantage of this trick is that every time the MusicArtistInfo
plugin is updated, the trick must be reinstalled in the new version.

So my question to you is:

Do you have a better idea to make this work?

Or can you modify the code line,

Code:

type => ($client && $client->controllerUA || '') =~ /squeezeplay/i ? 'link' 
: 'slideshow',



that the runtime error disappears.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-04-05 Thread sveninndh


mherger wrote: 
> > Plugins::Qobuz::API->getAlbum() returns less information than the
> same
> > function call in version v1.6.0.
> 
> I wonder how you're using the plugin...
> 
> -- 
> 
> Michael

;););)

Thanks for your quick fix.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-04-04 Thread sveninndh


@michael,

today I tried version v.2.0.0.

Something seems to be broken.

Plugins::Qobuz::API->getAlbum() returns less information than the same
function call in version v1.6.0.

I tested it with $log->error(Data::Dump::dump($album)); 

The missing informations are:

$album->{description}
$album->{copyright}
$album->{label} 

If I go back to v1.600 these values are present.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-04 Thread sveninndh


soundcheck wrote: 
> I can't find "On Qobuz" inside my MS.

Add an album from Qobuz to the playlist.
Open the context menu of a track in the current playlist and click
"more".
Then it should be the last point.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-04 Thread sveninndh


soundcheck wrote: 
> 
> Q2:
> I'm not sure if the Qobuz plugin supports it, but would it be possible
> to add a 
> "Save as Qobuz My Favorites" function that saves the Qobuz item
> (album/playlist/track) on "Qobuz My Favorites" and not on LMS favs?
> The huge amount of Qobuz data put the Qobuz favs pretty high up on my
> highly appreciated feature list. 
> I do think that this could be more of a Qobuz plugin subject though. You
> tell me.  I simply couldn't find any related hint inside the MS UI.

This is implemented in the Qobuz-Plugin.
It can be found under the menu item "On Qobuz".



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-04 Thread sveninndh


mherger wrote: 
> 
> Correct, I wouldn't know of any streaming service implementation which 
> would allow you to play all tracks of an artist. I don't even know of a
> 
> service API which would allow you to do this easily, without sending 
> tons of requests back and fort. Keep in mind that a music service often
> 
> has "all" albums of an artist, not what the typical user would consider
> 
> all, but really all of them. I know of artists which have _hundreds_ of
> 
> albums on Spotify. This would result in thousands of tracks. That can't
> 
> be handled easily.

I agree with you 100%.

I didn't actually mean to say that I think this feature is important or
necessary, but I just wanted to say that I don't think it should be
implemented in the client.
If it doesn't make sense to implement it in the plugin, as you said
correctly, then it shouldn't work.
But the client should not show buttons that give the user the impression
that it should work.
Now you can ask who is responsible for displaying the buttons, the
plugin developer or the client.
I think that the plugin developer should be in control.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-03 Thread sveninndh


cpd73 wrote: 
> Your surprised it works? All the change does is to do an add/play on
> each item one-by-one. This should be 100% safe, as its just mimicking
> you clicking on each one. Unfortunately it is *much* slower. Michael
> suggested an alternative API, but I can't get it to work.

This means that you now put a part of the functionality into the
client.

Let me show you the behaviour of the LMS Default Skin.

This is a small Artist-Album list in the lms music lib.

29932

Here you notice that a kind of virtual album named "Alle Titel" (All
Tracks) is displayed.
Clicking on this album will open a track list on left side, this is the
same behaviour like a real album.

29933

I suspect that the code for this is not in the client (Default Skin) but
in the LMS. 
I still think that this code is missing in the Qobuz plugin and
therefore nothing happens when you click on the play button.
But maybe I am wrong and everything works completely different.

If you click on the play button of this virtual album it does exactly
the same as pressing the play button in material skin.


Now the same in Qobuz plugin:

29934

Here now this virtual album is missing. So there must be a difference.
But material skin still shows the add/play buttons but can't show the
tracklist on the left side. 

Now you simulate the behaviour in the client and create the track list
for all albums.
But this requires that the plugin developer has inserted the track list
directly below the album level.
If this is not the case, it cannot work, I have checked it.

> Michael suggested an alternative API, but I can't get it to work.

Unfortunately we know far too little about how the API works. There
seems to be little documentation.
I think Michael still has some of the best insights.


+---+
|Filename: artist-album - Qobuz.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29934|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-03 Thread sveninndh


cpd73 wrote: 
> Are you *sure* you are using the correct branch? As Material (in that
> branch) no longer sends playall/addall. Might need to ensure you refresh
> your browser's cache when changing branches, etc.

Yes, the branch is correct, bat I forgot clearing the browser cache,
sorry.

Now it is working like expected.

I am surprised, what do you do here?

Here are the REQ/RESP messages:

29927


+---+
|Filename: material-browser.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29927|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-03 Thread sveninndh


MY MUSIC-LIB  ARTIST-ALBUM-LIST:


Code:

[11:01:21] JSON REQ: 
["aa:aa:da:35:85:6d",["albums",0,25000,"tags:jlsyEK","sort:album","artist_id:3590","role_id:ALBUMARTIST","library_id:0"]]
  utils.js?r=1.5.3:17 [11:01:21] JSON RESP: 
{"method":"slim.request","id":42,"params":["aa:aa:da:35:85:6d",["albums","0",25000,"tags:jlsyEK","sort:album","artist_id:3590","role_id:ALBUMARTIST","library_id:0"]],"result":{"albums_loop":[{"id":3068,"album":"Jagged
 Little 
Pill","year":1995,"artwork_track_id":"6929a577","textkey":"J"},{"id":3069,"album":"MTV
 
Unplugged","year":1999,"artwork_track_id":"9499abd8","textkey":"M"}],"count":2}}
  utils.js?r=1.5.3:17 [11:01:21] JSON REQ: 
["",["material-skin","actions","artist_id:3590","artist:Alanis Morissette"]]
  utils.js?r=1.5.3:17 [11:01:21] JSON RESP: 
{"method":"slim.request","id":43,"result":{"actions_loop":[{"title":"Biographie","icon":"menu_book","do":{"params":[],"command":["musicartistinfo","biography","html:1","artist_id:3590"]},"weight":0},{"title":"Fotos","icon":"insert_photo","do":{"params":[],"command":["musicartistinfo","artistphotos","artist_id:3590"]},"weight":1}]},"params":["",["material-skin","actions","artist_id:3590","artist:Alanis
 Morissette"]]}



AFTER PRESSING PLAY BUTTON:


Code:

[13:08:10] JSON REQ: 
["aa:aa:da:35:85:6d",["playlistcontrol","cmd:load","role_id:ALBUMARTIST","artist_id:3590","sort:album","library_id:0"]]
  utils.js?r=1.5.3:17 [13:08:10] JSON RESP: 
{"params":["aa:aa:da:35:85:6d",["playlistcontrol","cmd:load","role_id:ALBUMARTIST","artist_id:3590","sort:album","library_id:0"]],"result":{"count":25},"id":108,"method":"slim.request"}
  utils.js?r=1.5.3:17 [13:08:10] JSON UPDATING (aa:aa:da:35:85:6d)
  utils.js?r=1.5.3:17 [13:08:10] JSON REQ: 
["aa:aa:da:35:85:6d",["status","-",1,"tags:cdegloyrstABKNST"]]
  utils.js?r=1.5.3:17 [13:08:10] JSON PLAYER (aa:aa:da:35:85:6d): 
{"player_name":"Bad 
Exclusiv","player_connected":1,"player_ip":"192.168.123.155:37158","power":1,"signalstrength":0,"mode":"play","waitingToPlay":1,"time":0,"rate":1,"duration":285.626,"can_seek":1,"mixer
 volume":50,"playlist repeat":0,"playlist shuffle":0,"playlist 
mode":"off","seq_no":0,"playlist_cur_index":"0","playlist_timestamp":1585912091.96705,"playlist_tracks":25,"digital_volume_control":1,"playlist_loop":[{"playlist
 index":0,"coverid":"6929a577","id":39538,"title":"All I Really 
Want","artist_id":"3590","bitrate":"932kb/s 
VBR","album_id":"3068","tracknum":"1","genre":"Folk","artist_ids":"3590","type":"flc","year":"1995","artist":"Alanis
 Morissette","album":"Jagged Little 
Pill","duration":285.626,"samplerate":"44100"}]}
  utils.js?r=1.5.3:17 [13:08:10] JSON REQ: 
["aa:aa:da:35:85:6d",["status",0,500,"tags:cdegltysAKNS"]]
  utils.js?r=1.5.3:17 [13:08:10] JSON RESP: {"result":{"player_name":"Bad 
Exclusiv","player_connected":1,"player_ip":"192.168.123.155:37158","power":1,"signalstrength":0,"mode":"play","waitingToPlay":1,"time":0,"rate":1,"duration":285.626,"can_seek":1,"mixer
 volume":50,"playlist repeat":0,"playlist shuffle":0,"playlist 
mode":"off","seq_no":0,"playlist_cur_index":"0","playlist_timestamp":1585912091.96705,"playlist_tracks":25,"digital_volume_control":1,"playlist_loop":[{"tracknum":"1","album_id":"3068","playlist
 
index":0,"coverid":"6929a577","genre":"Folk","artist_ids":"3590","artist":"Alanis
 Morissette","album":"Jagged Little 
Pill","year":"1995","duration":285.626,"id":39538,"artist_id":"3590","title":"All
 I Really Want"},{"artist_id":"3590","title":"You Oughta 
Know","id":39539,"duration":249.133,"year":"1995","album":"Jagged Little 
Pill","artist":"Alanis 
Morissette","artist_ids":"3590","genre":"Folk","coverid":"6929a577","playlist 
index":1,"album_id":"3068","tracknum":"2"},{"
 genre":"Folk","artist_ids":"3590","playlist 
index":2,"coverid":"6929a577","album_id":"3068","tracknum":"3","duration":188.04,"id":39540,"title":"Perfect","artist_id":"3590","year":"1995","artist":"Alanis
 Morissette","album":"Jagged Little 
Pill"},{"duration":221.626,"id":39541,"artist_id":"3590","title":"Hand In My 
Pocket","year":"1995","artist":"Alanis Morissette","album":"Jagged Little 
Pill","genre":"Folk","artist_ids":"3590","playlist 
index":3,"coverid":"6929a577","album_id":"3068","tracknum":"4"},{"duration":175.973,"id":39542,"title":"Right
 Through You","artist_id":"3590","artist":"Alanis Morissette","album":"Jagged 
Little Pill","year":"1995","playlist 
index":4,"coverid":"6929a577","genre":"Folk","artist_ids":"3590","tracknum":"5","album_id":"3068"},{"artist":"Alanis
 Morissette","album":"Jagged Little 
Pill","year":"1995","duration":300.226,"id":39543,"title":"Forgiven","artist_id":"3590","tracknum":"6","album_id":"3068","playlist
 index":5,"coverid":"6929a577","genre":"Fo
 lk","artist_ids":"3590"},{"tracknum":"7","album_id":"3068","!
 coverid":"6929a577","playlist 
index":6,"artist_ids":"3590","genre":"Folk","album":"Jagged Little 
Pill","artist":"Alanis 

Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-03 Thread sveninndh


cpd73 wrote: 
> Can you please try the "addall_playall" branch from git?
> 

I tried it with this branch, but no change.

QOBUZ-PLUGIN  ARTIST-ALBUM-LIST:


Code:

[10:56:10] JSON REQ: 
["aa:aa:da:35:85:6d",["qobuz","items",0,25000,"menu:qobuz","item_id:2.0.19.0"]]
  utils.js?r=1.5.3:17 [10:56:10] JSON RESP: 
{"id":24,"result":{"offset":0,"title":"Alben","base":{"actions":{"play":{"cmd":["qobuz","playlist","play"],"nextWindow":"nowPlaying","itemsParams":"params","params":{"menu":"qobuz"},"player":0},"more":{"cmd":["qobuz","items"],"itemsParams":"params","window":{"isContextMenu":1},"params":{"menu":"qobuz"},"player":0},"add":{"cmd":["qobuz","playlist","add"],"params":{"menu":"qobuz"},"player":0,"itemsParams":"params"},"go":{"params":{"menu":"qobuz"},"itemsParams":"params","cmd":["qobuz","items"]},"add-hold":{"itemsParams":"params","player":0,"params":{"menu":"qobuz"},"cmd":["qobuz","playlist","insert"]},"playControl":{"window":{"isContextMenu":1},"params":{"_index":"0","_quantity":"25000","menu":"qobuz","item_id":"2.0.19.0"},"player":0,"itemsParams":"playControlParams","cmd":["qobuz","items"]}}},"item_loop":[{"type":"playlist","icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2Fab%2Fnz%2Fyksrb8oprnzab_600.jpg/image.jpg
 ","text":"Gentle Blues\nTsuyoshi Yamamoto 
Trio","params":{"item_id":"2.0.19.0.0","isContextMenu":1}},{"icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2Fdb%2F57%2Fzbdjl95wn57db_600.jpg/image.jpg","type":"playlist","params":{"item_id":"2.0.19.0.1","isContextMenu":1},"text":"Speak
 Low\nTsuyoshi Yamamoto 
Trio"}],"count":2,"window":{"windowStyle":"icon_list"}},"params":["aa:aa:da:35:85:6d",["qobuz","items","0",25000,"menu:qobuz","item_id:2.0.19.0"]],"method":"slim.request"}



AFTER PRESSING PLAY BUTTON:


Code:

[10:58:14] JSON REQ: 
["aa:aa:da:35:85:6d",["qobuz","playlist","playall","menu:qobuz","item_id:2.0.19.0","isContextMenu:1"]]
  utils.js?r=1.5.3:17 [10:58:15] JSON RESP: 
{"id":25,"params":["aa:aa:da:35:85:6d",["qobuz","playlist","playall","menu:qobuz","item_id:2.0.19.0","isContextMenu:1"]],"result":{},"method":"slim.request"}
  utils.js?r=1.5.3:17 [10:58:15] JSON UPDATING (aa:aa:da:35:85:6d)
  utils.js?r=1.5.3:17 [10:58:15] JSON REQ: 
["aa:aa:da:35:85:6d",["status","-",1,"tags:cdegloyrstABKNST"]]
  utils.js?r=1.5.3:17 [10:58:15] JSON PLAYER (aa:aa:da:35:85:6d): 
{"player_name":"Bad 
Exclusiv","player_connected":1,"player_ip":"192.168.123.155:41494","power":1,"signalstrength":0,"mode":"stop","mixer
 volume":50,"playlist repeat":0,"playlist shuffle":0,"playlist 
mode":"off","seq_no":0,"playlist_tracks":0,"digital_volume_control":1}




sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-02 Thread sveninndh


cpd73 wrote: 
> Pretty sure it is. Can you try the git version? Might have made a change
> that fixes this.

Tried the current git version, but I see no changed behaviour.

Do I have to pay attention to anything special?



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-02 Thread sveninndh


cpd73 wrote: 
> Are you saying the play/add buttons appear in the toolbar with Qobuz but
> do not work? If so, can you post the JSONRPC RESP that was used to
> create the list? Details in my sig below. I have no Qobuz account so
> cannot try myself.

Yes I say that, but I thought that this is not the fault of Material
Skin.

Here is the JSONRPC RESP

An album list of an artist with only two albums.

Code:

[19:13:31] JSON REQ: 
["2c:fd:a1:bb:03:db",["qobuz","items",0,25000,"menu:qobuz","item_id:2.0.19.0"]]
  utils.js?r=1.5.3:17 [19:13:32] JSON RESP: 
{"params":["2c:fd:a1:bb:03:db",["qobuz","items","0",25000,"menu:qobuz","item_id:2.0.19.0"]],"result":{"offset":0,"title":"Alben","base":{"actions":{"playControl":{"player":0,"cmd":["qobuz","items"],"params":{"_index":"0","_quantity":"25000","menu":"qobuz","item_id":"2.0.19.0"},"window":{"isContextMenu":1},"itemsParams":"playControlParams"},"go":{"cmd":["qobuz","items"],"params":{"menu":"qobuz"},"itemsParams":"params"},"add-hold":{"itemsParams":"params","params":{"menu":"qobuz"},"player":0,"cmd":["qobuz","playlist","insert"]},"more":{"window":{"isContextMenu":1},"itemsParams":"params","cmd":["qobuz","items"],"player":0,"params":{"menu":"qobuz"}},"add":{"itemsParams":"params","cmd":["qobuz","playlist","add"],"player":0,"params":{"menu":"qobuz"}},"play":{"nextWindow":"nowPlaying","params":{"menu":"qobuz"},"cmd":["qobuz","playlist","play"],"player":0,"itemsParams":"params"}}},"item_loop":[{"text":"Gentle
 Blues\nTsuyoshi Yamamoto Trio","
 
params":{"isContextMenu":1,"item_id":"2.0.19.0.0"},"icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2Fab%2Fnz%2Fyksrb8oprnzab_600.jpg/image.jpg","type":"playlist"},{"icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2Fdb%2F57%2Fzbdjl95wn57db_600.jpg/image.jpg","type":"playlist","params":{"item_id":"2.0.19.0.1","isContextMenu":1},"text":"Speak
 Low\nTsuyoshi Yamamoto 
Trio"}],"count":2,"window":{"windowStyle":"icon_list"}},"method":"slim.request","id":44}



Now I pressed the play button in the header.

Code:

[19:16:30] JSON REQ: 
["2c:fd:a1:bb:03:db",["qobuz","playlist","playall","menu:qobuz","isContextMenu:1","item_id:2.0.19.0"]]
  utils.js?r=1.5.3:17 [19:16:30] JSON RESP: 
{"id":45,"result":{},"method":"slim.request","params":["2c:fd:a1:bb:03:db",["qobuz","playlist","playall","menu:qobuz","isContextMenu:1","item_id:2.0.19.0"]]}
  utils.js?r=1.5.3:17 [19:16:30] JSON UPDATING (2c:fd:a1:bb:03:db)
  utils.js?r=1.5.3:17 [19:16:30] JSON REQ: 
["2c:fd:a1:bb:03:db",["status","-",1,"tags:cdegloyrstABKNST"]]
  utils.js?r=1.5.3:17 [19:16:30] JSON PLAYER (2c:fd:a1:bb:03:db): 
{"player_name":"Buero 
Player","player_connected":1,"player_ip":"192.168.123.135:58120","power":1,"signalstrength":0,"mode":"stop","mixer
 volume":63,"playlist repeat":0,"playlist shuffle":0,"playlist 
mode":"off","seq_no":0,"playlist_tracks":0,"digital_volume_control":1}



Nothing happend. Actually he should have transferred all tracks of both
albums into the playlist.
In my personal Qobuz plugin version I supress the both buttons with
*type => 'list'*.

What happens, if the play button is pressed?
Which command is called?
Or is it a hidden virtual album including all tracks of all albums?
I don't know.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-02 Thread sveninndh


slartibartfast wrote: 
> It seems to me that the add and play buttons are always present in My
> Music when viewing an Artist's album list. Maybe I am missing
> something.
> 
> Sent from my Pixel 3a using Tapatalk

No, you're right.
But unlike the Qobutz plugin, the buttons there have a function and are
not useless.

Maybe I see it too much from the perspective of the plugins, so I didn't
notice your example. 
You could also ask why the Qobuz plugin does not support the buttons at
this point.

But would it have any disadvantages to distinguish these two cases in
the grid status?
I don't think so, but maybe I am missing something.

If it should not have any disadvantages, it would only depend on the
effort.
If it is easy to implement (few lines of code), why not?
Otherwise I would not do it.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-01 Thread sveninndh


cpd73 wrote: 
> No, I don't. The add/play buttons could be there for a list of albums.

Only, if the plugin developer assigns the wrong type to the album/play
list.
This is the case in the Qobuz plugin, for example.
I would then see to it that this is changed. It's not nice anyway if the
add/play buttons are displayed but have no function.

But regardless of this, one could distinguish the two cases and store a
separate grid state for lists with add/play buttons.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-04-01 Thread sveninndh


cpd73 wrote: 
> Yeah, I'm not sure *how* to determine what an apps list of items is. If
> I could, then I would disable grid for a list of tracks.

I think that only two cases would help a lot.

1.) All playlists or track lists. You already recognize this mode,
because in this case you display the symbols for "Add" and "Play" in the
header.

2.) All other lists where you can toggle the view.

If you save the last set value for each of these two cases separately,
this would be completely sufficient.

Currently you save the value (grid or list) as well, but only for one
case.

A plugin developer can control this cases with the item value *type =>
'link'* or *type => 'playlist'*.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-31 Thread sveninndh


slartibartfast wrote: 
> On mine the track list is list view and there is no choice to toggle the
> view.
> 
> Sent from my Pixel 3a using Tapatalk

You are right.

I forgot to say, this is the case for track-lists and play-lists in
Qobuz plugin,
because every track item begins with the album picture.
In Material Skin you can "Toggle view" in this lists.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-31 Thread sveninndh


@cpd73

Is it possible to store the "View type" depending to the kind of view? 

For example, I want to see the album list with icon view, but the
track-list with list-view.

Currently a "Toggle View" command changes the view type for the current
list and all new loaded lists.

Just an idea, perhaps it's easy to implement.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-03-22 Thread sveninndh


mherger wrote: 
> Well, I could do another API call to get the artwork information. But 
> TBH I wanted to save the hassle...

I already tried that and I was surprised that it did not change at all.
I think your decision was right not to try this path.

> As I said: some calls do return the information, some don't. In this 
> case we have the artwork.

Not all kinds of artwork, the problem occurs only with artist images.
For album artworks this behaviour I didn't found anywhere.

> Yep. One would return artwork info, the other not. The problem is I 
> can't easily say "check cache or look online", because the latter would
> 
> trigger an async call.

I think "async call" is the key. 
It looks like the loading of artist pictures is implemented
asynchronously.

> But I can certainly double-check. When I find time.

That would be great.
I haven't been able to find out where in LMS the menu arrays are
interpreted and executed that the Qobuz plugin sends back to LMS.
I think that without this knowledge it is difficult to impossible to
explain the behaviour. 

> It's incredible how little spare time there is when you have to spend
> all your time at home...

Ohhh yes, I know what you mean.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-03-22 Thread sveninndh


mherger wrote: 
> > It is probably related to the image cache. Whenever the artist is not
> > yet in the cache, it will not be displayed at this point.
> 
> There indeed are requests which would return information about the 
> artist, but not the artist picture. In this case you'd see the generic 
> icon until more data of the artist has been loaded using some other API
> 
> calls.

The question is can we change that?

When surfing through the music catalog in Qobuz, it's practically the
norm to encounter new artists that are not yet in the cache and
therefore not displayed.

Of course, this is not the end of the world, but maybe we can simply
improve it at this point.

Please make the following attempt:

1.) Select "Qobuz - My Favorites - Artists"
2.) Select one of your favorite artists.
3.) Now you see the artist menu
4.) Select "Similar Artists"

Watch what happens and wait 1 minute and then scroll down the list.

The list of "Similar Artists" is displayed.
Hopefully it is more than one page.
Every artist picture is displayed except Qobuz itself has no picture of
this artist.
Even if the artist was not yet in the cache.
You can recognize the first loading of a new artist image by the slight
delay in the display of the images.
If you call up the same list a second time, the already loaded images
are displayed immediately, as they are already in the cache.

If you turn a page down you can clearly see which images are loaded into
the cache.

Obviously there must be a difference between "Album Tracklist" and the
list "Similar Artists".
But in both cases the same sub "_artistItem" with the identical
parameters is called.
In the list "Similar Artists" the display becomes refreshed until the
last image is displayed.

Why does this not happen in the "Album Tracklist"?

Here the code inside "Album Tracklist" beginning with line 851:

Code:

if (my $artistItem = _artistItem($client, $album->{artist}, 1)) 
{
$artistItem->{label} = 'ARTIST';
push @$items, $artistItem;
}



Here the code inside "Similar Artists" list beginning with line 405:

Code:

for my $artist ( 
@{$searchResult->{artists}->{items}} ) {
push @$items, 
_artistItem($client, $artist, 1);
}



The code is from v1.600

Who might be able to find out and who might have the necessary
informations and contacts?

The only one I can think of is you. :-)

I've tried to no avail. Not a chance.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2020-03-21 Thread sveninndh


@Michael,

I have a strange behaviour of the artist image that is displayed after
the last song of the tracklist of an album.

It can be reproduced as follows:
1.) Select an album in Qubuz that you surely don't know and have never
heard before.
2.) Now you see the track list on the left. 
3.) Behind the last track you will see the artist name and in front of
the name the default icon for artists.
4.) Now go back one menu level and select the same album again.
5.) Now you don't see the default icon anymore but a picture of the
artist. 
6.) This picture will now remain on all future calls of this album.

It is probably related to the image cache. Whenever the artist is not
yet in the cache, it will not be displayed at this point.
But it works with artist lists, all artist images are displayed and if
they are unknown you can watch how the images are displayed one by one.

Only in this album tracklist this does not work.
Although always the same sub "_artistItem" is called.

Why does this work in the artist lists but not in the album tracklist?

This behaviour is not new, but still present in the current version of
the Qobuz plugin.

29819

29818


+---+
|Filename: Artist Picture 1.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29819|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread sveninndh

dolodobendan wrote: 
> Das Vermeiden von 'Nazi-Begriffen'
> (https://www.duden.de/suchen/dudenonline/Endl%C3%B6sung) hat nichts mit
> PC zu tun.

Mit was denn dann?

Es kommt ja nun auf den Kontext an. Wenn der keine Rolle spielt müsste
man gleich die ganze deutsche Sprache vermeiden.

Aber bitte, was hat das jetzt hier in diesem Forum zu suchen?

Wozu diese Angriffe?



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread sveninndh

dolodobendan wrote: 
> Solange "Endlösung" nicht drin vorkommt...

Wer auf PC steht für den mag das wichtig sein, allen Anderen dürfte sich
der tatsächlich hier gemeinte Sinn erschließen.

> Lass uns alles bzgl. einer Übersetzung im 'Deutschen Forum'
> (https://forums.slimdevices.com/showthread.php?111765-Deutsche-%DCbersetzung)
> fortsetzen.

Gute Idee, danke das hatte ich noch gar nicht gesehen.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread sveninndh

dolodobendan wrote: 
> "LMS neu starten".
> "Größere Schriftarten etc. benutzen."
> 
> Ich übersetze das nachher alles.
> 
> 

Das "neu starten" ist klar besser, "Schriftgrößen" war mir leider nicht
aufgefallen.

Hier meine aktuelle Version ohne Anspruch die perfekte Endlösung sein zu
wollen.

29806

Vielleicht sind ja ein paar Anregungen dabei, die gar nicht so verkehrt
sind.


+---+
|Filename: de.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29806|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread sveninndh


mherger wrote: 
> > All the functions that appear when you tap on MOR(...) seem not to
> work.
> 
> Are you sure they don't work? Eg. would that track be added to the 
> playlist or not?
> 
> -- 
> 
> Michael

I think the following effect is not the same but similar.

If you choose an album in Qobuz plugin you see on the left side the
tracks.
Every track has a context menu where the last point is "(...) More".
But if you click on "(...) More" you will see only a blank page after a
small while.

Which funktion in Qobuz plugin is triggerd through "(...) More"?

Is it a problem of Qobuz plugin or of Material Skin?



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-19 Thread sveninndh

dolodobendan wrote: 
> "Neustart Logitech Media Server"? Sorry, but that's just ghastly (and
> pseudo-German).
> 
> ""Verwenden Sie größere Schriftgrößen und größere Symbole." Ähm?

Feel free to make better suggestions.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-19 Thread sveninndh


Hello Craig,

here are the currently missing german translations.

29800

Where is the place to translate "YES" and "NO"?

29801


+---+
|Filename: Confirm_YES_NO.JPG   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29801|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-18 Thread sveninndh

cpd73 wrote: 
> IMHO, this adds visual noise. 99.9% of items are clickable, those that
> aren't have thinner text.

Craig (sorry:o), you are right, thinner text is the same function,
perhaps not so obvious, it's more a matter of taste.
An option in settings? (Thinner text or a symbol as a hint to clickable
lines)
But of course it is not very important.

> I'd need to see the JSONRPC RESP message that created this to know.
> Where did this listing come from? I'm assuming its from "More" ? If so,
> I don't think I've ever seen a image there. But if there is an indent,
> but no image, this is probably because Material thinks there should be
> an image. But, as stated, I'd need to see the actual message to know.


Code:

[16:49:46] JSON REQ: 
["aa:aa:1e:1b:da:db",["qobuz","items",0,25000,"item_id:1.1.1","menu:qobuz"]]
  utils.js?r=1.5.0:17 [16:49:47] JSON RESP: {"id":24,"result":{"title":"Charles 
Lloyd - 8: Kindred Spirits - Live From The Lobero 
(Hi-Res)","window":{"windowStyle":"icon_list"},"base":{"actions":{"playControl":{"window":{"isContextMenu":1},"cmd":["qobuz","items"],"params":{"item_id":"1.1.1","menu":"qobuz","_index":"0","_quantity":"25000"},"itemsParams":"playControlParams","player":0},"go":{"params":{"menu":"qobuz"},"cmd":["qobuz","items"],"itemsParams":"params"},"more":{"itemsParams":"params","player":0,"cmd":["qobuz","items"],"params":{"menu":"qobuz"},"window":{"isContextMenu":1}},"play":{"player":0,"itemsParams":"params","nextWindow":"nowPlaying","cmd":["qobuz","playlist","play"],"params":{"menu":"qobuz"}},"add":{"player":0,"itemsParams":"params","params":{"menu":"qobuz"},"cmd":["qobuz","playlist","add"]},"add-hold":{"params":{"menu":"qobuz"},"cmd":["qobuz","playlist","insert"],"player":0,"itemsParams":"params"}}},"offset":0,"item_loop":[{"text":"Veröffentlicht:
 28.02.2020"
 
,"style":"itemNoAction","type":"text","action":"none"},{"type":"playlist","params":{"item_id":"1.1.1.1","isContextMenu":1},"text":"8:
 Kindred Spirits - Live From The Lobero\n4 Titel . 59:47 . (24-Bit / 
96kHz)","icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2Fta%2Ftq%2Fcm1x660mbtqta_600.jpg/image.jpg"},{"style":"itemNoAction","text":"Stilrichtung:
 
Jazz","action":"none","type":"text"},{"style":"itemNoAction","text":"Musiklabel:
 Blue Note Records","type":"text","action":"none"},{"text":"Interpret: Charles 
Lloyd","icon":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fartists%2Fcovers%2Flarge%2Fdd0ceb79f12ba818a9be9f3d5e9faea3.jpg/image.jpg","addAction":"go","actions":{"go":{"params":{"menu":"qobuz","item_id":"1.1.1.4"},"cmd":["qobuz","items"]}}},{"text":"Beschreibung","addAction":"go","actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"1.1.1.5","menu":"qobuz",{"text":"Titeldetails","addAction":"go","actions":{"go":{"cmd":["qobuz","items
 "],"params":{"item_id":"1.1.1.6","menu":"qobuz",{"addAct!
 
ion":"go","actions":{"go":{"params":{"menu":"qobuz","item_id":"1.1.1.7"},"cmd":["qobuz","items"]}},"text":"Copyright"},{"actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"1.1.1.8","menu":"qobuz"}}},"addAction":"go","text":"Album-Information"},{"text":"Auf
 
Qobuz","actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"1.1.1.9","menu":"qobuz"}}},"addAction":"go"}],"count":10},"params":["aa:aa:1e:1b:da:db",["qobuz","items","0",25000,"item_id:1.1.1","menu:qobuz"]],"method":"slim.request"}



This are the messages from the following page:

29784


+---+
|Filename: Material Skin - 1.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29784|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-18 Thread sveninndh


Hello Greg,

it is easy to mark a menu item that has only one function somehow, so
that you can distinguish it from an information line at first sight?
In the old Squeezecommander this was the case.

Here an example:

1.) The current view

29779

2.) The same view with SqueezeCommander

29780

3.) The possible new look

29778


Furthermore I noticed that this kind of lines are displayed indented,
although no image is assigned. Why is this the case?
I assumed that it should be like in the following picture:

29777

Or is it intended?

For example the code for line Copyright is:


Code:

push @$items, {
name  => 'Copyright',
items => [{
name => $album->{copyright},
type => 'textarea',
}],
  }



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


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-17 Thread sveninndh


mherger wrote: 
> > This works great for me (of course only for Qobuz).
> 
> FWIW: In the current dev version of the plugin I've already replaced the
> 
> icon with this version.
> 
> https://github.com/pierrepoulpe/SqueezeboxQobuz/blob/library-integration/HTML/EN/plugins/Qobuz/html/images/icon.png
> 
> I'll soon merge those versions.
> 
> -- 
> 
> Michael

Great, thanks.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-17 Thread sveninndh


cpd73 wrote: 
> Material does not re-map any of the application icons. I have considered
> this, but there are quite a few.

understandable

I have created my own Qobuz logo and saved it in

/SlimServer/Cache/InstalledPlugins/Plugins/Qobuz/HTML/EN/plugins/Qobuz/html/images/qobuz.png

This works great for me (of course only for Qobuz).

29765


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


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-16 Thread sveninndh


cpd73 wrote: 
> Fixed now for 1.5.1 - stupid typo. I had -"icon:":"..."- where it should
> have been -"icon":"..."-

Great, thanks, it works.

Only the Qobuz icon isn't mapped.

/plugins/Qobuz/html/images/qobuz_100x100_o.png

This icon is stored in 
/SlimServer/Cache/InstalledPlugins/Plugins/Qobuz/HTML/EN/plugins/Qobuz/html/images/qobuz.png

It is an application icon like Deezer, TuneIn ...
You can put it into the home menu.


Code:

GET http://ibe-nas:9001/material/customcss/mobile net::ERR_ABORTED 404 (Not 
Found)
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["serverstatus",0,0,"prefs:useUnifiedArtistsList,noGenreFilter,noRoleFilter,browseagelimit,useLocalImageproxy"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["pref","plugin.musicartistinfo:browseArtistPictures","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["can","musicartistinfo","biography","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["pref","plugin.state:DontStopTheMusic","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["material-skin","pass-check","pass:-"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["pref","plugin.material-skin:defaults","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["can","trackstat","getrating","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: ["",["pref","language","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["pref","plugin.material-skin:composergenres","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["pref","plugin.material-skin:conductorgenres","?"]]
  DevTools failed to parse SourceMap: 
http://ibe-nas:9001/material/html/lib/axios.min.map
  DevTools failed to parse SourceMap: 
http://ibe-nas:9001/material/html/lib/vuetify-confirm.min.js.map
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["can","selectRemoteLibrary","items","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: ["",["can","cdplayer","items","?"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: 
["",["browseonlineartist","services"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: ["",["libraries",0,25000]]
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: ["",["material-skin","favorites"]]
  utils.js?r=1.5.0:17 [19:13:34] JSON COMPOSER_GENRES: 
["Classical","Avant-Garde","Baroque","Chamber 
Music","Chant","Choral","Classical Crossover","Early Music","High 
Classical","Impressionist","Jazz","Medieval","Minimalism","Modern 
Composition","Opera","Orchestral","Renaissance","Romantic","Symphony","Wedding 
Music"]
  utils.js?r=1.5.0:17 [19:13:34] JSON CONDUCTOR_GENRES: 
["Classical","Avant-Garde","Baroque","Chamber 
Music","Chant","Choral","Classical Crossover","Early Music","High 
Classical","Impressionist","Medieval","Minimalism","Modern 
Composition","Opera","Orchestral","Renaissance","Romantic","Symphony","Wedding 
Music"]
  utils.js?r=1.5.0:17 [19:13:34] JSON RESP: 
{"result":{"_can":0},"params":["",["can","selectRemoteLibrary","items","?"]],"id":11,"method":"slim.request"}
  utils.js?r=1.5.0:17 [19:13:34] JSON RESP: 
{"method":"slim.request","id":12,"result":{"_can":0},"params":["",["can","cdplayer","items","?"]]}
  utils.js?r=1.5.0:17 [19:13:34] JSON RESP: 
{"method":"slim.request","params":["",["material-skin","favorites"]],"result":{"favs_loop":[{"url":"qobuz://53641148.flac"},{"url":"qobuz://64405605.flac"},{"url":"qobuz://64405602.flac"},{"url":"qobuz://65897607.flac"}]},"id":15}
  utils.js?r=1.5.0:17 [19:13:34] JSON REQ: ["",["serverstatus",0,100]]
  axios.min.js?r=0.19.2:1 POST http://ibe-nas:9001/jsonrpc.js?id=13 
net::ERR_EMPTY_RESPONSE
  (anonymous) @ axios.min.js?r=0.19.2:1
  e.exports @ axios.min.js?r=0.19.2:1
  e.exports @ axios.min.js?r=0.19.2:1
  Promise.then (async)
  r.request @ axios.min.js?r=0.19.2:1
  r. @ axios.min.js?r=0.19.2:1
  (anonymous) @ axios.min.js?r=0.19.2:1
  lmsCommand @ server.js?r=1.5.0:97
  mounted @ browse-page.js?r=1.5.0:2653
  He @ vue.min.js?r=2.6.11:6
  Yt @ vue.min.js?r=2.6.11:6
  insert @ vue.min.js?r=2.6.11:6
  k @ vue.min.js?r=2.6.11:6
  (anonymous) @ vue.min.js?r=2.6.11:6
  e._update @ vue.min.js?r=2.6.11:6
  r @ vue.min.js?r=2.6.11:6
  fn.get @ vue.min.js?r=2.6.11:6
  fn @ vue.min.js?r=2.6.11:6
  (anonymous) @ vue.min.js?r=2.6.11:6
  wn.$mount @ vue.min.js?r=2.6.11:6
  wn.$mount @ vue.min.js?r=2.6.11:6
  t._init @ vue.min.js?r=2.6.11:6
  wn @ vue.min.js?r=2.6.11:6
  (anonymous) @ main.js?r=1.5.0:11
  axios.min.js?r=0.19.2:1 Uncaught (in promise) Error: Network Error
  at e.exports (axios.min.js?r=0.19.2:1)
  at XMLHttpRequest.l.onerror (axios.min.js?r=0.19.2:1)
  e.exports @ axios.min.js?r=0.19.2:1
  l.onerror @ axios.min.js?r=0.19.2:1
  Promise.then (async)
  mounted @ browse-page.js?r=1.5.0:2653
  He @ vue.min.js?r=2.6.11:6
  Yt @ vue.min.js?r=2.6.11:6
  insert @ vue.min.js?r=2.6.11:6
  k @ vue.min.js?r=2.6.11:6
  (anonymous) @ vue.min.js?r=2.6.11:6
  e._update @ vue.min.js?r=2.6.11:6
  r @ vue.min.js?r=2.6.11:6
  fn.get @ vue.min.js?r=2.6.11:6
  fn @ vue.min.js?r=2.6.11:6
  (anonymous) @ vue.min.js?r=2.6.11:6
  wn.$mount @ vue.min.js?r=2.6.11:6

Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-16 Thread sveninndh

cpd73 wrote: 
> Can you run Material in a desktop browser with its JSON debugging
> enabled - see my signature for details. Please add the RESP that is
> logged for the Qobuz listing here. This should list the icons, etc, that
> material needs to map.


Code:

[16:49:34] JSON REQ: 
["aa:aa:da:35:85:6d",["qobuz","items",0,25000,"menu:qobuz"]]
  material.min.js?r=1.5.0:84 [16:49:34] JSON RESP: 
{"id":21,"method":"slim.request","params":["aa:aa:da:35:85:6d",["qobuz","items","0",25000,"menu:qobuz"]],"result":{"offset":0,"base":{"actions":{"add-hold":{"player":0,"cmd":["qobuz","playlist","insert"],"params":{"menu":"qobuz"},"itemsParams":"params"},"play":{"itemsParams":"params","nextWindow":"nowPlaying","cmd":["qobuz","playlist","play"],"player":0,"params":{"menu":"qobuz"}},"playControl":{"player":0,"cmd":["qobuz","items"],"params":{"_index":"0","_quantity":"25000","menu":"qobuz"},"window":{"isContextMenu":1},"itemsParams":"playControlParams"},"go":{"cmd":["qobuz","items"],"params":{"menu":"qobuz"},"itemsParams":"params"},"more":{"params":{"menu":"qobuz"},"cmd":["qobuz","items"],"player":0,"itemsParams":"params","window":{"isContextMenu":1}},"add":{"cmd":["qobuz","playlist","add"],"player":0,"params":{"menu":"qobuz"},"itemsParams":"params"}}},"item_loop":[{"actions":{"go":{"params":{"cachesearch":1,"menu":"qobuz","searc
 
h":"__TAGGEDINPUT__","item_id":"0"},"cmd":["qobuz","items"]}},"icon":"html/images/search.png","input":{"processingPopup":{"text":"Suchvorgang
 läuft ..."},"help":{"text":"Wählen Sie den gewünschten Buchstaben mit dem Rad 
und drücken Sie zum Bestätigen die mittlere Taste. Drücken Sie zum Starten der 
Suche die mittlere Taste 
erneut."},"softbutton2":"Löschen","softbutton1":"Einfügen","len":1,"title":"Suchen"},"type":"search","text":"Suchen"},{"actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"1","menu":"qobuz"}}},"addAction":"go","icon":"html/images/favorites.png","text":"Meine
 
Favoriten"},{"actions":{"go":{"cmd":["qobuz","items"],"params":{"item_id":"2","menu":"qobuz"}}},"addAction":"go","icon":"html/images/genres.png","text":"Stilrichtungen"},{"text":"Album
 
Auswahl","addAction":"go","actions":{"go":{"params":{"item_id":"3","menu":"qobuz"},"cmd":["qobuz","items"]}},"icon":"html/images/albums.png"},{"icon":"html/images/playlists.png","actions":{"go":{"params":{"menu":
 "qobuz","item_id":"4"},"cmd":["qobuz","items"]}},"addAction"!
 :"go","text":"Qobuz Playlisten"},{"text":"Benutzer 
Playlisten","icon":"html/images/playlists.png","addAction":"go","actions":{"go":{"cmd":["qobuz","items"],"params":{"menu":"qobuz","item_id":"5",{"text":"Meine
 
Playlisten","actions":{"go":{"params":{"item_id":"6","menu":"qobuz"},"cmd":["qobuz","items"]}},"addAction":"go","icon":"html/images/playlists.png"}],"count":7,"window":{"windowStyle":"home_menu"}}}
  ?debug=json:1 Autofocus processing was blocked because a document already has 
a focused element.
  



Hope I done it right.

Windows 10 with Chrome



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-16 Thread sveninndh


> 14. Map more LMS icons to material icons.

Which LMS icons have been mapped?

I can say it only for Qobuz plugin, perhaps it works for other parts.
In my configuration Material Skin don't map any images (albums, genre,
favorites, playlists ...) of Qobuz plugin excepts the artist image.

I tested it with a PC and with Android with Chrome and Firefox
respectively, always after a cleaned browser cache.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2020-03-15 Thread sveninndh


Does UPnPBridge work with LMS 8.0?

Currently it doesn't work for me.
Or is it a problem of last update, I tested it with my Bose Soundtouch.
I am sure it worked a month before.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-14 Thread sveninndh


slartibartfast wrote: 
> Didn't realise that had been added. Works for me but you have to long
> press server settings from the "Information" page.[image:
> https://uploads.tapatalk-cdn.com/20200314/0577889bf8c062ea958ef0c145a8b299.jpg][image:
> https://uploads.tapatalk-cdn.com/20200314/5490f3911248f9edab70675578571b38.jpg]
> 
> Sent from my Pixel 3a using Tapatalk

I can confirm that this is how it works.
It is of course very unpleasant that it only works by this detour.
Which user would come up with that idea?
IMHO this is a workaround and not a solution. 

After entrance in the server settings with Ctrl-E or with the menu point
"server settings" the drop down element "Interface" is gone.

But maybe it's technically unavoidable.
Thanks to @kidstypike I now know where I can read.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-14 Thread sveninndh


kidstypike wrote: 
> But Craig said he was adding it in v1.3.0, doesn't work for me, has it
> changed?
> 
> https://forums.slimdevices.com/showthread.php?109624-Announce-Material-Skin=960749=1#post960749

Thank you very much for your answer. This was the first usable
information. Thank you.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-14 Thread sveninndh


cpd73 wrote: 
> I am *not* going to answer this again - see previous posts.

Are you sure you heard me right?

If so, I'm too stupid to find the relevant post.

In the drop down list of server settings the point "Interface" is
missing.

Is there anyone who can confirm that? (see post #3494)

Maybe the effect only occurs in my environment.

Material Skin Version 1.45 or 1.5
LMS Version: 8.0.0 - 1582906375
QNAP NAS 251A

The client browser or OS doesn't matter, over all the same.

@cpd73: Many thanks for the new restart button in version 1.5.
>From time to time I add enhancements to the Qobuz plugin, it is really a
great help for developing and testing plugins.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-13 Thread sveninndh


> I am not going to answer this again - see previous posts.

I'm sorry, I didn't want to do any unnecessary work.
Nevertheless, a link or an approximate date would be very friendly.
My first attempts to find the post were not very successful.

> Guessing because these are not mapped. Please right-click on these
> images (in Material or Default UI) and post the last part of the URL
> here (e.g.  "/albums.png")

At first the adress of the automatically mapped image:

/material/svg/artist?c=444=1.4.5

And now the other oldschool images:

/html/images/albums_300x300_f.png
/html/images/playlists_300x300_f.png
/html/images/favorites_300x300_f.png
/html/images/genres_300x300_f.png



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-13 Thread sveninndh


Hello,

today I have played with Material Skin Server Setting.

I AM MISSING THE POINT \"INTERFACE\" IN THE LIST:

29715

BUT DIRECTLY AFTER A SKIN CHANGE FROM \"DEFAULT\" TO \"MATERIAL\" IT IS
THERE. UNFORTUNATELY ONLY AT THIS TIME.


29714

Another point is the interaction with the Qobuz plugin. Material Skin
shows nice flat symbols while in the Qobuz plugin all symbols from the
default skin are still displayed.
Funnily enough, there is an exception, the symbol for artists. Here
Material Skin automatically replaces the symbol with its own. Why not
the other symbols?

In the next picture you can verify this effect, you see the Qobuz
favorites menu:

29716

I tried to change this for myself, but with no success.

Any ideas?


+---+
|Filename: Material-Qobuz-Favorites.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29716|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-05-12 Thread sveninndh


philippe_44 wrote: 
> Well, it's probably one of these insanities from Bose where the do not
> report time correctly after a play/pause. I would still be interested by
> a log of that anyway

Here is the log from the first three Tracks of "Pink Floyd - Dark Side
of the Moon" from "My Music" library of LMS.

I hope you see my user actions in the log.

27324

I tried it with version 1.18.2 and it is the same like 1.16.1.

> After restart of upnp-bridge I start playing the song from my music
> library (NAS).
> After some seconds of playing I press pause, then the music stops
> finally and all seems ok.
> Now I press pause again and the music is playing further, but after
> approximately 10 seconds the music is gone but in the UI the playing bar
> goes further.

At the end of the third track I tried also the stop command a lot of
times until music stops finally.

I used the Squeezelight-X with Material Skin.

HTH


+---+
|Filename: upnpbridge_mymusic2.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27324|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-05-04 Thread sveninndh


philippe_44 wrote: 
> Try the dev 1.16.2 for the second case, it might solve the issue
> although I'll have to be careful of side effect with other players. For
> the first case, it's beyond my understanding at this point

I tried 1.16.2, but it's not really better, it's different. Now after
pressing play after pause, the music plays without interruption, but the
time display of UI seems totally confused and wrong.
And after the fourth repeat the music is gone again.

Again the log for the first case 27299 now with 1.16.2
and without so many "gain_and_fade" messages.
Perhaps it's less confusing now.


+---+
|Filename: upnpbridge.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27299|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-05-03 Thread sveninndh


philippe_44 wrote: 
> I'm very surprised by that. The only change in 1.16.0 is the parsing of
> the  and  options in  sections.
> 

I do not know what went wrong. Today I did nothing else and updated
1.16.1 and it works again.

>  > > > Maybe, but some DLNA controllers pause handling is a little bit better.
> > Therefore, there may still be room for optimisations.> > 
> Send me a log 

I found out that there are two cases to distinguish. First, streaming
music from Qobuz plugin and second, playing music from 'My Music'
library.

Log 27295 is for the first case.
After restart of upnp-bridge I start playing the song from qobuz.
After some seconds of playing I press pause, then the music stops, but
after a few seconds the music plays further automatically, then I repeat
this some time until music stops playing finally.

Log 27294 is for the second case.
After restart of upnp-bridge I start playing the song from my music
library (NAS).
After some seconds of playing I press pause, then the music stops
finally and all seems ok.
Now I press pause again and the music is playing further, but after
approximately 10 seconds the music is gone but in the UI the playing bar
goes further.

Like I wrote before, this is only anoying, but not verty important
because playing of an album or playlist works from start to end, so long
I don't use pause.


+---+
|Filename: upnpbridge_qobuz.log.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27295|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-29 Thread sveninndh


MyNaim wrote: 
> Hi All, 
> 
> FYI plugin ver.1.16 does not work anymore in LMS where 1.15 was ok, at
> least for me.
> 
> Cheers

I can confirm that something must be broken.

I am back to 1.15.1 because 'force' seems not work any longer, so the
problem with Bose Soundtouch is back.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-29 Thread sveninndh


Raymond Woodward wrote: 
> I suspect is more a Bose 'funny' than anything else ...

Maybe, but some DLNA controllers pause handling is a little bit better.

Therefore, there may still be room for optimisations.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-26 Thread sveninndh


1.14.1 works fine with Gapless = force and the Bose Soundtouch.

The only thing that still bothers me is the strange behavior of Pause
and Stop.
But that is whining at a high level because it is not needed so often in
practice.
The only time it really gets annoying is when the phone rings, because
then, of course:mad:,
Pause or Stop does not work properly and the music in progress does not
stop. 
It also depends partly on the song. Sometimes Pause works immediately
and sometimes not at all. 
If Pause does not work, the music stops for a moment and then continues
to play by itself.
Stop always works to stop the song in progress, but then it does not
stop playing, but jumps to the beginning of the song and plays the song
again.
If pause works and the music stops, it continues to behave strangely in
the sequence then if you press Play again, the music will continue to
play, then mute after about 10 to 15 seconds, while the time display on
the Controler continues to run, crazy.

Any ideas, is there something I can do or do I have to live with?

UI = Squeezelite-X with Material-Skin



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-24 Thread sveninndh


philippe_44 wrote: 
> Does it happen randomly or at the end of a playlist or at the end of a
> track? With any file format?

Randomly and I tested only with flac transcoding.

But I think I can give the all-clear.
I think the cause of the sporadic restarts were problems with the Wi-Fi
connection.
Today I noticed that in my office where I positioned the BOSE Soundtouch
for testing.
After turning and repositioning the signal strength was good and not bad
like before.
Than I have played a Qobuz Playlist with 50 tracks with a duration of
3:09:21. No Problems, no interruption, no restart.

Than I saw your new update and installed it.
Also with this update 1.14.1 I could play my test album "Pink Floyd"
completly without any problems - except for the unavoidable short gap at
the end of each track, which you can only perceive at such albums.

One Question to the gaps, it's clear that they are unavoidable, but is
it possible to move them more in direction to the end of the track?
Perhaps configurable?
Currently, the gap is always about 2 seconds before the end of each
track. Of course, that must not extend the duration of the gap itself. 


> This one might just be solved by disabling volume feedback or using
> "transparent feedback" for volume management.

Yes, that's it, thanks.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-23 Thread sveninndh


philippe_44 wrote: 
> You can try 1.13.1

I tried it. You are really very persistent. :D

So it works much better, but not yet reliable.

So basically it seems to work and all the songs of an album or a
playlist are played completely.

But sometimes the music stops anyway. At first I thought it was the
bridge, but it may be the trigger, the music stops because the Bose
Soundtouch 20 suddenly hangs and then restarts. Meanwhile, the Bose
disappeared in the bridge. After the reboot is finished, the music
starts to play again.
Therefore, you have about one minute break. All this happens without any
user intervention.

It seems that at some point the commands from the Bridge mess up the
Bose.

No idea what I can do now.

What I also noticed is, that the volume after selecting the first song
or after a restart after a stop is always 0.
But perhaps I need ohter setting to avoid this.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-21 Thread sveninndh


philippe_44 wrote: 
> I guess we'll have to leave it there

Yes, please.

Today I tested 1.13.06.
It just does not work reliably.
Every Qobuz playlist stops sooner or later and the same happens for some
albums.
That's just not fun. And constant testing just costs too much time
without ever working properly.

Thank you for your effort.

I'm using Bluetooth now, of course, the operation and sound quality is
worse than with UPNPBridge, but under the shower that's not that
important.
For this the music plays from the beginning to the end whether album or
playlist.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-21 Thread sveninndh


philippe_44 wrote: 
> I don't know what happens in that log. Per my earlier comment, I'm not
> sure what  you are using to control LMS, but if pausing is what you
> want, this "control" application does not send a "pause" request but a
> "stop". And because Bose are so broken, they respond to "stop" by
> pausing. There is not much I can do for that. I will revert to 1.13.0.4
> and I guess we'll have to leave it there

I'm unsure if you understood me correctly.
My intention was not to show that sometime pause or stop command don't
works as expected.

The log shows the playing of an album, which stops after the fourth song
without any user action.

And I observe the same effect on Qobuz playlists that they are ended
prematurely.
Only this can be reproduced worse with playlists, so I have searched for
an album with which I can reproduce it.

> Per my earlier comment, I'm not sure what  you are using to control LMS

I use SqueezePlay and Squeezelite-X on Windows, Squeezecommander and
Orangesqueeze and Chrome with Material Skin on Android.
Also for test purposes I try iPend on an old iPad one.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-18 Thread sveninndh


philippe_44 wrote: 
> Can you clean the log , play a a track and then press pause and capture
> the log if it does not pause. Do not try to press pause many times

At first I send you the following log:

If playing the following Album:

https://open.qobuz.com/album/5099902984056

27213
27214

after the fourth song the playing stops and don't go further.
Ironically the song is named 'Time' :D:D:D

The same happens sometimes with Qobuz playlists, perhaps generally with
playlists.

Sven


+---+
|Filename: upnpbridge.xml.txt   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27214|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-18 Thread sveninndh


philippe_44 wrote: 
> I've done yet another version (1.13.0.5) that delays the track change by
> 2 sec once the time reported by the player has reached the track's
> duration

This changes not the beginning of the interruption, but the duration of
the audible interruption is 2 seconds long now. 
So I think 1.13.04 is better, here the interruption is very short and it
is not a great problem when after the interruption is comming the song
plays 2 more seconds before it skips interruptless to the next song.
It's only a bit strange for those who are looking on the display.

You say that avoiding interruption is impossible, then the shortest
possible audible interruption is preferred.

Sometimes I still have a problem with Qobuz playlists.
1.13.04 works, but sometimes it still stops and until now I see no
dependencies.
I need more investigation into this problem.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-17 Thread sveninndh


philippe_44 wrote: 
> When you say "exception" I assume it means that there is a gap, but the
> tracks are progressing.

Yes, but the gap is not at the end of the song, it is one or two seconds
before.
You hear the gap and than the rest of the song, it's a bit strange.

Tommorow I send you the log, I have to do further investigation.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-17 Thread sveninndh


philippe_44 wrote: 
> Another attempt with version 1.13.0.4. Use "force" option this time

Wow, absolutely great, it works.

Here is the log, same song as in the past.

27204

This works great for 98% of all Albums.

The only exception are Albums which needs gapless playback.
The only restriction is a small audible drop out in the last two seconds
of the song.
Also for this case I have generated a log for you, it's the first song
from the well known album Dark Side of the Moon from Pink Floyd.

27205

An other effect seems to be, that sometimes I need 2,3,4 attempts to
stop the music with the pause button.
I have done this at the end of above log.


+---+
|Filename: upnpbridge-force-gapless-1304.log|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27205|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-16 Thread sveninndh


philippe_44 wrote: 
> Anyway, I've tried a 3rd version, 0.13.0.3 which offers a different
> "nudge" mode and a "restart" mode. Try the "nudge" mode, it now should
> be selectable through the webUI ("restart" won't work for you because of
> the messy Bose implementation, but I've add for potential other cases.
> As I say, when I do something I'm always trying to make it generic)

Here the result:

27192

In a later try I found out the following:
At the end of the song playing stops, but the controller shows always
the pause symbol (after a real stop/pause command it should show the
play symbol).
When I push the pause symbol a single time now the Bose starts playing
the next song.

I think you can see it in the following log:


Code:

[11:36:53.001306] process_strm:234 [0x99c500] strm command t
  [11:36:53.001324] sendSTAT:162 [0x99c500]: STAT:[STMt] msplayed 53000
  [11:36:53.001447] process:493 [0x993fc0] strm
  [11:36:53.001464] process_strm:234 [0x993fc0] strm command t
  [11:36:53.001479] sendSTAT:162 [0x993fc0]: STAT:[STMt] msplayed 0
  [11:36:53.001607] process:493 [0x998260] strm
  [11:36:53.001625] process_strm:234 [0x998260] strm command t
  [11:36:53.001640] sendSTAT:162 [0x998260]: STAT:[STMt] msplayed 0
  [11:36:53.912150] ActionHandler:814 [0xa1d8d0]: end of song reached => 
stop/next 54/54
  [11:36:53.912217] AVTBasic:201 [0xa1d8d0]: uPNP Stop (cookie 0x43d)
  [11:36:54.404292] _SyncNotifState:620 Badezimmer: uPNP pause
  [11:36:54.404354] sq_notify:633 [0x99c500] unsollicited pause
  [11:36:54.406155] process:493 [0x99c500] audg
  [11:36:54.406222] process_audg:399 [0x99c500] (old) audg gainL: 0 gainR: 0
  [11:36:54.406242] CtrlSetMute:282 [0xa1d8d0]: uPNP mute 1 (cookie 0x43f)
  [11:36:54.406453] process:493 [0x99c500] strm
  [11:36:54.406469] process_strm:231 [0x99c500] strm command p
  [11:36:54.406484] process_strm:261 [0x99c500] pause (interval:0)
  [11:36:54.406499] AVTBasic:201 [0xa1d8d0]: uPNP Pause (cookie 0x440)
  [11:36:54.406583] sendSTAT:162 [0x99c500]: STAT:[STMp] msplayed 54000
  [11:36:58.000708] process:493 [0x99c500] strm
  [11:36:58.000775] process_strm:234 [0x99c500] strm command t
  [11:36:58.000793] sendSTAT:162 [0x99c500]: STAT:[STMt] msplayed 54000
  [11:36:58.000905] process:493 [0x993fc0] strm
  [11:36:58.000923] process_strm:234 [0x993fc0] strm command t
  [11:36:58.000939] sendSTAT:162 [0x993fc0]: STAT:[STMt] msplayed 0
  



Additionally I added a log with enabled UPNP debugging option.

27194 

I will gladly continue testing.

Sven


+---+
|Filename: upnpbridge-UPNPLOG1303.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27194|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-15 Thread sveninndh


philippe_44 wrote: 
> Good grief! The Bose UPnP implementation is such a cluster f... If I
> happen to know who wrote it, I'll make sure to never use them!!!
> 
> When it receives a 'stop' request, it pauses ... wtf?
> I'm not sure what to do now, I have to think about it if I should try to
> send another stop command ... but still, that will mess up the bridge

Of course Bose is the guilty and it's a shame, after all, BOSE is not a
small company.
Bose must know about the problem since 2016 and nothing happens. There
own app works but the UI is terrible.

The only external app which works with Bose is 'HIFI-Cast'.

https://community.bose.com/t5/SoundTouch-Archive/DLNA-Solved/td-p/145090

But it seems to be not a solution here > Problem of what HiFiCast does is that 
it's totally non-standard and it
> might be fine when used standalone, but will not work well for a bridge.
> 

For the layman it seems hard to understand that a seemingly simple jump
to the next title is an unsolvable problem because of a lousy DLNA
implementation.
Frustrating.

I think that the effort to get this running is out of proportion, so we
better stop now.

Unless you still get an enlightenment. :D:D:D

Many thanks for your time and investigation.

Sven



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-14 Thread sveninndh


philippe_44 wrote: 
> oh, I see - can you uncheck the "autosave", then edit the file

Now 2 is saved permanently.

But music still stops.

But I recognized one change, the pause button changed from pause to play
symbol at the end of the first track, this is new, so far the pause
symbol remained.

Here is the log and the settings again:

27185
27186


+---+
|Filename: upnpbridge.xml.txt   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27186|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-14 Thread sveninndh


philippe_44 wrote: 
> Ok, that's clear. I've made a different attempt. Please forget the
> "nudge" parameter but instead set "accept_nexturi" to 2. 
> It will be available as 1.13.0.2 in a few minutes
> 

Sorry, I have problems to set 2,
after each music start, it is reset to
1.

So currently I can't see any change, music still stops still at end of
first song.



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-14 Thread sveninndh


philippe_44 wrote: 
> Can you try to take a log of 1.13 with slimproto set to debug? I need to
> know if at least the Bose is sending the time progress. If not, it's
> close to be a lost cause

Here ist the log:

27169

and the following are the settings used:


1
raw,wav,aif
524288
1
?
48000
0
0
2

1
0
-1
1
4194304
1
flc,r:-44100,s:16
aac,ogg,flc,alc,aif,pcm,mp3
100
audio/mp3,audio/flac,audio/pcm
1
1
-3
0




uuid:BO5EBO5E-F00D-F00D-FEED-2C6B7DA9E838
0
flc,r:-44100,s:16
1
bb:bb:1e:1b:da:db
0
0
0
Badezimmer
1
3
1
Badezimmer
-3



The song started at [18:23:35.323592].
The song has a duration of 54 seconds and should end at [18:24:29]
At [18:24:17.164869] 12 seconds before the song ends, the bridge sends
the information about the next song.

At [18:24:29] the song is at the end and all is quite, the bose shows
all the time the meta of the first song.

Over a minute later at [18:26:02.066593] I pushed the pause button, but
it don't stop, it started playing again.
I repeated this a few times and than the playing stopped.

I hope this helps.


+---+
|Filename: upnpbridge-log-slimproto.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27169|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-10 Thread sveninndh


philippe_44 wrote: 
> Something is wrong with your environement: what HW, OS, version etc ...
> 
> Delete /var/lib/squeezeboxserver/prefs/upnpbridge.xml

New installation of the plugin don't help too. 
27133


+---+
|Filename: 20190410_205222.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27133|
+---+


sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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


Re: [SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)

2019-04-08 Thread sveninndh


Hello,

I don't know what I am doing wrong.

When the current playing song ends the playing stops.

I have tried a lot of different settings but nothing helps.

I noticed that the setting 'HTTP mode' has 5 entires but they are all
empty.
The description says there should be entries named 'chunked',
'no-length' or 'if known'.
I do not know if there is a connection to my above problem.

I use the last build v1.12.

I also tried a complete reinstall of the UPNP-bridge but without
success.

Sven



sveninndh's Profile: http://forums.slimdevices.com/member.php?userid=69030
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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