Re: [SlimDevices: Plugins] JSON protocol for 3rd party apps support

2021-04-20 Thread olivaar


i found that this documentationis ok

https://github.com/elParaguayo/LMS-CLI-Documentation/blob/master/LMS-CLI.md

with this documentation i realized a smarthome adapter in
node/javascript

https://github.com/oweitman/ioBroker.squeezeboxrpc

on base of an library that i updated the dependencies
https://github.com/oweitman/squeezenode



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=114363

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-03-18 Thread olivaar


jdownloader is able to download as mp4a.
maybe someone can make a plugin

mixcloud boost download speed for the first seconds an limit it after
that to 20kb/s
https://github.com/mirror/jdownloader/blob/master/src/jd/plugins/hoster/MixCloudCom.java



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2021-03-16 Thread olivaar


bpa wrote: 
> These streams need full mPEG-4 video & audio handling.
> 
> The pLayhLS V2 implements MP3, ADTS, MPEG-2/MP3, MPEG2-AAC and
> MPEG2-Video handling 
> I didn't implement MPEG4 as it was never used in any streams I found up
> to now.
> 
> So this needs whole chunk of new code. I have some MPEG-4 ftype audio
> (no video and no stype) handling elsewhere but it would take time and so
> it will not be done soon.

thank you for your effort.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

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


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2021-03-16 Thread olivaar


bpa wrote: 
> I look into this and hope it is this simple bit and not also just a
> stepping stone onto another problem with the video stream and the
> "OPTIONS"
> 
> I think this is the first stream of version 7 that has been tried. Most
> audio streams are older version of the HLS protocol - live with no
> significant amount of audio buffered .
> This additional element is required for seeking to a specific time point
> - seek is not a feature which is supported by the plugin.

thank you for looking in to the code.

I noticed one thing while reading the specification of
https://tools.ietf.org/html/rfc8216:
there is no defined order of the tags. the assumption that #EXIF always
comes first can sometimes be wrong.

Therefore I would adapt the code in ScanHLS, line 187 so that 
a) recognize EXIF and add only the duration and segmentlength to
hlsdetails and 
b) in a seperate if: recognize lines which didnt start with a #, then
that must be the url. this marks the end of a media segment and triggers
the push of informations to hlsdetails.chunk


Relevant extracts from specifiaction

-Each line is a URI, is blank, or starts with the character '#'.  Blank
lines are ignored.
Lines that start with the character '#' are either comments or tags.
Tags begin with #EXT.  They are case sensitive.  All other lines
that
begin with '#' are comments and SHOULD be ignored.

Playlist tags specify either global parameters of the Playlist or
information about the Media Segments or Media Playlists that appear
after them.
-
therefor lines with urls ar always the last line of a media segment



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

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


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2021-03-15 Thread olivaar


bpa wrote: 
> They are doing something special - I see "OPTIONS" request being used -
> not usual.
> 
> Normally for "awkward" streams, I advise to use PlayHLS V1  which uses
> ffmpeg but even ffmpeg cannot play these streams and ffmpeg is the
> engine within vlc.
> 
> 
> that is the problem. It is a real pain to test and there is no guarantee
> for exact same.
> 
> To update PlayHLS V2 to play these stream - need to determine what is
> missing from mainstream player like ffmpeg, add it and then add video
> support which is not going to be used just discarded !! a lot of effort
> - not a quick fix - so it will not happen soon.  Only when time allows.


ok, i found a problem in the hls2 code:

m3u8 eample copied from debug log:


Code:

  '#EXTM3U',
  '#EXT-X-VERSION:7',
  '#EXT-X-TARGETDURATION:2',
  '#EXT-X-MEDIA-SEQUENCE:1615849310782700',
  '#EXT-X-MAP:URI="init-1615849310551.mp4"',
  '#EXTINF:2.00,',
  '#EXT-X-PROGRAM-DATE-TIME:2021-03-16T00:12:36.000+',
  'index-720p1615849310782700.m4s',
  '#EXTINF:2.00,',
  '#EXT-X-PROGRAM-DATE-TIME:2021-03-16T00:12:38.000+',
  'index-720p1615849310782701.m4s',


snip

list of resulting chunk files


Code:

  'endlist' => 0,
  'independent_segments' => 0,
  'duration' => '40',
  'chunks' => [
  {
  'chunknum' => '1615849310782700',
  'len' => '2.00',
  'url' => 
'https://cdn-fastly-live-euw1-eks.mixcloud.com/hls/192E168A11D75/1616022110/-2AKuKjh5mGc2mDh_AF0Jw/637aefff-cd3c-4c85-b8a4-5630704894a1/index-720p.m3u8#EXT-X-PROGRAM-DATE-TIME:2021-03-16T00:12:36.000+'
  },
  {
  'chunknum' => '1615849310782701',
  'url' => 
'https://cdn-fastly-live-euw1-eks.mixcloud.com/hls/192E168A11D75/1616022110/-2AKuKjh5mGc2mDh_AF0Jw/637aefff-cd3c-4c85-b8a4-5630704894a1/index-720p.m3u8#EXT-X-PROGRAM-DATE-TIME:2021-03-16T00:12:38.000+',
  'len' => '2.00'
  },
  {
  'chunknum' => '1615849310782702',
  'len' => '2.00',
  'url' => 
'https://cdn-fastly-live-euw1-eks.mixcloud.com/hls/192E168A11D75/1616022110/-2AKuKjh5mGc2mDh_AF0Jw/637aefff-cd3c-4c85-b8a4-5630704894a1/index-720p.m3u8#EXT-X-PROGRAM-DATE-TIME:2021-03-16T00:12:40.000+'
  },
  {



the url of the chunks isnt correct calculated.
the code in ScanHLS.pm after line 187 assumes that the line after
#EXTINF is the url.
to correct this, you can ignore any lines start with "#" after #EXTINF
till a line that starts without a #

the url should something like this

'url' =>
'https://cdn-fastly-live-euw1-eks.mixcloud.com/hls/192E168A11D75/1616022110/-2AKuKjh5mGc2mDh_AF0Jw/637aefff-cd3c-4c85-b8a4-5630704894a1/index-720p1615849310782700.m4s'

and not

'url' =>
'https://cdn-fastly-live-euw1-eks.mixcloud.com/hls/192E168A11D75/1616022110/-2AKuKjh5mGc2mDh_AF0Jw/637aefff-cd3c-4c85-b8a4-5630704894a1/index-720p.m3u8#EXT-X-PROGRAM-DATE-TIME:2021-03-16T00:12:36.000+'



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

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


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2021-03-14 Thread olivaar


bpa wrote: 
> Where are the URLs - I'm going to spend time hunting them down.
> edit:
> 
> First look at website 
> 
> 1. Streams have video 
> 2. Stream require DRM - I don't implement DRM


can VLC play DRM-Streams?
i think the live streams are without DRM

If i look into the codec information in vlc i see 2 streams
a) video H264 MPEG 4 AVC
b) audio MPEG AAC

As I wrote, I could post links, but these are only valid during the live
session.

eg: 
https://cdn-fastly-live-euw1-eks.mixcloud.com/hls/192E168A46D240/1615938979/djXqc9exaXRoEqbjDmtevA/25426559-3a4b-4ec7-92c5-4d388fce511d/index-720p.m3u8
valid 15.3.2021 01:40 CET


therefore you have to click on any video and then extract the link as
follows:

1) play the stream, 
2) open the developer tools of your browser and look into the network
tab.
3) the m3u8-file is requested every few seconds.
4) copy the link and open it with vlc/play network stream



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

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


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2021-03-13 Thread olivaar


is it possible to play mixcloud live streams?
it seems that this streams are also HLS

the links are only valid during the live sessions.
to try one, please go to the following site

https://www.mixcloud.com/live/

and select one of the streams.

to get the m3u8 file, open the developer tools of your browser and loook
into the network tab.
the m3u8 is requested every few seconds.
copy the link and open it with vlc/play network stream

LMS didnt play the stream.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

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


Re: [SlimDevices: Plugins] Bluetooth-Speaker with squeezelite on Raspberry 3B+

2019-06-24 Thread olivaar


The 2.Version was improved by the help of cpd73 and paul-
Now it can handle more than one BT-Speaker
Additional the dbus-signal-handling was improved

The Installation guide is available at
https://github.com/oweitman/squeezelite-bluetooth



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=109194

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


[SlimDevices: Plugins] ioBroker.squeezeboxrpc Adapter

2019-04-27 Thread olivaar


To whom it may concern:
If somebody have installed the 'ioBroker smart home'
(http://www.iobroker.net/)
i have implemented a new adapter that based on the JSON/RPC-protocol.
the adapter creates some datapoints for server/player/favorites/playlist
in iobroker
which you can use to show it in a visualization (also provided with
iobroker), to track or control the LMS
actually i use the adapter to control 3 squeezeboxes in different rooms

27253

not all control functions of LMS are implemented at the moment.
documentation is available in github
feature requests are welcome

https://github.com/oweitman/ioBroker.squeezeboxrpc
https://forum.iobroker.net/topic/21809/neuer-adapter-squeezeboxrpc


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


olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=110512

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2019-04-16 Thread olivaar


i tested the search function right now.
search term was "radio"
it took over 1 Minute to display the search results
also on directory.shoutcast.com the search function was not very fast.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2019-04-15 Thread olivaar


Because the shoutcast api changes the access url,
with this update the Shoutcast-Plugin worked again

the Plugin is a, from mysqueezebox.com independent, solution to access
the shoutcast-directory https://directory.shoutcast.com/



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


[SlimDevices: Plugins] Bluetooth-Speaker with squeezelite on Raspberry 3B+

2018-06-26 Thread olivaar


i have made a guide, how to enable a bluetooth speaker on Raspberry pi
3b+ headless and use it dynamicly if i need the bluetoothspeaker.
after first installation and configuration you can turn
bluetooth-speaker on and off, without any interaction.
if the squeezelite player on the bluetooth-raspi is in an sync group
music starts automaticly

i dont know if i have miss something from my installation and
configuration. maybe there are some errors in the guide.
if you want to try, i can improve the guide.

https://github.com/oweitman/squeeze-bluetooth

(i know there is also the picoreplayer with bluetooth support, but i
need the raspberry for some other services)



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=109194

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2017-12-17 Thread olivaar

With the help of molobrakos and his new Mobile Skin
(https://github.com/molobrakos/lms-mobileskin) i changed the Plugin
deployment process of this plugin.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-10-01 Thread olivaar

Normaly, if you shut down the server, the music ends then the
device-cache is empty.
But i dont know all squeeze devices.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-10-01 Thread olivaar

SlimChances wrote: 
> +1
> 
> Is there any chance another category can be added to settings/bitrate 
> filtering *192 kb/s and up*?
olivaar wrote: 
> Yes, i add it
v0.19 = done



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-10-01 Thread olivaar

Yes, i add it



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-09-28 Thread olivaar

i removed the  tag from the install.xml
people who didnt want or cant update the LMS
should not have problems to install the plugin.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-09-27 Thread olivaar

hmm,
the install.xml ist correct:

false

i have to check this tomorrow.



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


Re: [SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-09-27 Thread olivaar

Update to v0.17
for easy install i added a repository
now tested on debian jessie, piCorePlayer (raspberry pi) and synology
diskstation



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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


[SlimDevices: Plugins] Announce: Shoutcast Plugin

2016-06-21 Thread olivaar

Hi,
i have made an shoutcast-plugin that is independent from a
mysqueezebox.com-login.
Actual this is only for testing purpose.

you can find the source at https://github.com/oweitman/LMS-shoutcast

1) download the source
2) check on the information-page in the LMS-settings for your
plugin-folders
3) in the plugin-folder create a new directory named "NewShoutcast"
4) copy the downloaded source in this directory
5) restart LMS

any response are welcome



olivaar's Profile: http://forums.slimdevices.com/member.php?userid=64848
View this thread: http://forums.slimdevices.com/showthread.php?t=105783

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