Re: [SlimDevices: SqueezeCenter] Streaming (Audio) from Enigma2 Receiver

2019-12-06 Thread squeezebox_Fan


Hello Dreambox and Enigma2 users,

BPA has reinvented his PlayHLS Plugin.
https://forums.slimdevices.com/showthread.php?103158-Announce-PlayHLS-Plugin-plugin-to-play-Apple-HLS-m3u8-stream

It works even better ! Thats great.  MANY THANKS 

But it broke the capability to play Radio Streams from Enigma2 /
Dreambox Receivers for me.

I striped the BPA PlayHLS 1.1 Plugin down, to only work for Enigma
Streams.

Unzip the archive and put it in ../Squeezeboxserver/Server/Plugin folder
and restart. Since it is based on Version 1.1, FFMPEG.exe is still
needed! So it still takes about 25 Seconds to start playing ;-((

Therafter you can upgrade to the latest BPA PlayHLS Plugin ;-))

@BPA: In case you are reading this, maybe you can give me a hint, to
configure your new Plugin to work with my Enigma2 streams also. I tried
your old tip, but it  did not work.


+---+
|Filename: PlayEMM.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=28687|
+---+


*Hardware:* 1 Touch,3 Radio,1 Boom,1 SB3, PiCorePlayer
*Players Software:* squeezelite
*Steuerung:* 'Squeeze Comander'
(https://play.google.com/store/apps/details?id=de.cedata.android.squeezecommander&hl=de)
*Plugins:*"SpiceFly; Custom Browse, TrackStat; Custom Scan;
'MusicInfoSCR'
(http://www.herger.net/slim-plugins/detail.php@nr=446&kategorie=slim-plugins);
'LazySearch 2' (http://www.hickinbottom.com/lazysearch),
JustCovers,PlayHLS with Dreambox extension, and more.

LMS 7.9.2 WINDOWS 10 1903 64Bit &'MusicIP '
(http://www.spicefly.com/)Server

squeezebox_Fan's Profile: http://forums.slimdevices.com/member.php?userid=63027
View this thread: http://forums.slimdevices.com/showthread.php?t=104324

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


Re: [SlimDevices: SqueezeCenter] LMS Prevent Sleep - macOS Catalina

2019-12-06 Thread Tony T


Found the problem, fixed.

The Prevent System Standby (v3.0) Plugin (line 27/28) uses the
caffeinate with the -i flag (Create an assertion to prevent the system
from idle sleeping)
By changing the flag to -s (Create an assertion to prevent the system
from sleeping. This assertion is valid only when system is running on AC
power), the plugin now prevents my system from sleeping.

Michael, can the Prevent System Standby be updated for this?
Both the -i and -s command can be run for both assertions with
caffeinate -is (you can see both are working with "pmset -g assertions |
grep caffeinate"



Tony
  SBTouch ♪ SBRadio ♬

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=111304

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


Re: [SlimDevices: SqueezeCenter] LMS Prevent Sleep - macOS Catalina

2019-12-06 Thread Michael Herger

The Prevent System Standby (v3.0) Plugin (line 27/28) uses the
caffeinate with the -i flag (Create an assertion to prevent the system
from idle sleeping)
By changing the flag to -s (Create an assertion to prevent the system
from sleeping. This assertion is valid only when system is running on AC
power), the plugin now prevents my system from sleeping.


Now that's interesting. Because the last change to that file was almost 
four years ago - to replace -s with -i:


https://github.com/Logitech/slimserver/commit/9f1a3ec8b06bfd10693c186dca2a92c688f84159#diff-22adc3ba966f4a52b31693cb5d299c6a

The commit message then said "kIOPMAssertionTypePreventSystemSleep no 
longer supported".


--

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


Re: [SlimDevices: SqueezeCenter] Streaming (Audio) from Enigma2 Receiver

2019-12-06 Thread bpa


squeezebox_Fan wrote: 
> Hello Dreambox and Enigma2 users,
> 
> BPA has reinvented his PlayHLS Plugin.
> https://forums.slimdevices.com/showthread.php?103158-Announce-PlayHLS-Plugin-plugin-to-play-Apple-HLS-m3u8-stream
> 
> It works even better ! Thats great.  MANY THANKS 
> 
> But it broke the capability to play Radio Streams from Enigma2 /
> Dreambox Receivers for me.
> 
> I striped the BPA PlayHLS 1.1 Plugin down, to only work for Enigma
> Streams.
> 
> Unzip the archive and put it in ../Squeezeboxserver/Server/Plugin folder
> and restart. Since it is based on Version 1.1, FFMPEG.exe is still
> needed! So it still takes about 25 Seconds to start playing ;-((
> 
> Therafter you can upgrade to the latest BPA PlayHLS Plugin ;-))
> 
> @BPA: In case you are reading this, maybe you can give me a hint, to
> configure your new Plugin to work with my Enigma2 streams also. I tried
> your old tip, but it  did not work.

There is a lot of history to this and I have not read through the old
message to remember specific detaisl - so this is off the top of my
head.

OK the message is a bit mixed up.  The following is my understanding.

1. You are using PlayHLS V2. to play HLS streams
2. You have hacked PlayHLS to use ffmpeg to just play EMM stream which
have a mime type video/mpeg and suffix mp2. The EMM stream have NOTHING
to so with HLS and so new plugin will not help yoru EMM stream as your
stream  uses a different decoder within ffmpeg.
3. PlayHLS V2 now just handles HLS streams - your EMM stream is NOT HLS
probably something like plain http/MPEG-TS and so would need a
significant re-write of the PlayHLS plugin to create a new Plugin - not
a few lines changed in a config file.

Your existing PlayEMM should still work - although the delay of 25
seconds is very strange - I suspect it could be improved with ffmpeg
options.



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

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


Re: [SlimDevices: SqueezeCenter] LMS Prevent Sleep - macOS Catalina

2019-12-06 Thread Tony T


mherger wrote: 
> > The Prevent System Standby (v3.0) Plugin (line 27/28) uses the
> > caffeinate with the -i flag (Create an assertion to prevent the
> system
> > from idle sleeping)
> > By changing the flag to -s (Create an assertion to prevent the system
> > from sleeping. This assertion is valid only when system is running on
> AC
> > power), the plugin now prevents my system from sleeping.
> 
> Now that's interesting. Because the last change to that file was almost
> 
> four years ago - to replace -s with -i:
> 
> https://github.com/Logitech/slimserver/commit/9f1a3ec8b06bfd10693c186dca2a92c688f84159#diff-22adc3ba966f4a52b31693cb5d299c6a
> 
> The commit message then said "kIOPMAssertionTypePreventSystemSleep no 
> longer supported".
> 
> -- 
> 
> Michael

The best solution would be the plugin to use caffeinate -is or to have
an option in settings for "idle sleep" or "system from sleep"

Both are supported in Catalina:

if ( $command = Slim::Utils::Misc::findbin('caffeinate') ) {
$command .= ' -is';
}


Code:


  mac-mini:~ Tony$ pmset -g assertions | grep caffeinate
  pid 22815(caffeinate): [0x85aa00018c65] 00:00:27 
PreventUserIdleSystemSleep named: "caffeinate command-line tool"  
Details: caffeinate asserting forever
Localized=THE CAFFEINATE TOOL IS PREVENTING SLEEP.
  pid 22815(caffeinate): [0x85aa00078c66] 00:00:27 PreventSystemSleep 
named: "caffeinate command-line tool"  
Details: caffeinate asserting forever
Localized=THE CAFFEINATE TOOL IS PREVENTING SLEEP.
  mac-mini:~ Tony$ 
  




Tony
  SBTouch ♪ SBRadio ♬

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=111304

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


Re: [SlimDevices: SqueezeCenter] LMS on MacOS 10.15 "Catalina"?

2019-12-06 Thread crazybake


mherger wrote: 
> >
> Well... Catalina got rid of iTunes. And the new music app does not 
> export the XML file LMS uses for the integration any more. Workarounds 
> have been discussed here. Michael

Thanks Michael, I am obviously aware of the lack of .xml support. I
thought I did a good job job of explaining that I was able to use the
workarounds to get my entire music library and LMS working great. I just
simply had the issue that I was not able to recover playlists,
regardless of any of the suggested workarounds.

What I ended up doing was installing iTunes into Catalina based on the
suggestion earlier in the thread. This 'hack' script, for lack of a
better word, allowed my to install iTunes in Catalina. I am now running
both the Music app and also iTunes. I have pointed LMS to the 'new'
itunes .xml file and everything is working great. Not ideal to have both
the Music database file and the itunes xml file, but want to see the
results over a short period of time.



crazybake's Profile: http://forums.slimdevices.com/member.php?userid=7472
View this thread: http://forums.slimdevices.com/showthread.php?t=111037

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


Re: [SlimDevices: SqueezeCenter] LMS on MacOS 10.15 "Catalina"?

2019-12-06 Thread Michael Herger

What I ended up doing was installing iTunes into Catalina based on the
suggestion earlier in the thread.


Using the Retroactive app?

https://github.com/cormiertyshawn895/Retroactive

I still hesitate to rely on it, currently sticking with Mojave on my 
main computer as I want to continue Aperture. Even if it's only for a 
few more months...

--

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