Re: [slim] Get total playing time with cli

2015-12-06 Thread DJanGo

pkfox wrote: 
> Hi Phillipe, Michael is making the total playing time available on the
> server now but I'll take a look anyway thanks

Hm

that 1st vbs (whatever.vbs or status.vbs) file is nothing else then a
small wget /curl replacement BUT you always need to know whats the
translation for Total Playtime - if you didnt tried it by now you didnt
need it anymore.



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=104748

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread pippin

The latest iPeng update, 9.0.3, comes with two improvements:

First, there is a new "All Albums" submenu of "Browse Years". It shows
you a list of your albums, sorted by the year of the initial release. It
is fully cached and indexed by decade so that you can quickly travel
through time (see image).

The other improvement concerns the artwork loading performance. Since
version 7 artwork loading had some built-in speed limit in iPeng to work
around issues with older devices under iOS 7.0. Through extensive
testing we know now that under iOS 8/9 and on newer devices this is no
longer necessary, so we have changed the loading algorithm, which should
result in some significant speed improvements on newer devices as soon
as the artwork is cached on your iPhone or iPad.

[image:
http://penguinlovesmusic.de/wp-content/uploads/2015/12/IMG_6307.5.jpg]



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App, 
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=104537

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


[slim] Help with curl command

2015-12-06 Thread pkfox

Hi all, I'm trying to run a command against the LMS web server using
curl from a linux terminal but am not being successful this is what I've
tried


Code:


  curl -g -X POST -H "Content-Type: application/json" 
'"{\"id\":1,\"method\":\"slim.request\",\"params\":[null,[\"info total duration 
?\"]]}"' http://10.10.1.11:9000/jsonrpc.js
  



info total duration is a new command Michael added yesterday



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104757

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


Re: [slim] Help with curl command

2015-12-06 Thread DJanGo

pkfox wrote: 
> Hi all, I'm trying to run a command against the LMS web server using
> curl from a linux terminal but am not being successful this is what I've
> tried
> 
> > 
Code:

  >   > 
  > curl -g -X POST -H "Content-Type: application/json" 
'"{\"id\":1,\"method\":\"slim.request\",\"params\":[null,[\"info total duration 
?\"]]}"' http://10.10.1.11:9000/jsonrpc.js
  > 

> > 
> 
> info total duration is a new command Michael added yesterday

our curl looks unknown to me...

i dont know why you want to curl the jsonrpc but if you want...
i didn t update to the newest, but that code is running you had to alter
the request.


Code:

curl 'http://127.0.0.1:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["",["info","total","songs","?"]]}'

 

and this should give you only the wanted output.

Code:

curl 'http://127.0.0.1:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["",["info","total","songs","?"]]}'|cut
 -d '_' -f2- |cut -d ':' -f2|cut -d '}' -f1




Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=104757

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


Re: [slim] Get total playing time with cli

2015-12-06 Thread pkfox

philippe_44 wrote: 
> You could use gnuwin32 which gives you most of these Unix utilities.
> Can't remember if wget is available, but curl is for sure, I'm using it
> quite often

Hi Phillipe, Michael is making the total playing time available on the
server now but I'll take a look anyway thanks



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104748

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


Re: [slim] Get total playing time with cli

2015-12-06 Thread pkfox

> 
> I made it "info total duration ?" and should be available in tomorrow's
> 
> builds.
> 

Hi Michael that works thanks - at the risk of being cheeky could the
command also be incorporated into serverstatus ?



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104748

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


Re: [slim] How to access and update my music via MySqueezebox.com?

2015-12-06 Thread pkfox

janti wrote: 
> Thank you very much! With that password I succeded!
> 
> Best regards
> 
> Jan

Now change the password you got lucky 



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104706

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


Re: [slim] Get total playing time with cli

2015-12-06 Thread pkfox

> 
> 
> I made it "info total duration ?" and should be available in tomorrow's
> 
> builds.
> Michael

Excellent thanks Michael



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104748

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


Re: [slim] Get total playing time with cli

2015-12-06 Thread pkfox

mherger wrote: 
> > Hi there, no that's not what I need, Michael said he had added a new
> > field showing the total play time of the library ( not the playlist )
> 
> I don't think I ever said that, because I always had the playlist in my
> 
> mind
> 
> -- 
> 
> Michael

I must have misinterpreted what you meant - thanks anyway



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104748

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


Re: [slim] Help with curl command

2015-12-06 Thread Julf

DJanGo wrote: 
> and this should give you only the wanted output.
> > 
Code:

  >   > curl 'http://127.0.0.1:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["",["info","total","songs","?"]]}'|cut
 -d '_' -f2- |cut -d ':' -f2|cut -d '}' -f1

> > 

Nice! Somebody who still knows how to use UNIX command line tools! I
might have used awk... :)



"To try to judge the real from the false will always be hard. In this
fast-growing art of 'high fidelity' the quackery will bear a solid gilt
edge that will fool many people" - Paul W Klipsch, 1953

Julf's Profile: http://forums.slimdevices.com/member.php?userid=42050
View this thread: http://forums.slimdevices.com/showthread.php?t=104757

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread pippin

Daverz wrote: 
> Thank you for the continuing work.  However the dates show up where they
> are unwelcome; in the Composer menu, for example.  I never browse by
> date, nor particularly care about it, so I'd rather turn this feature
> off altogether.

There is no change WRT this. The only change is that the index is now by
decades wherever a player list is sorted by year, the sorting itself
isn't changed.
These (sub) menus always have been sorted by year first, it's the server
default, too. 
If you don't want sorting by year for album list below an artist there
is (and always has been) an option for this in iPeng's settings: "Sort
Albums by Name".



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App, 
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=104537

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread Daverz

pippin wrote: 
> The latest iPeng update, 9.0.3, comes with two improvements:
> 
> First, there is a new "All Albums" submenu of "Browse Years". It shows
> you a list of your albums, sorted by the year 
> 

Thank you for the continuing work.  However the dates show up where they
are unwelcome; in the Composer menu, for example.  I never browse by
date, nor particularly care about it, so I'd rather turn this feature
off altogether.



Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=104537

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


Re: [slim] Get total playing time with cli

2015-12-06 Thread pkfox

mherger wrote: 
> > Hi Michael that works thanks - at the risk of being cheeky could the
> > command also be incorporated into serverstatus ?
> 
> Check out tomorrow's builds.
> 
> -- 
> 
> Michael

OK thanks



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104748

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread jfo

pippin wrote: 
> The latest iPeng update, 9.0.3, comes with two improvements:
> 
> First, there is a new "All Albums" submenu of "Browse Years". It shows
> you a list of your albums, sorted by the year of the initial release. It
> is fully cached and indexed by decade so that you can quickly travel
> through time (see image).
> 
> The other improvement concerns the artwork loading performance. Since
> version 7 artwork loading had some built-in speed limit in iPeng to work
> around issues with older devices under iOS 7.0. Through extensive
> testing we know now that under iOS 8/9 and on newer devices this is no
> longer necessary, so we have changed the loading algorithm, which should
> result in some significant speed improvements on newer devices as soon
> as the artwork is cached on your iPhone or iPad.
> 
> [image:
> http://penguinlovesmusic.de/wp-content/uploads/2015/12/IMG_6307.5.jpg]
Nice update Jorge! Thanks..



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=104537

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


Re: [slim] Get total playing time with cli

2015-12-06 Thread Michael Herger

Hi Michael that works thanks - at the risk of being cheeky could the
command also be incorporated into serverstatus ?


Check out tomorrow's builds.

--

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


Re: [slim] Help with curl command

2015-12-06 Thread Michael Herger

Hi all, I'm trying to run a command against the LMS web server using
curl from a linux terminal but am not being successful this is what I've
tried


You don't need help with curl, but with the jsonrpc.js implementation 
;-). As you might have seen from Jan's response you'll have to separate 
the words of your query. Rather than ["info total duration"], you need 
to send ["info", "total", "duration"].


Whenever you ask for help, please make sure you include error messages, 
results etc. for your actions, too. You didn't mention what your query 
returned. And by watching the server.log file you'd probably have seen 
that LMS was complaining about an invalid command or similar.



--

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


Re: [slim] Help with curl command

2015-12-06 Thread pkfox

mherger wrote: 
> > Hi all, I'm trying to run a command against the LMS web server using
> > curl from a linux terminal but am not being successful this is what
> I've
> > tried
> 
> You don't need help with curl, but with the jsonrpc.js implementation 
> ;-). As you might have seen from Jan's response you'll have to separate
> 
> the words of your query. Rather than ["info total duration"], you need 
> to send ["info", "total", "duration"].
> 
> Whenever you ask for help, please make sure you include error messages,
> 
> results etc. for your actions, too. You didn't mention what your query 
> returned. And by watching the server.log file you'd probably have seen 
> that LMS was complaining about an invalid command or similar.
> 
> 
> -- 
> 
> Michael

Apologies, this week has been a steep learning curve for me  -
thanks



We can't stop here this is bat country. RIP Hunter S Thompson.

pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=104757

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


Re: [slim] LMS and Windows 10?

2015-12-06 Thread grewluffigo

As with bwaldron

B4Life



grewluffigo's Profile: http://forums.slimdevices.com/member.php?userid=65097
View this thread: http://forums.slimdevices.com/showthread.php?t=104699

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread Michael Herger

These (sub) menus always have been sorted by year first, it's the server
default, too.


No, it's not. Default is album name. There's only one list which is 
sorted by year by default: "Browse by years".

--

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread pippin

What kind of menu is this? CustomBrowse? Or LMS 7.9, additional browse
mode?



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App, 
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=104537

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


Re: [slim] Announcing iPeng 9 - Support for iPad Multitasking, iPad Pro and more

2015-12-06 Thread Daverz

pippin wrote: 
> There is no change WRT this. The only change is that the index is now by
> decades wherever a player list is sorted by year, the sorting itself
> isn't changed.
> These (sub) menus always have been sorted by year first, it's the server
> default, too. 
> If you don't want sorting by year for album list below an artist there
> is (and always has been) an option for this in iPeng's settings: "Sort
> Albums by Name".
> 

Ah, thanks.  Obviously I'm not very observant!  Thanks, again, for the
quick reply.



Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=104537

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


[slim] Broken SB3 if someone wants it

2015-12-06 Thread Wigster

My 8-year-old SB3 died a couple of weeks ago (not PSU nor WiFi card). I
have since replaced it with a Paspberry Pi. 

I can send someone the SB3 unit for parts at cost of shipping. I'd keep
the remote control though.

It's from Switzerland unfortunately, so there are border to get through.
First come, first served.



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

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