Re: [SlimDevices: Plugins] Adding a Spotty (Spotify) playlist to Favorites with the command line interface issue

2020-06-01 Thread louisvanwijk


Thanks Michael

I will look into SlimBrowser

Louis



SlimDevices SqueezeBox V3
SqueezeBox Boom
SqueezeBox Touch

louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=112320

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


Re: [SlimDevices: Plugins] Adding a Spotty (Spotify) playlist to Favorites with the command line interface issue

2020-05-30 Thread louisvanwijk


Thank you for your reply.

I am using the LMS Command Line interface to access my server via an iOS
app. 

Specifically I am using the Plugins command to browse and play radio
stations and Spotify via the Spotty and Radio plugins. 

Browsing radio stations I would issue a request like:


Code:

{
"id": "1",
"params": ["b8:27:eb:6f:cb:50", ["local", "items", "0", "want_url:1", 
"item_id:4bcbd38a.0.6"]],
"method": "slim.request"
  }



And receive a response like:


Code:

{
"method": "slim.request",
"params": ["b8:27:eb:6f:cb:50", ["local", "items", "0", "want_url:1", 
"item_id:4bcbd38a.0.6"]],
"result": {
"count": 1,
"loop_loop": [{
"id": "4bcbd38a.0.6",
"name": "91.1 | MPR News (US News)",
"isaudio": 1,
"now_playing_id": "s34350",
"image": 
"http://cdn-profiles.tunein.com/s34350/images/logoq.png;,
"formats": "mp3",
"guide_id": "s34350",
"bitrate": "128",
"preset_id": "s34350",
"item": "station",
"type": "audio",
"reliability": "98",
"url": 
"http://opml.radiotime.com/Tune.ashx?id=s34350=aac,ogg,mp3=16=c1da3ec8d836625ee72ead10502a9cea;,
"genre_id": "g3124",
"value": 
"http://opml.radiotime.com/Tune.ashx?id=s34350=aac,ogg,mp3=16=c1da3ec8d836625ee72ead10502a9cea;,
"subtext": "Discovering what matters.",
"is_preset": "true"
}]
},
"id": "1"
  }



To add that radio station to my favorites I would issue the following
request:


Code:

{
"params": ["b8:27:eb:6f:cb:50", ["favorites", "add", "title:91.1 | MPR 
News (US News)", 
"url:http:\/\/opml.radiotime.com\/Tune.ashx?id=s34350=aac,ogg,mp3=16=c1da3ec8d836625ee72ead10502a9cea",
 "item_id:3.0"]],
"method": "slim.request",
"id": "1"
  }



Passing the required parameters, title, url and item_id.

I would like to do the same for Spotify items, playlists albums and
individual tracks. However the responses I receive when navigating the
Spotify items does not return an URL even if the "want_url:1" parameter
is specified.

For example a request:


Code:

{
"params": ["b8:27:eb:6f:cb:50", ["spotty", "items", "0", "want_url:1", 
"item_id:5.70"]],
"id": "1",
"method": "slim.request"
  }
  



This is the response:


Code:

{
"id": "1",
"method": "slim.request",
"result": {
"title": "Wicked Game by Ursine Vulpine",
"loop_loop": [{
"id": "5.70.0",
"name": "1. Wicked Game by Ursine Vulpine, Annaca from 
Wicked Game",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67616db273b1407a52560b699b7e3fbb58/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "5.70.1",
"name": "Add album to library",
"isaudio": 0,
"hasitems": 1
}, {
"id": "5.70.2",
"name": "Artist: Annaca",
"image": "plugins/Spotty/html/images/account.png",
"isaudio": 0,
"hasitems": 1
}, {
"id": "5.70.3",
"name": "Artist: Ursine Vulpine",
"image": "plugins/Spotty/html/images/account.png",
"isaudio": 0,
"hasitems": 1
}, {
"id": "5.70.4",
"name": "Year: 2016",
"type": "text",
"isaudio": 0,
"hasitems": 0
}],
"count": 5
},
"params": ["b8:27:eb:6f:cb:50", ["spotty", "items", "0", "want_url:1", 
"item_id:5.70"]]
  }



In this cannot use the "Favorites add" command because I do not have a
URL.

I might be crazy but I believe I was able to add Spotify items to my
favorites, using this approach a few weeks ago.

By the way thank you for all your work in keeping the
SlimDevices/SqueezeBox/LMS eco system alive.



SlimDevices SqueezeBox V3
SqueezeBox Boom
SqueezeBox Touch

louisvanwijk's Profile: 

[SlimDevices: Plugins] Adding a Spotty (Spotify) playlist to Favorites with the command line interface issue

2020-05-29 Thread louisvanwijk


I am attempting to add a Spotify playlist to my favorites with the
command line interface. To do that I need an URL for the playlist to
add.

However using the "want_url:1" parameter does not return an URL for the
playlists.

Request

Code:

{
"id": "1",
"method": "slim.request",
"params": ["b8:27:eb:6f:cb:50", ["spotty", "items", "0", "want_url:1", 
"item_id:7"]]
  }



Response:

Code:

{
"method": "slim.request",
"id": "1",
"params": ["b8:27:eb:6f:cb:50", ["spotty", "items", "0", "want_url:1", 
"item_id:7"]],
"result": {
"title": "Playlists",
"loop_loop": [{
"id": "7.0",
"name": "'90s Pop Rock Essentials",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002f9d4c3a19492053e81e6e0a9/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.1",
"name": "Rock Classics",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f000245968012599bbc77e7bd1688/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.2",
"name": "70s Rock Anthems",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002dc983c18c09291901b75e3ef/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.3",
"name": "90s Rock Anthems",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002b6e605ef428ddef4b7ce24aa/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.4",
"name": "Songs to Sing in the Car",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002ffa215be1a4c64e3cbf59d1e/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.5",
"name": "Classic Road Trip Songs",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002fd076b5e9bdffcd1929c7290/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.6",
"name": "All Out 70s",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002f0c5c7ed627d220ee59581ca/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.7",
"name": "Classic Covers",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f000200b9a7341b366f020ada0f54/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.8",
"name": "60s Rock Anthems",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f0002879d28e1d86eb053bccaa4ae/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.9",
"name": "90s Acoustic",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f00023c06a52059251e4b7fc18498/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.10",
"name": "Here Comes The Sun",
"type": "playlist",
"image": 
"/imageproxy/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67706f000210bf2444fffc8a39d4555a15/image.png",
"isaudio": 1,
"hasitems": 1
}, {
"id": "7.11",
"name": "00s Rock Anthems",
"type": "playlist",
"image": 

Re: [SlimDevices: Plugins] Apple will require HTTPS connections for iOS apps by the end of 2016

2016-11-13 Thread louisvanwijk

After some more research, it appears we will be fine.

https://developer.apple.com/library/prerelease/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html

Apple has introduced a new key "NSAllowsLocalNetworking to allow loading
of local resources without disabling ATS for the rest of your app".

> An optional Boolean value that, when set to YES, removes App Transport
> Security protections for connections to unqualified domains and to
> .local domains, without disabling ATS for the rest of your app.
> If you set this key’s value to YES, then App Transport Security ignores
> the value of the NSAllowsArbitraryLoads key in iOS 10 and later and in
> macOS 10.12 and later. This behavior supports adoption of App Transport
> Security protections while allowing embedded browsers to continue
> working in iOS 9 and earlier and in OS X v10.11 and earlier. (To obtain
> this behavior, set the value of this key to YES and set the value of the
> NSAllowsArbitraryLoads key to YES as well.)
> Default value is NO.
> Available starting in iOS 10.0 and macOS 10.12.



SlimDevices SqueezeBox V3
SqueezeBox Boom
SqueezeBox Touch

louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=106426

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


[SlimDevices: Plugins] Apple will require HTTPS connections for iOS apps by the end of 2016

2016-11-11 Thread louisvanwijk

Apple announced in June that they will require of all iOS app store to
support HTTPS in 2017.

Will this be a issue for 3rd party iOS that access LMS? As far as I know
LMS does not support streaming over HTTPS.

If this is a issue, how should we as 3rd party developers handle it?

Thanks
Louis



SlimDevices SqueezeBox V3
SqueezeBox Boom
SqueezeBox Touch

louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=106426

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


Re: [SlimDevices: Plugins] Announce: SlimLibrary App for the Apple TV

2016-03-31 Thread louisvanwijk

philippe_44 wrote: 
> Cool ! I don't know if it can help, but my plugin AirPlay bridge detects
> AirPlay devices (including AppleTV) and creates virtual LMS players that
> will play directly, with synchronization, on the AirPlay device

Awesome. Thanks for your offer. 

I have my own implementation of a SlimProto client running natively in
the app and my biggest challenge right now is with the SlimProto
protocol. All the documentation I could find is very concise and sparse.


Can I message you in private if I have any specific question?


Thanks
Louis



SlimDevices SqueezeBox V3
SqueezeBox Boom
SqueezeBox Touch

louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=105399

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


Re: [SlimDevices: Plugins] Announce: SlimLibrary App for the Apple TV

2016-03-30 Thread louisvanwijk

strim wrote: 
> Hi Louis,
> Will it synchronize with other squeeze players ?
> Great work !
> 
> Sander

Hi Sander

Unfortunately synchronization is not fully functional at the moment. It
is something I hope to have in a future release.

Thanks
Louis



louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=105399

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


[SlimDevices: Plugins] Announce: SlimLibrary App for the Apple TV

2016-03-29 Thread louisvanwijk

I am pleased to announce the release of SlimLibraryTV application for
the 4th generation Apple TV.

FEATURE SUMMARY:[/B] 
· VIEW ALBUM IMAGES, LIKE THE BACK COVER OF THE ALBUM, OR THE INNER
SLEEVE.
· LISTEN TO YOUR MUSIC ON YOUR APPLE TV.
· READ THE ALBUM INFORMATION THAT YOU HAVE UPLOADED TO THE SERVER.
· ENHANCED FILTER FUNCTIONALITY. COMBINE MULTIPLE SEARCH FIELDS,
ARTISTS, GENRES OR YEARS, TO CREATE COMPLEX ALBUM FILTERS. 

SLIMLIBRARYTV USES A SERVER PLUGIN MODULE TO PROVIDE THE ADDITIONAL
FEATURES.

*BROWSING
You can browse your music library by artists, genres, albums  or view
the newest albums uploaded to your server.

Filter the albums selections by combining multiple search fields,
artists, genres or years. Choose from multiple sort orders and set it to
ascending or descending order.

[B]View album Images**
The SlimLibrary plugin gives you the ability to view any images you have
uploaded to the album folder on the server.
Now you can upload and view the back cover or inner sleeve of the album
or cd, and view it on your Apple TV. Scan the booklet that comes with
your cd and upload it to your server to view and read it on your TV.

*Read album information**
If you have the "Music and Artist Information" plugin installed, the
album review will display in the album detail screen. You can upload a
info.txt text file to the album folder on your server and if the "Music
and Artist Information" plugin does not find a review, the App will
display the info file. 

*feature provided by SlimLibrary plugin module.

SlimLibraryTV is bundled with the SlimLibrary for iOS app, which means
that if you buy the one you also get the other.

Download it from the Apple TV App Store today.

'HomePage' (http://slimlibrary.matglo.com)
'Screenshots' (http://slimlibrary.matglo.com/apple-tv-screenshots/)
'Plugin Page'
(https://bitbucket.org/matglo/slimlibraryplugin/wiki/Home)


Thank you!
Louis van Wijk



louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=105399

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


Re: [SlimDevices: Plugins] Announce: SlimLibrary - new iOS remote control and player for Logitech Media Server

2015-08-19 Thread louisvanwijk

pippin wrote: 
 The update still crashes right on launch for me.
 iOS 8.4
 LMS 7.8.0, 7.5.5 and 7.9, I think the active one is 7.8
 
 It's also still the second largest non-game App on my iPhone (second
 only to facebook) taking up six times as much space than iPeng, even
 when iPeng contains a whole set of custom fonts. What makes the App so
 huge?

I apologize that you are still having problems with the app.

My setup is fairly close to yours. I have:

LMS 7.8.1 on OS X Yosemite
LMS 7.9.0 on IS X Yosemite

and

LMS 7.8.1 on Windows server 2012

The app crashed before when handling the name of the player it receives
from the server. I was able to reproduce the crash that occurred for you
by inserting special characters in my player name, and that enabled my
to produce a fix.

Could you please send me your crash report to slimlibr...@matglo.com and
I will investigate.

As far as the size of the app goes, the on boarding backgrounds and
images make up a large chunk: 44 MB. It is also written in Swift, which
produces larger executables than Objective C.

Thanks
Louis



louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=104075

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


Re: [SlimDevices: Plugins] Announce: SlimLibrary - new iOS remote control and player for Logitech Media Server

2015-08-10 Thread louisvanwijk

pippin wrote: 
 Oh... And is there a way to send you debug info? It just crashes on
 startup for me now.

I have submitted a fix that will prevent the crash, to the app store.

Could you tell me what version of LMS and what OS were you using when
you got the crash? 

Thanks
Louis



louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=104075

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


Re: [SlimDevices: Plugins] Announce: SlimLibrary - new iOS remote control and player for Logitech Media Server

2015-08-03 Thread louisvanwijk

pippin wrote: 
 Oh... And is there a way to send you debug info? It just crashes on
 startup for me now.

Hi Pippin

You can send the debug info to slimlibr...@matglo.com. I will look into
it.

Thanks



louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=104075

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


[SlimDevices: Plugins] Announce: SlimLibrary - new iOS remote control and player for Logitech Media Server

2015-08-03 Thread louisvanwijk

I am pleased to announce the release of SlimLibrary version 1.0, a new
iOS remote control and player for the Logitech Media Server.


FEATURE SUMMARY:
·   View album images, like the back cover of the album, or the inner
sleeve.
·   Listen to music on your IOS device.
·   Read the album information that you have uploaded to the server.
·   View videos on your ios device.
·   Enhanced query functionality. Combine multiple search fields,
artists, genres or years, to create complex search queries. 


SlimLibrary uses a server plugin module to provide the additional
features.


BROWSING

You can browse your music library by a selected artist, genre or year,
or view the newest albums uploaded to your server.

Combine an artist with a genre or year to fine tune your selection.

Choose from multiple possible sort fields to sort your selection by
album, artist, year and various combinations.

The SlimLibrary plugin allows you even greater control of your selection
by combining multiple artists, genres or years, in a single selection
and letting you select an ascending or descending sort order.

In addition the plugin also lets you sort by date added to the server.

VIEW ALBUM IMAGES[/B]*
THE SLIMLIBRARY PLUGIN GIVES YOU THE ABILITY TO VIEW ANY IMAGES YOU HAVE
UPLOADED TO THE ALBUM FOLDER ON THE SERVER.
NOW YOU CAN UPLOAD AND VIEW THE BACK COVER OR INNER SLEEVE OF THE ALBUM
OR CD, AND VIEW IT ON YOUR IOS DEVICE. SCAN THE BOOKLET THAT COMES WITH
YOUR CD AND UPLOAD IT TO YOUR SERVER TO VIEW AND READ IT ON YOUR
DEVICE.

*PLAY VIDEOS**
SLIMLIBRARY WILL LET YOU VIEW AND PLAY VIDEOS THE YOU HAVE UPLOADED TO
YOUR SERVER. VIDEO FORMATS SUPPORTED ARE THE IOS SUPPORTED FORMATS.

*READ ALBUM INFORMATION**
YOU CAN UPLOAD A TEXT FILE WITH ALBUM INFORMATION AND DISPLAY IT ON YOUR
DEVICE WITH THE PLUGIN INSTALLED. PUT 
THE LINER NOTES IN A INFO.TXT FILE, UPLOAD TO THE SERVER IN THE ALBUM
FOLDER AND VIEW IT ON YOUR DEVICE.

[B]TODAY VIEW
Quickly acces the main player controls from the today view. Increase or
decrease volume, pause or play, go to to next or previous track and open
SlimLibrary app form the today widget. 

*feature provided by SlimLibrary plugin module.

'Home Page' (http://slimlibrary.matglo.com)
'Plugin Page'
(https://bitbucket.org/matglo/slimlibraryplugin/wiki/Home)
'iPad screenshots' (http://slimlibrary.matglo.com/ipad-screenshots/)
'iPhone screenshots'
(http://slimlibrary.matglo.com/iphone-screenshots/)

Thank you very much.

Louis



louisvanwijk's Profile: http://forums.slimdevices.com/member.php?userid=63405
View this thread: http://forums.slimdevices.com/showthread.php?t=104075

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