Re: [SlimDevices: Plugins] iPeng support thread

2021-02-03 Thread jotap_66


Hi Pippin:

I would like to know if it is possible (or it will be possible) to use
High Res Music in iPeng. I have some Hi Res music played in my
squeezebox (24 bit / 96 Khz files). I can listen it by using a DragonFly
Red DAC/Headphone Amp in my iPhone/iPad and some software capable of
managing High Res as Onkyo HF player App. I would like to know if iPeng
could transmit/use this music. I have the FLAC plug-in for Peng.

Regards

JP



jotap_66's Profile: http://forums.slimdevices.com/member.php?userid=5857
View this thread: http://forums.slimdevices.com/showthread.php?t=51929

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread cpd73


Greg Erskine wrote: 
> It's 11:30, the room is dark, I'm lounging in my leather recliner,  I'm
> listening to some great music, fine tuning the volume as a favourite
> track starts, thinking how wonderful "Material" is, I go to hit CLOSE on
> the volume slider, but on my little iPhone 5 screen I miss by just a tad
> and hit "volume = 100%" instead.
> 
> I'm awake now!! :mad: So are my neighbours. 
> 
> I was wondering if it is possible to prevent the volume jumping from
> normal levels to 100% in one step. Is it worthwhile?

Sounds like a reasonable idea. What would be 'normal' levels though?
Perhaps disallow jump to >=95% if volume <= 70%?

What, -might-, be better is to make the volume dialog a little taller,
so that the close button is further away. Also, you do not need to close
the dialog, it closes 10seconds after openeing, or last change.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

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

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


Re: [SlimDevices: Plugins] [Announce] LMS Announce - play announcements / notifications

2021-02-03 Thread Roland0


karlek wrote: 
> 
> I don't understand how forcewake=false should behave. Either if set to
> true or false, it still woke up my SB (and powered it off again,
> afterwards).
> 
Tested with squeezelite only, maybe a HW player behaves differently.
If you want to help debug this:
on the server, edit the file LMSannounce/Plugin.pm and change lines
214-216 from:

Code:

#my $clientpower = $targetClient->execute(['power', 
'?'])->getResults()->{'_power'};
#my $clientpower = $targetClient->power();
#$log->debug("client power: $clientpower alt: " . 
$targetClient->power() );


to

Code:

my $clientpower = $targetClient->execute(['power', 
'?'])->getResults()->{'_power'};
#my $clientpower = $targetClient->power();
$log->debug("client power: $clientpower alt: " . 
$targetClient->power() );



(i.e. remove the # from the beginning of the lines 214 and 216)
restart LMS, set logging for plugin.lmsannounce to DEBUG, check the
server logs for lines starting with:

Code:

handleJSONP cmd=
  handleJSONP targetClient=
  client power: 
  announcement discarded



> 
> I finally catched the Download by a brute force shell script
> 
the link is in the repository's repo.xml file, you can simply copy it
from there



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI |
Playlist Editor / Generator | Music Classification | Similar Music |
Announce | EventTrigger | Chiptunes | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

___
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)

2021-02-03 Thread philippe_44


philippe_44 wrote: 
> Sorry which "touchscreen"?
> 
> [edit]: forget the above question but wrt power I already explained it:
> play/pause/stop work because they are *standardized" UPnP command (part
> of what every player must comply to). There is no such command for power
> off. There is no "power on" either, simply when asked to play, Players
> will wake up from sleep, it's just a side-effect.

I've looked the plugin code. There is a set of proprietary commands on
telnet port (23)



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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: Custom Clock applet for Touch/Radio/Controller

2021-02-03 Thread Berns


Hi,

I'm a long time user of SDT and a proud owner of some booms, a joggler
and a SB2.
These are running from a windows machine and the ripped music is stored
elsewhere on the home network.

I was running LMS 7.3 for a long time and got back in touch with the
forum as I wanted to introduce Custom Clock Applet and Custom Clock
Helper combination on the O2 jogglers.
With a background check I moved to the most recent version of:
LMS 8.1.1
CCH 2.11.94
And of course SDT 5.11.11

On the joggler Custom Clock applet is 2.12.140

Thanks to many people on the forum, a nice screensaver is now running a
clock and weather forecast on the joggler. (When playing music, the
screen also features an analog VU meter, spectrum analyser, now playing
information including album cover or radio station logo, artist and
song.

This would not be possible if it weren't for people like Ralphy, Erland,
GoCubs, BoomX2 and many others.



Berns's Profile: http://forums.slimdevices.com/member.php?userid=60795
View this thread: http://forums.slimdevices.com/showthread.php?t=68269

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


Re: [SlimDevices: Plugins] [Announce] Squeezelite-X

2021-02-03 Thread rgdawson


Version 2.7.14 submitted to Microsoft Store

Changes:


- Updated version of squeezelite to version 1.9.8-1344 (may fix
  playback interruption/pause issue)
  

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

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


Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks

2021-02-03 Thread Berns


Hi,

I'm a long time user of SDT and a proud owner of some booms, a joggler
and a SB2.
These are running from a windows machine and the ripped music is stored
elsewhere on the home network.

I was running LMS 7.3 for a long time and got back in touch with the
forum as I wanted to introduce Custom Clock Applet and Custom Clock
Helper combination on the O2 jogglers.
With a background check I moved to the most recent version of:
LMS 8.1.1
CCH 2.11.94
And of course SDT 5.11.11

On the joggler Custom Clock applet is 2.12.140

Thanks to many people on the forum, a nice screensaver is now running a
clock and weather forecast on the joggler. (When playing music, the
screen also features an analog VU meter, spectrum analyser, now playing
information including album cover or radio station logo, artist and
song.

This would not be possible if it weren't for people like Ralphy, Erland,
GoCubs and many others.
Special thanks to BoomX2. I took a leap to update the system and it's
also thanks to him that I'm able to inform you of an update that went
smoothly.

So, gentlemen, a big thanks to you all.



Berns's Profile: http://forums.slimdevices.com/member.php?userid=60795
View this thread: http://forums.slimdevices.com/showthread.php?t=112122

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread Greg Erskine


Good idea. :)

Thanks



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
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] LmsUpdate and LmsRepack - Synology 8.0.* packages

2021-02-03 Thread Squeeze4Ever


pinkdot wrote: 
> I closed the repository as no new updates will follow from my side.
> All packages remain avalaible via 'sourceforge'
> (https://sourceforge.net/projects/lmsupdate/).
> 
> Go well, Martin

Hello Martin,
that also means no further updates or Synology drives with x86 platforms
which can install it via Docker are planned? 
Probably not but wanted to ask you again.
Thanks for your great work.
Oli



Squeeze4Ever's Profile: http://forums.slimdevices.com/member.php?userid=66595
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread kidstypike


Greg Erskine wrote: 
> It's 11:30, the room is dark, I'm lounging in my leather recliner,  I'm
> listening to some great music, fine tuning the volume as a favourite
> track starts, thinking how wonderful "Material" is, I go to hit CLOSE on
> the volume slider, but on my little iPhone 5 screen I miss by just a tad
> and hit "volume = 100%" instead.
> 
> I'm awake now!! :mad: So are my neighbours. 
> 
> I was wondering if it is possible to prevent the volume jumping from
> normal levels to 100% in one step. Is it worthwhile?

Why not use the "swipe" on the "playing" screen to change volume?

33231


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


*Server - LMS 8.2.0 *Pi4B 4GB/Argon one case/pCP v7.0.0 - 74K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B/pCP 7.0.0/pi screen/Hifiberry DAC HAT Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Garage* - Squeezebox Boom + Fostex sub
*Dining Room* - Pi3B/Bluetooth/Echo Show 8

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
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

2021-02-03 Thread Greg Erskine


It's 11:30, the room is dark, I'm lounging in my leather recliner,  I'm
listening to some great music, fine tuning the volume as a favourite
track starts, thinking how wonderful "Material" is, I go to hit CLOSE on
the volume slider, but on my little iPhone 5 screen I miss by just a tad
and hit "volume = 100%" instead.

I'm awake now!! :mad: So are my neighbours. 

I was wondering if it is possible to prevent the volume jumping from
normal levels to 100% in one step. Is it worthwhile?



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
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

2021-02-03 Thread jeroen2


The Groundsman wrote: 
> I found that when the volume swipe doesn't work, the player has the
> volume set to 100%, thereby disabling any volume adjustment in LMS

I have the impression it's a browser issue... Anyone have any
suggestions for browsers on Raspbian? (I moved away from Chrome because
it kept giving me pop-up messages about updates and Google accounts,
which you really don't want on a touchscreen accessing only a local
server...)



jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
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

2021-02-03 Thread vinnielo


slartibartfast wrote: 
> Have you looked in player settings/audio for the affected players.
> 
> Sent from my Pixel 3a using Tapatalk

Ah.. upgrading to 2.2.2 has helped.
Now I can control the volumes, BUT the slider does not seem to change to
reflect the new volume.



*RadioFeeds UK & Ireland..* an up-to-date radio directory for your
Squeezebox/Transporter/UE Smart Radio.. available from the
mysqueezebox.com App Gallery.
Bonus: our RadioFeeds LMS plugin also lists AAC *and the BBC's
high-quality HLS streams* on top of what's available in our MSB app.
-Now with over 1000 registered users-, it's available for Logitech Media
Server (and Squeezebox Server, SqueezeCenter and SlimServer).
Click for more info: *http://www.radiofeeds.co.uk/squeeze*

vinnielo's Profile: http://forums.slimdevices.com/member.php?userid=14510
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] LMS-lite certified Smart Home skill for Alexa

2021-02-03 Thread didjean


philchillbill wrote: 
> All 4 are now implemented in both fr-FR and fr-CA. Ask "Alexa., discover
> devices" to load the new values. She will very likely say 'no new
> devices were discovered' which is expected because they are not 'new',
> just modified. 
> 
> Then try all four variants and we shall see !
> 
> I just declared the bare nouns without the article Le/La in front
> because the Amazon docs are unclear on that. If it does not work for
> you, I can retry with the articles added and see if that helps.

Thanks very much. Unfortunately it still doesn't work. Will try again
tomorrow...



Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer ---
iPeng & Material --- LMS 8.0.1 - 1606928904 on Pi4 4GB - Max2Play ---
Qobuz

didjean's Profile: http://forums.slimdevices.com/member.php?userid=2900
View this thread: http://forums.slimdevices.com/showthread.php?t=111443

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread slartibartfast


vinnielo wrote: 
> Do we know the problem to this fixed volume problem in 7.9.0 and whether
> there's a possible patch that'd make it work?Have you looked in player 
> settings/audio for the affected players.
[image:
https://uploads.tapatalk-cdn.com/20210203/27a4ab0e8cd304197961d2ee43298cd6.jpg]

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

2021-02-03 Thread ButC


cpd73 wrote: 
> Had a quick look, and it does appear as if android will only send the
> events to apps with a media session - which mine does not have. I think
> you'd be better off asking in the SB Player thread for it to be
> implemented there.

The creator of SB Player wasn't interested in adding support for
bluetooth controls, but I remembered that it works with Orange Squeeze
and Squeeze Player. Both of them support auto pause when headphones are
removed, does that mean that they also support skipping, and if so,
would you mind to support Squeeze Player in the Material apk?



//Johan

Windows 10
LMS 8.0
Local Player Plugin (Squeezelite)
Intel Compute Stick

ButC's Profile: http://forums.slimdevices.com/member.php?userid=57330
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

2021-02-03 Thread vinnielo


vinnielo wrote: 
> I've just had a further look and it seems that this affects LMS 7.9.0.
> Even my official Squeezebox Receiver is shown as "Fixed Volume".
> 
> My newer LMS sitting on my NAS doesn't have this problem.
> 
> Is there a compatibility issue with 7.9.0?
Do we know the problem to this fixed volume problem in 7.9.0 and whether
there's a possible patch that'd make it work?



*RadioFeeds UK & Ireland..* an up-to-date radio directory for your
Squeezebox/Transporter/UE Smart Radio.. available from the
mysqueezebox.com App Gallery.
Bonus: our RadioFeeds LMS plugin also lists AAC *and the BBC's
high-quality HLS streams* on top of what's available in our MSB app.
-Now with over 1000 registered users-, it's available for Logitech Media
Server (and Squeezebox Server, SqueezeCenter and SlimServer).
Click for more info: *http://www.radiofeeds.co.uk/squeeze*

vinnielo's Profile: http://forums.slimdevices.com/member.php?userid=14510
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)

2021-02-03 Thread philippe_44


brewie wrote: 
> Coming back to the DENON plugin.and my problem with turning off the
> Pioneer AVR.
> I forgot to mention that the AVR is not only powered on with the
> touchscreen but I can also "pause" the music from playing and "start"
> the playing again.
> So most of the basic communication to the AVR is already working
> finejust the "power off" does not seem to work.

Sorry which "touchscreen"?



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)

2021-02-03 Thread Michael Herger

I want to play all "my liked songs" from Spotify in a shuffle song mode.
I can't see any way to do that.


There's no API call to get "liked songs" from Spotify, IIRC. The best 
you could do is to save it as a playlist.


--

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2021-02-03 Thread erland

afriend wrote: 
> 
> One more thing: there's an optional url parameter: "will be a link in
> the web interface which the user can click on to get to the settings for
> the playlist." 
> I thought I could use this to include a short description (html text) of
> each playlist when people click on the name of the playlist in DPL. But
> somehow URLs like -plugins/RatingsLight/rated.html- always return 404.
> I've tried a bunch of URL variations (up and down the folder hierarchy)
> but I must be missing the correct one. Do you happen to know the correct
> one?
> 
If your structure looks like your github repo you should probably also
have html in the path, like: -plugins/RatingsLight/html/rated.html- 
Don’t remember if you also need to call
Slim::Web::Pages->addPageFunction in the webPages function for the page
for it to be exposed.

afriend wrote: 
> 
> BTW about the scanner/locked db problem: I've been rescanning my library
> over and over again (wipecache and standard) and setting/displaying
> ratings. There are almost always errors involving the locked db.
> Sometimes not even the indispensable $track->url is possible when the db
> is locked. Maybe Trackstat didn't have that exact problem because it had
> its own database. 
> So to avoid unnessary errors and prevent users from thinking they have
> successfully rated a song when they haven't I think I might disable
> setting ratings until a scan is done and in the meantime display a
> message where needed. 
> I hope this won't come across as too harsh. I feel it's safer. Since
> RatingsLight has about 2 users hopefully not that many people will be
> rating songs with RL during a LMS scan and then be terribly outraged.
> :-)
Are you saying it doesn’t even work to read the database during scanning
? Feels strange...
TrackStat writes ratings to both its own tables and the standard tables
so that shouldn’t be a difference.

However, disabling ratings during scanning sounds like a good
compromise, it’s safe and easy to handle. It’s different for TrackStat
since it also sets play count an last played time when playing music and
have an automatic rating feature so I need to handle it since it would
be reasonably likely that people play music during scanning.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836)
)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


Re: [SlimDevices: Plugins] [Announce] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)

2021-02-03 Thread johan d


Can I ask for a little request?

I want to play all "my liked songs" from Spotify in a shuffle song mode.
I can't see any way to do that.



johan d's Profile: http://forums.slimdevices.com/member.php?userid=48838
View this thread: http://forums.slimdevices.com/showthread.php?t=111923

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


Re: [SlimDevices: Plugins] Annouce: SB Player, a software Squeezebox player app for Android.

2021-02-03 Thread wt0


ButC wrote: 
> Any chance you will add support for bluetooth controls to SB Player?No. 
> Bluetooth support requires there to be controls to begin with. SB
Player has none and will never have controls.

Sent from my Pixel 3 using Tapatalk



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=98049

___
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)

2021-02-03 Thread brewie


Coming back to the DENON plugin.and my problem with turning off the
Pioneer AVR.
I forgot to mention that the AVR is not only powered on with the
touchscreen but I can also "pause" the music from playing and "start"
the playing again.
So most of the basic communication to the AVR is already working
finejust the "power off" does not seem to work.



brewie's Profile: http://forums.slimdevices.com/member.php?userid=69925
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] Ratings Light

2021-02-03 Thread afriend


flipflip wrote: 
> afriend, I just noticed that the settings.html page is cached by the
> browser. I think for a settings page this is not desired. It seems that
> is because it is in the "html" sub directory.
> Most other plugins have this template in a "settings" subdirectory,
> which seems to prevent browser caching. It looks like LMS adds a
> Cache-Control response header to the stuff in html but not for the stuff
> in settings.
> 
> I.e. move
> Plugins/RatingsLight/HTML/EN/plugins/RatingsLight/*html/*settings.html
> to
> Plugins/RatingsLight/HTML/EN/plugins/RatingsLight/*settings/*something.html

Good catch. Changed it. Will be in the next version. Thank you!



afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2021-02-03 Thread afriend


My error was that I thought I could reuse the same 3 parameter hashes
for every playlist. Now that I've defined a bunch of them with different
IDs it works. Thank you for your help!
One more thing: there's an optional url parameter: "will be a link in
the web interface which the user can click on to get to the settings for
the playlist." 
I thought I could use this to include a short description (html text) of
each playlist when people click on the name of the playlist in DPL. But
somehow URLs like -plugins/RatingsLight/rated.html- always return 404.
I've tried a bunch of URL variations (up and down the folder hierarchy)
but I must be missing the correct one. Do you happen to know the correct
one?

BTW about the scanner/locked db problem: I've been rescanning my library
over and over again (wipecache and standard) and setting/displaying
ratings. There are almost always errors involving the locked db.
Sometimes not even the indispensable $track->url is possible when the db
is locked. Maybe Trackstat didn't have that exact problem because it had
its own database. 
So to avoid unnessary errors and prevent users from thinking they have
successfully rated a song when they haven't I think I might disable
setting ratings until a scan is done and in the meantime display a
message where needed. 
I hope this won't come across as too harsh. I feel it's safer. Since
RatingsLight has about 2 users hopefully not that many people will be
rating songs with RL during a LMS scan and then be terribly outraged.
:-)



afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

___
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)

2021-02-03 Thread ROL33

philippe_44 wrote: 
> You can PM (or see my email contact in the plugin list) in French. 
> 
> I'll need to get a log to start with

Hello,
I sent you the newspapers on your personal email on 01/26 but I have not
received a response from you.
So I was wondering if you received it? or if you haven't had time to
take care of it



Server diy - dac Sonic Frontiers SFD1 MK2 - préampli Brinkmann Calvin -
bloc Brinkmann - panneaux Quad ESL 989

ROL33's Profile: http://forums.slimdevices.com/member.php?userid=71288
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] Annouce: SB Player, a software Squeezebox player app for Android.

2021-02-03 Thread ButC


wt0 wrote: 
> That depends on the controller app you use. If you're using Squeeze
> Ctrl, you can enable media controls in preferences.
> 
> Sent from my Pixel 3 using Tapatalk

Any chance you will add support for bluetooth controls to SB Player?



//Johan

Windows 10
LMS 8.0
Local Player Plugin (Squeezelite)
Intel Compute Stick

ButC's Profile: http://forums.slimdevices.com/member.php?userid=57330
View this thread: http://forums.slimdevices.com/showthread.php?t=98049

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread The Groundsman


I found that when the volume swipe doesn't work, the player has the
volume set to 100%, thereby disabling any volume adjustment in LMS



The Groundsman's Profile: http://forums.slimdevices.com/member.php?userid=70305
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] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-03 Thread bpa


Heuer wrote: 
> Boom with Community f/w?

Only the "new" products Touch, Radio and Controller (Lua & C, ARM
processor & Linux kernel) could be updated as some of the source code
and build environment is available.

The older IPK based products such as SB3/Classic, Receiver, Boom &
Trasnproter cannot be modified becuase
1. No source code available.
2. Even if LMS player code was available - lots of proprietary licensed
software such as the OS and decoders.
3. No build environment for the IP3K processors which are specialised
and so require proprietary development tools.



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

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2021-02-03 Thread erland

afriend wrote: 
> I think that could be it.
> But I'm not sure I understand how these IDs work. 
> Which IDs do I choose if I want to have *multiple* playlists with
> *multiple* parameters - and in a certain order in which they are asked?
> Would would the IDs and the parameters hash look like for these PLs?
> 
> Example:
> > 
Code:

  >   > my %parameter1 = (
  > 'id' => 1,
  > 'type' => 'genre',
  > 'name' => 'Select genre'
  > );
  > my %parameter2 = (
  > 'id' => 2,
  > 'type' => 'custom',
  > 'name' => 'Select decade',
  > 'definition' => "select cast(((tracks.year/10)*10) as 
int),case when tracks.year>0 then cast(((tracks.year/10)*10) as int)||'s' else 
'Unknown' end from tracks where tracks.audio=1 group by 
cast(((tracks.year/10)*10) as int) order by tracks.year desc"
  > );
  > my %parameter3 = (
  > 'id' => 3,
  > 'type' => 'list',
  > 'name' => 'Select percentage of TOP Rated Songs',
  > 'definition' => 
'0:0%,10:10%,20:20%,30:30%,40:40%,50:50%,60:60%,70:70%,80:80%,90:90%,100:100%'
  > );
  > 
  > # PL2 - a playlist with rated songs with a certain percentage of songs 
rated >= 3 stars
  > my %parametersPL2 = (
  > 1 => \%parameter3
  > );
  > $playlist2{'parameters'} = \%parametersPL2;
  > $result{'ratingslight_rated-with_top_percentage'} = \%playlist2;
  > 
  > # PL3 - a playlist with rated songs by decade
  > my %parametersPL3 = (
  > 1 => \%parameter2
  > );
  > $playlist3{'parameters'} = \%parametersPL3;
  > $result{'ratingslight_rated-by_decade'} = \%playlist3;
  > 
  > # PL4 - a playlist with rated songs by genre with a certain percentage 
of songs rated >= 3 stars
  > my %parametersPL4 = (
  > 1 => \%parameter2,
  > 2 => \%parameter3
  > );
  > $playlist4{'parameters'} = \%parametersPL4;
  > $result{'ratingslight_rated-by_decade_with_top_percentage'} = 
\%playlist4;
  > 
  > # PL5 - a playlist with rated songs by genre and decade with a certain 
percentage of songs rated >= 3 stars
  > my %parametersPL5 = (
  > 1 => \%parameter1,
  > 2 => \%parameter2,
  > 3 => \%parameter3
  > );
  > $playlist5{'parameters'} = \%parametersPL5;
  > $result{'ratingslight_rated-by_genre_and_decade_with_top_percentage'} = 
\%playlist5;

> > 

PL5 is correct, the important part is that the keys in parametersPL5
hash matches the id in the hash each key points to.

So for PL2 you need to use a hash that looks the same as %parameters3
but with id set to 1 since the key in parametersPL2 is 1.
And for PL3 you need to use a hash that looks like %parameters2 but with
if set to 1.
And for PL4 you need to use a hash that looks like %parameters2 but with
id set to 1 for the first parameter and a hash that looks like
%parameter3 with id set to 2 for the second parameter.

I would suggest that you use separate hashes for each playlist else it’s
going to be easy to accidentally set the id incorrect.
The id is used for ordering the parameters in the order you like them to
be specified by the user.

If I’d write the plugin today I’d probably remove the id attribute and
only use the keys in the parameters attribute on the top level. As it is
now you need to have the same info in two places. 

Hope this explains it, let me know if it doesn’t  and I’ll try to write
sample when I’m beside a computer.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836)
)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


[SlimDevices: Plugins] How to make a fresh start with Trackstat?

2021-02-03 Thread radish112


I am a Trackstat user. I recently restructured my library of FLAC files,
and the complexity of the restructuring has meant that neither restoring
my latest (pre-restructuring) scheduled backup of Trackstat nor the
option to "Find alternative files" is successful in salvaging all of my
Trackstat data. Both those efforts have probably just made things worse.
So, I'd like to make an absolutely fresh start with Trackstat, as if I
was installing and using it for the very first time. 

I'd appreciate any help you can give in answering these questions:

1. What procedure can I use to achieve an absolutely fresh start with
Trackstat? For example, could I achieve this by doing something as
"simple" as deleting the persist.db file and other files? If so, where
would I find such files? 

I have tried "Delete unused statistic" and "Remove all data" followed by
a rescan, but thanks to the persist.db (I guess) the deleted, incomplete
data come right back and subsequently entered ratings data don't
"stick." I have also uninstalled and reinstalled Trackstat, but that
hasn't worked either, maybe because a newly installed Trackstat "finds"
and uses old files that weren't uninstalled. Thus my desire to make a
fresh start.

2. Once I have achieved a fresh start with Trackstat I'll of course want
to do scheduled backups as I did in the past. 

I'll have no problems browsing and selecting the directory where I'll
have read/write privileges. But although I've successfully done
scheduled backups in the past, I can't remember how to create (?) the
file that will store the initial backup of data. I know that the
scheduled backup files are .xml files, but surely I can't just use, say,
Notepad to create a blank file with a .xml extension (e.g.,
tsbackup.xml) and expect Trackstat to write the initial backup to that
file, can I?

I don't remember creating such a file in the past, so I'm wondering if
Trackstat automatically creates such a file on its own the first time a
scheduled backup occurs.

Thanks in advance for your help. Stay safe...



radish112's Profile: http://forums.slimdevices.com/member.php?userid=11591
View this thread: http://forums.slimdevices.com/showthread.php?t=113844

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2021-02-03 Thread afriend

erland wrote: 
> Parameter2 id needs to be 1 so it matches the key in parametersPL3 hash.
> 
> Not sure if that’s the problem but it’s definitely incorrect.

I think that could be it.
But I'm not sure I understand how these IDs work. 
Which IDs do I choose if I want to have *multiple* playlists with
*multiple* parameters - and in a certain order in which they are asked?
Would would the IDs and the parameters hash look like for these PLs?

Example:

Code:

my %parameter1 = (
'id' => 1,
'type' => 'genre',
'name' => 'Select genre'
);
my %parameter2 = (
'id' => 2,
'type' => 'custom',
'name' => 'Select decade',
'definition' => "select cast(((tracks.year/10)*10) as 
int),case when tracks.year>0 then cast(((tracks.year/10)*10) as int)||'s' else 
'Unknown' end from tracks where tracks.audio=1 group by 
cast(((tracks.year/10)*10) as int) order by tracks.year desc"
);
my %parameter3 = (
'id' => 3,
'type' => 'list',
'name' => 'Select percentage of TOP Rated Songs',
'definition' => 
'0:0%,10:10%,20:20%,30:30%,40:40%,50:50%,60:60%,70:70%,80:80%,90:90%,100:100%'
);
  
# PL2 - a playlist with rated songs with a certain percentage of songs 
rated >= 3 stars
my %parametersPL2 = (
1 => \%parameter3
);
$playlist2{'parameters'} = \%parametersPL2;
$result{'ratingslight_rated-with_top_percentage'} = \%playlist2;
  
# PL3 - a playlist with rated songs by decade
my %parametersPL3 = (
1 => \%parameter2
);
$playlist3{'parameters'} = \%parametersPL3;
$result{'ratingslight_rated-by_decade'} = \%playlist3;
  
# PL4 - a playlist with rated songs by genre with a certain percentage 
of songs rated >= 3 stars
my %parametersPL4 = (
1 => \%parameter2,
2 => \%parameter3
);
$playlist4{'parameters'} = \%parametersPL4;
$result{'ratingslight_rated-by_decade_with_top_percentage'} = 
\%playlist4;
  
# PL5 - a playlist with rated songs by genre and decade with a certain 
percentage of songs rated >= 3 stars
my %parametersPL5 = (
1 => \%parameter1,
2 => \%parameter2,
3 => \%parameter3
);
$playlist5{'parameters'} = \%parametersPL5;
$result{'ratingslight_rated-by_genre_and_decade_with_top_percentage'} = 
\%playlist5;




afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-03 Thread local.bin


kidstypike wrote: 
> Boom with EDO?

Would be a challenge with no usb, so obvious typo, updated :)



local.bin's Profile: http://forums.slimdevices.com/member.php?userid=22053
View this thread: http://forums.slimdevices.com/showthread.php?t=113479

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2021-02-03 Thread erland

afriend wrote: 
> I think there's a tiny misunderstanding the SQL code seems to be ok. It
> lists a list of decades to choose from. I've tried the above SQL code
> with SQLplaylist and DatabaseQuery and same there. Both return the
> decades list and SQLplaylist throws an error (only once instead of
> twice) but it also starts the playlist (which my plugin doesn't). 
> So the problem/error comes when I try to act on one of these values
> (execute).
> 
> Since the logs show that the -getNextDynamicPlayListTracks- function
> isn't even called yet (the error happens before) here's the content of
> the -getDynamicPlayLists- function for the 'rated by decade' playlist:
> 
> > 
Code:

  >   > sub getDynamicPlayLists {
  > my ($client) = @_;
  > my %result = ();
  > 
  > my %playlist3 = (
  > 'name' => 'Rated - by DECADE',
  > 'groups' => [['Ratings Light ']]
  > );
  > my %parameter2 = (
  > 'id' => 2, # A number between 1-10
  > 'type' => 'custom',
  > 'name' => 'Select decade',
  > 'definition' => "select cast(((tracks.year/10)*10) as 
int),case when tracks.year>0 then cast(((tracks.year/10)*10) as int)||'s' else 
'Unknown' end from tracks where tracks.audio=1 group by 
cast(((tracks.year/10)*10) as int) order by tracks.year desc"
  > );
  > 
  > # PL3
  > my %parametersPL3 = (
  > 1 => \%parameter2
  > );
  > $playlist3{'parameters'} = \%parametersPL3;
  > $result{'ratingslight_rated-by_decade'} = \%playlist3;
  > return \%result;
  > }
  > 

> > 
> 
> Did I screw something up in there?

Parameter2 id needs to be 1 so it matches the key in parametersPL3 hash.

Not sure if that’s the problem but it’s definitely incorrect.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836)
)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2021-02-03 Thread afriend

erland wrote: 
> The error comes from line 1164 in Dynamic Playlist plugin code:
> https://github.com/erland/lms-dynamicplaylist/blob/6a0c37c4d80e2ebeed307fc3620b757490186b76/src/Plugin.pm#L1164
> As you can see it first try to call bind_columns with three parameters
> and if that fails it calls it with two. So you would get the error from
> the first call but the second should succeed. If you want to get rid of
> the error you will need to provide a SQL that returns three columns. The
> third column should contain the first character of the second column and
> is used to provide quick access to different sections of a long result
> sets. I don’t use the third parameter in the decades value in my
> playlists since it should be a relatively short result set so no quick
> navigation is needed. 
> 
> However, I don’t think your issue is caused by the error message it’s
> probably something else causing the issue ?
> Have you tried enabling debug logging on plugin.dynamicplaylist in
> Settings/Advanced/Logging ? You should get a log entry from line 1180
> that tells you if your SQL returns any rows:
> https://github.com/erland/lms-dynamicplaylist/blob/6a0c37c4d80e2ebeed307fc3620b757490186b76/src/Plugin.pm#L1180
> You can also try your SQL in a free form query in Database Query plugin
> to see if it returns the expected result.
> 
> If you need more help I think it would be best if I could see the whole
> code, could be something else than the SQL that’s causing the issue.

I think there's a tiny misunderstanding the SQL code seems to be ok. It
lists a list of decades to choose from. I've tried the above SQL code
with SQLplaylist and DatabaseQuery and same there. Both return the
decades list and SQLplaylist throws an error (only once instead of
twice) but it also starts the playlist (which my plugin doesn't). 
So the problem/error comes when I try to act on one of these values
(execute).

Since the logs show that the -getNextDynamicPlayListTracks- function
isn't even called yet (the error happens before) here's the content of
the -getDynamicPlayLists- function for the 'rated by decade' playlist:


Code:

sub getDynamicPlayLists {
my ($client) = @_;
my %result = ();
  
my %playlist3 = (
'name' => 'Rated - by DECADE',
'groups' => [['Ratings Light ']]
);
my %parameter2 = (
'id' => 2, # A number between 1-10
'type' => 'custom',
'name' => 'Select decade',
'definition' => "select cast(((tracks.year/10)*10) as 
int),case when tracks.year>0 then cast(((tracks.year/10)*10) as int)||'s' else 
'Unknown' end from tracks where tracks.audio=1 group by 
cast(((tracks.year/10)*10) as int) order by tracks.year desc"
);
  
# PL3
my %parametersPL3 = (
1 => \%parameter2
);
$playlist3{'parameters'} = \%parametersPL3;
$result{'ratingslight_rated-by_decade'} = \%playlist3;
return \%result;
  }
  



Did I screw something up in there?



afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-03 Thread Heuer


Boom with Community f/w?



Heuer's Profile: http://forums.slimdevices.com/member.php?userid=2543
View this thread: http://forums.slimdevices.com/showthread.php?t=113479

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