Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Michael Herger

On Windows, to open a new browser windows with a specific URL - which
will run separate from LMS use Proc::Background and the command line
"start "fmp18://192.168.0.151/Music.fmp12?script=findtrack=""
Then just return a string to say "done".


Please note that this would only work on the server, not the client. If 
you wanted to launch the browser on a different computer, then you'd 
have to hook in to the UI.


Alas, unfortunately it's not easy to create links for SlimBrowse based 
menus (not to mention the fact that they wouldn't work on a device). 
You'd either have to stick with the default web UIs (which you don't 
want to), or get in touch with Craig about how to integrate with Material.



However I don't understand what will be executing the fmp18:// - the
browser will not recognise it.


You can register custom URI schemas nowadays. On mobile phones that's 
pretty much how one application would launch another one. And it's how 
application shell out to the browser to do oauth, then are sent back to 
the application. It does work if done correctly. But in this case it 
might be difficult to link to a server side application or whatever.


--

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


Re: [SlimDevices: Plugins] ANNOUNCE: Group Players

2020-03-20 Thread kidstypike


threej wrote: 
> I cannot access the Groups tab in the Advanced drop-down menu.  Not sure
> what happened, as it had been fine.  I very much want to form two groups
> of Apple HomePod pairs, each as a stereo pair.  Had one set up that way,
> then created a larger group including it -- which may be my problem. 
> Any idea for how to start this over?

On the plugins page find the "Group Players" plugin, and to the far
right you should see "Settings", does this get you there?



*Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP 6.0.0 18K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite,
*Lounge* - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Squeezebox Boom
*Garage* - Squeezebox Touch > Edifier R980T

*Spares* - 1xTouch, 1xSB3, 1xRadio, 7xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=108558

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


Re: [SlimDevices: Plugins] ANNOUNCE: Group Players

2020-03-20 Thread threej


I cannot access the Groups tab in the Advanced drop-down menu.  Not sure
what happened, as it had been fine.  I very much want to form two groups
of Apple HomePod pairs, each as a stereo pair.  Had one set up that way,
then created a larger group including it -- which may be my problem. 
Any idea for how to start this over?



threej's Profile: http://forums.slimdevices.com/member.php?userid=66492
View this thread: http://forums.slimdevices.com/showthread.php?t=108558

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


bpa wrote: 
> The parameter $track is a pointer to the track object  - that should be
> all you need to get info from LMS database.  
> For some info $song object is needed.   Less used still $client which is
> the UI but good as a reference point..
> 
> Not quite sure what you mean by "track ID" and why you need it.

thanks a lot, this sorted out the retrieving of the track ID. Now I just
need to figure out how to build this "external link" (for lack of a
better word)



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


This is not the "More menu"- The "more" I suggested is for playing
tracks.  

Look in the MusicArtistInfo for example of the menu you want - LMS will
display the info returned from the trackInfoHandler - it is not a way to
start something or fecth something.  All the fetching must be done
separately.

On Windows, to open a new browser windows with a specific URL - which
will run separate from LMS use Proc::Background and the command line
"start "fmp18://192.168.0.151/Music.fmp12?script=findtrack=""
Then just return a string to say "done".

However I don't understand what will be executing the fmp18:// - the
browser will not recognise it.

What happens if someone open the trackinfo on a Touch or Squeezeplay ? -
a browser window for "fmp18://" will open  on PC connected screen.
What happens if someone open the trackinfo on a a remote Browser Web UI 
? - a browser window will open "fmp18://" on PC connected screen not on
the LMS web page info ?

Do you want a browser windows open on PC connected screen or do you only
want a new tab alongside the LMS UI (just in case LMS browser windows is
not on PC connected screen) ?  To do this you'll need to register a new
custom webpage with LMS http server.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


"more" was referring to the material skin.

I'm talking about the Song info as seen here, and by "custom entry" I
mean the item circled in red here
29813


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


Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> consider this : how would you add a custom entry to track info that
> would just open (say, in a new browser tab)
> https://en.wikipedia.org/wiki/thisSongTitle, exactly like the link below
> would do it when clicked from this here website :
> 'Look up on Wikipedia' (https://en.wikipedia.org/wiki/Ring_of_Fire)

What do you mean "custom entry" - you started with "More" menu - does it
have to be associated with a playing track  or a track in the library 
via a my Music menu ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


consider this : how would you add a custom entry to track info that
would just open (say, in a new browser tab)
https://en.wikipedia.org/wiki/thisSongTitle, exactly like the link below
would do it when clicked from this here website :
'Look up on Wikipedia' (https://en.wikipedia.org/wiki/Ring_of_Fire)



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> not sure I'm following you.
> 
> let me try to put it this way : imagine the entry in track info would be
> "Look up on Wikipedia" that would just open an external link in the web
> browser I'm currently using, with the url
> 'https://en.wikipedia.org/wiki/'.$songTitle
> 
> only difference being the url is not https:// but fmp18://
> (and of course I need track ID, and not song title)

Nope - just don't get it.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


sorry, my reply was related to your second-to-last message, I should
have quoted it.



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


not sure I'm following you.

let me try to put it this way : imagine the entry in track info would be
"Look up on Wikipedia" that would just open an external link in the web
browser I'm currently using, with the url
'https://en.wikipedia.org/wiki/'.$songTitle

only difference being the url is not https:// but fmp18://
(and of course I need track ID, and not song title)



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> and if may ask this also : I tried different things to retrieve the
> track ID (speaking about the track concerned by the track info content),
> but I can not find out how to do that. Any advice ?

The parameter $track is a pointer to the track object  - that should be
all you need to get info from LMS database.  
For some info $song object is needed.   Less used still $client which is
the UI but good as a reference point..

Not quite sure what you mean by "track ID" and why you need it.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> nope, it's really "fire & forget", just like my "mailto" example. The OS
> understands what it should do with the protocol, but I could just as
> well copy and paste the URL in my browser's address field.
Still not sure what you want to do but here's my guess.

I would change the URL parameter to point to a routine and not an real
URL.   I would save the parameters somewhere (e.g. plugindata attached
to $song if it is related) and then call your process using
Proc::Background ((with the saved parameters) which will run until
completion separate form LMS and so will not hang LMS.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


and if may ask this also : I tried different things to retrieve the
track ID (speaking about the track concerned by the track info content),
but I can not find out how to do that. Any advice ?



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


nope, it's really "fire & forget", just like my "mailto" example. The OS
understands what it should do with the protocol, but I could just as
well copy and paste the URL in my browser's address field.



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> Sorry about not being clear.
> 
> The goal is to call an -external application- that responds to a
> specific URL scheme, a bit like you would call your default email client
> using "mailto:;

Do you expect the output of this external application to be included in
the More info ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread cpd73


negas wrote: 
> Thanks. The links are working. The "Add to Favorites" function is "Add
> to playlist Loved tracks".

Without the info I asked for there is nothing I can do to help.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=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 negas


Thanks. The links are working. The "Add to Favorites" function is "Add
to playlist Loved tracks". 

Sent from my RNE-L21 using Tapatalk





negas's Profile: http://forums.slimdevices.com/member.php?userid=69961
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] 'MediaServer' *certified* Alexa skill for LMS

2020-03-20 Thread castalla


philchillbill wrote: 
> Yes, that's correct. You'll get a new ngrok subdomain when you do this
> as it will be a new tunnel, so you will have to re-link the skill. Help
> is at https://smartskills.tech/mediaserver/setuphelp.html

Thanks.



LMS server: O2 Joggler with Jivelite

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Avantree Priva
BT transmitter

Brexit =  Still  stupidity




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


and since I don't think it has been said before : this is in a Windows
environment.



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


Sorry about not being clear.

The goal is to call an -external application- that responds to a
specific URL scheme, a bit like you would call your default email client
using "mailto:;

What I meant by "call directly" was that I put my URL in the url key on
line 31 of the plugin.pm code : -url  => FM_BASEURL.'test',-
(this is a of course a proof of concept for the moment, I'll have to
append the track ID instead of 'test')


Code:

package Slim::Plugin::LMS2FM::Plugin;
  
  use strict;
  use base qw(Slim::Plugin::OPMLBased);
  use Slim::Schema;
  use Slim::Schema::Track;
  
  use constant FM_BASEURL => 
'fmp18://192.168.0.151/Music.fmp12?script=findtrack=';
  
  sub initPlugin {
my $class = shift;
  
$class->SUPER::initPlugin(
tag=> 'lms2fm',
);

# Track Info item
Slim::Menu::TrackInfo->registerInfoProvider( lms2fm => (
after => 'top',
func  => \,
) );
  }
  
  sub getDisplayName { 'PLUGIN_LMS2FM_ACTION' }
  
  sub trackInfoHandler {

return {
name => 'Open in FileMaker',
type => 'link',
url  => FM_BASEURL.'test',
favorites => 0,
};
  }
  
  # Don't add this item to any menu
  # sub playerMenu { }
  
  1;
  




Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread dolodobendan

sveninndh wrote: 
> Mit was denn dann?

Abgrenzung.

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

Aha. Wieder was gelernt. :rolleyes:

sveninndh wrote: 
> Aber bitte, was hat das jetzt hier in diesem Forum zu suchen?
> 
> Wozu diese Angriffe?

1. Ich habe bereits mindestens zweimal auf den deutschen Bereich
verwiesen.
2. Ich habe keine Ahnung, welchen "Angriff" Du meinst. Ich habe
lediglich darauf hingewiesen, dass einige Begriffe vermieden werden
sollten.

And now, please, let's discuss this (if even necessary...) anywhere but
here.



QLMS 8.0.0@2.10.06 x64 (digimaster) with perl 5.28 dedicated to me. :D /
QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
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] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> OK, now I've got my entry in track info, but if I call my custom
> protocol url directly, I get the error : "Cannot request non-HTTP URL
> ..."
> 
> Is there a way around this ?
> 
> PS : BTW, I realise this thread probably belongs to the "Developers"
> sub-forum, feel free to move it if needed.

Not enough information.

How are you calling a custom protocol directly ?

If you have created your own protocol identifier (custom URI) - it has
to be in a custom-types.conf and also rules in custom-convert.conf but
that is transcoding or playing a remote site but I think that is not
what you are doing ?
I wonder if you want to add functionality to existing code - in which
case you may need to do sub-classing / super classing - this is stuff I
don't use much.

Is a custom URI approach right for your project ?
Have you checked whether any other plugin has behaviour similar to what
you want (e.g. add a new More menu to an existing playing track).



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

___
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] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


OK, now I've got my entry in track info, but if I call my custom
protocol url directly, I get the error : "Cannot request non-HTTP URL
..."

Is there a way around this ?

PS : BTW, I realise this thread probably belongs to the "Developers"
sub-forum, feel free to move it if needed.



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread dolodobendan

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

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



QLMS 8.0.0@2.10.06 x64 (digimaster) with perl 5.28 dedicated to me. :D /
QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
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] 'MediaServer' *certified* Alexa skill for LMS

2020-03-20 Thread philchillbill


Yes, that's correct. You'll get a new ngrok subdomain when you do this
as it will be a new tunnel, so you will have to re-link the skill. Help
is at https://smartskills.tech/mediaserver/setuphelp.html



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2020-03-20 Thread castalla


I set ngrok up ages ago to use Mediaserver - and it's worked brilliantly
since.   I have totally forgotten the steps I used to set it up!

My question: currently ngrok is pointed at my LMS server on
192.168.0.117   - seems I used the command line to authorize this:

ngrok http -auth "username:password" 192.168.0.117:9000 > /dev/null 2>&1
& 


I want to change the LMS server location to 192.168.1.140:9000

So, can I just reissue the command with the new address?  


The ngrok routine will be run on another pi also on the new
192.168.1.xxx network



LMS server: O2 Joggler with Jivelite

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Avantree Priva
BT transmitter

Brexit =  Still  stupidity




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
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 Michael Herger

Solange "Endlösung" nicht drin vorkommt...


Das ist ein Fettnapf, den ich als unbedarfter Schweizer vor ca. 25 
Jahren erstmals in einem Forum (StarOffice! :-)) erwischt hatte...


--

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread dolodobendan

sveninndh wrote: 
> 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.

Solange "Endlösung" nicht drin vorkommt...

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



QLMS 8.0.0@2.10.06 x64 (digimaster) with perl 5.28 dedicated to me. :D /
QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
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] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> thanks both of you for your valuable advice.
> 
> duly noted about the cache folder, but of course I wouldn't have messed
> with it, it's just that I copy-pasted the path I was browsing to
> illustrate my question, without thinking further about it. The point of
> the question was : is it just a matter of adding a subfolder where other
> plugin subfolders are stored.
> 
> Now, at work !
One issue with Cache folder is that it may work but if you develop from
it, make code changes, the folder may disappear with all your updates. 


Depending on your OS the "Plugins" directory may be part of the LMS tree
and so could disappear if you did a complete LMS update (e.g. to test if
plugin works in 7.7.*, 7.9.* and 8.0.*) . So if you make code changes in
the Plugins directory , take backup copies regularly.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

___
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] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


thanks both of you for your valuable advice.

duly noted about the cache folder, but of course I wouldn't have messed
with it, it's just that I copy-pasted the path I was browsing to
illustrate my question, without thinking further about it. The point of
the question was : is it just a matter of adding a subfolder where other
plugin subfolders are stored.

Now, at work !



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread slartibartfast


sveninndh wrote: 
> 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?
> 
> SvenThe same thing happens with Spotty.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=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] BBCiPlayer V1.6 (and higher) & BBCiPlayerExtra 2.0 (and higher) Support

2020-03-20 Thread bpa


Wigster wrote: 
> * The Soma FM stream works without issues
This would exercise the AAC decoder and libfaad libraries.

> * LMS is running on a separate machine, a Windows Server 2012R2. I've
> just upgraded it to LMS 8.0.0 - 1584422335 @ Tue Mar 17. Was on 7.9.2
> before with the same problem.
> * in PCP the player is Squeezelite v1.9.6-1206-pCP. It was the same
> version on PCP 5.0.1 before when it worked fine. This is the full ffmpeg
> version.
> * Not sure how to check the libfaad version. There is a pcp-libfaad2.tcz
> extension installed and there are not updates as of right now (20/03).
> * The PCP player is on WiFi.

All BBCiPlayer does is strip DASH or HLS wrapping and send a ADTS stream
just like somafm to player.  So libraries are OK. The plugin does
nothing to the player - it only works in the LMS server.

BBCiPlayer works OK with many other pcp installation - so there is
something with your setup that is different.

PCP installation are never on plain Pis - there is usually additional
hardware.  What is the setup (e.g. DAC, display, controls, ) ?
Have you setup any non standard squeezelite command line options such as
resampling. 
What does the PCP squeezelite log look like ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109826

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


Re: [SlimDevices: Plugins] BBCiPlayer V1.6 (and higher) & BBCiPlayerExtra 2.0 (and higher) Support

2020-03-20 Thread Wigster


bpa wrote: 
> Looking at the log - the plugin has sent AAC audio data to the player
> but player just dies as if it has a problem decoding the audio data. So
> problem could be in the player.
> 
> Does LMS and player run on same PCP system ?
> 
> Can you check that the player can play a normal AAC stream such as 
> http://somafm.com/illstreet64.pls
> 
> Your problem is in the middle between pcp and LMS and plugin - so
> Background info helps.  
> 
> If above stream doesn't play OK then following will be needed.
> 
> What OS does your LMS run on ?
> What is the version of LMS ?
> what is the version of Squeezlite on player that does not work ?
> What is the version of the libfaad libraries used by that player ?

* The Soma FM stream works without issues
* LMS is running on a separate machine, a Windows Server 2012R2. I've
just upgraded it to LMS 8.0.0 - 1584422335 @ Tue Mar 17. Was on 7.9.2
before with the same problem.
* in PCP the player is Squeezelite v1.9.6-1206-pCP. It was the same
version on PCP 5.0.1 before when it worked fine. This is the full ffmpeg
version.
* Not sure how to check the libfaad version. There is a pcp-libfaad2.tcz
extension installed and there are not updates as of right now (20/03).
* The PCP player is on WiFi.



Wigster's Profile: http://forums.slimdevices.com/member.php?userid=14899
View this thread: http://forums.slimdevices.com/showthread.php?t=109826

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


Stan Pulsar wrote: 
> - can I just add a new subfolder to
> C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins ? (and maybe
> restart LMS)
No.  "Cache" is for plugins that are installed by plugin extension
manager. Cache can be deleted and plugin extensions manager will restore
them.
Manually installed users plugin are put in a non "Cache" Plugins
directory (note *NOT* the "Slim/Plugin" which is for LMS included
plugins)  . Location depends on OS - so check WebUI Settings/Information
at "Plugin Folders"
Plugin in this folder will be detected at LMS startup.  Plugin changes
only happen after LMS restart.  When developing, beware of the LMS and
Browser caches which retain info between restarts

> I see all of the plugin subfolders (in path above) have a "HTML"
> subfolder. Is this mandatory, or can I just -not- include one ? (not
> sure what it's used for)
HTML directories (& sub directories)  can be a simple as just the icon
for the plugin menu. Usually own web pages such as for plugin own
Settings are there. Best to keep standard folder structure complete even
if all subdirectories are empty.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Michael Herger

- can I just add a new subfolder to
C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins ? (and maybe
restart LMS)


No. Don't touch the InstalledPlugins folder. Never. Check 
Settings/Information for the real Plugins folder you're looking for.



- I see all of the plugin subfolders (in path above) have a "HTML"
subfolder. Is this mandatory, or can I just -not- include one ? (not
sure what it's used for)


HTML is only required if you want to provide a web UI for some aspect of 
your plugin. The web template would go in there, icons, images etc.


--

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


OK, great thanks, will try it this way.

I'll actually try to build this as a really tiny plugin that does just
that.

2 questions :

- can I just add a new subfolder to
C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins ? (and maybe
restart LMS)
will it be detected and enabled, or should I add an entry somewhere ?

- I see all of the plugin subfolders (in path above) have a "HTML"
subfolder. Is this mandatory, or can I just -not- include one ? (not
sure what it's used for)



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread bpa


The relevant API is called Slim::Menu::TrackInfo->registerInfoProvider
at Plugin.pm usually from initPlugin

Search through other plugin to see how it is used. Basically it tells
LMS where to put your new menu within More and then routine address to
be called.  The first lines to get called routine parameters and playing
song is typically:

Code:


  my ( $client, $url, $track, $param ) = @_;
  my $song = Slim::Player::Source::playingSong($client);
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


[SlimDevices: Plugins] how to add a custom item to "more infos"

2020-03-20 Thread Stan Pulsar


Hi there,

I'm posting this in "3rd party" because since I'm using Material Skin,
this is where I'd like to add something, but maybe it should be added
"deeper" in LMS and so be skin independant.

I'd like to add a custom link somewhere in the "more" screen, or even in
the next one "more infos", f.i. just below the line with the file path.
What I need is a [clickable] link to a custom URI, composed of a static
part (that I should be able to set somewhere, even if only in a variable
in the code) and an URL parameter with the track.id from library.db

I'm actually building a "sidecar" DB system that grabs all relevant
tables from library.db and persistant.db, that I can use to run custom
and advanced processes, like (batch) change mp3 tag, open in another
app, export all >3 stars tracks to an USB key for my car, and what not.
This system registers a specific url protocol in the OS, that can be
used to open the application and call a script finding a specific row
(with the given id)

Could anyone be kind enough as to direct me to where I should start ?



Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=111851

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-03-20 Thread cpd73


negas wrote: 
> Hi, thank you for this great software. I'm using deezer with material
> skin.
> All the functions that appear when you tap on MOR(...) seem not to work.
> When I tap the app shows a empty screen.
> I do not find an option to Add to Favorites, neither. 
> What am I doing wrong?

I don't use any streaming service, so can't recreate this. To help with
resolving this I need the JSON RPC messages that are sent, and the
responses received to create the "More(...)" list of options, and the
request/response when clicking on an item. See my signature for
details.

Also, please try to crop & shrink the screenshots - there's no need for
the full size screenshots here.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.

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

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