Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-06-17 Thread bpa


rbl wrote: 
> Well, this problem really does seem to have fixed itself now for both
> iPlayer and FLAC files. Not sure if the fix was one of the many recent
> Win 10 Pro updates, or because I updated to LMS 7.9.2 - 1556111457...

Recently (i.e. since April)  there have been a number of small fixes in
7.9.2 varying from fixing playlist re-start after power up to LMS
hangups with https - any of which could have been part of the problem
(i.e. same symptom but many possible causes). All together upgrading to
a new version of LMS is usually beneficial (however as LMS is a
community project remember fixes are often not tested by a wide variety
of LMS users/plugins/systems).



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-06-17 Thread rbl


Well, this problem really does seem to have fixed itself now for both
iPlayer and FLAC files. Not sure if the fix was one of the many recent
Win 10 Pro updates, or because I updated to LMS 7.9.2 - 1556111457...



rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=110469

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-26 Thread rbl


You were right, it was wishful thinking. The original problem (of not
being able to play the radio station that was playing when the PC went
to sleep) is still there, it just seems to be intermittent. In fact
today the radio stream automatically started playing all by itself,
although it took a while (30 seconds type of thing). It is not a big
problem..



rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=110469

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-23 Thread bpa


rbl wrote: 
> TBH I am not too bothered that it doesn't automatically start itself on
> waking, although I am surprised that it works with S4/(Hibernate) but
> not S3.

I may get a chance to investigate and understand the different states
more rigorously.   
> The main problem seems to be fixed. But I don't really understand what
> having the Live Stream set to HLS > DASH > MP3 > FlashAAC actually means
> in practice. 
BBC has multiple formats often many are available sometimes only one. 
The order means try first type and if that fail got to second etc.  This
can be useful when some Listen Again programs are only available in
podcast MP3 so DASH and HLS would fail.  FlashAAC used to be useful for
very old programs played with BBCiPlayerExtra - these are nearly all
gone.


> The MP3 and AAC bits make me a little nervous that some of the quality
> is lost (I do listen to BBC3 a bit which, unlike the other stations,
> seems to be pretty good quality).

I can't test UK streams.  For R2 or R4 - in the UK the MP3 stream is
supposed to be about 339kbps (at least according to the BBC imda URL). I
thought above 320kbps for MP3 is very good especially for talking and
casual listening programs.
BBC make R3 special and it is the only station to have an high quality
AAC stream.  It can be played via the BBCiPlayer "MP3" menu.



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-23 Thread rbl


bpa wrote: 
> Thanks  at least I now know what to test at some point.
> 
> My W10 PC has the same states but when I testing I have been using the
> "power" control which offer "Sleep" , "Restart" or "shutdown!.  No
> indication what "Sleep" corresponds to - Hibernate, S3 or Hyrbid Sleep.
> 
> My Hibernate does not need a password !
> 
> My PC is not wired as it is not normally in use as Windows or even LMS
> server. To test would require wiring a player and also wiring the W10
> server.
> 
> So when PC is put to sleep - all the players are actually playing.
> 
> Synced players add a level of timing resulting in undetermined
> variability which I think could affect playback especially coming out of
> sleep.

TBH I am not too bothered that it doesn't automatically start itself on
waking, although I am surprised that it works with S4/(Hibernate) but
not S3. The main problem seems to be fixed. But I don't really
understand what having the Live Stream set to HLS > DASH > MP3 >
FlashAAC actually means in practice. The MP3 and AAC bits make me a
little nervous that some of the quality is lost (I do listen to BBC3 a
bit which, unlike the other stations, seems to be pretty good quality).



rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=110469

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-23 Thread bpa


rbl wrote: 
> - there are 3 SB3s, all wired and sync'd. Two of them are permanently
> connected to power, the third has power disconnected shortly after the
> PC sleeps via a power saving socket.
> 
> - the PC is usually put to sleep via the Windows Start Menu, and
> sometimes via a very simple little app called Wizmo.exe. I don't even
> know how to get the SB3 to put the PC to sleep. I am pretty sure that
> the behaviour in both cases is the same.
> 
> - I usually wake the PC by pressing the Power button on one of the SB3s
> that is permanently connected to power, and this is how I have been
> testing it the last few days. 
> 
> - In Windows I had to set "Only allow a magic packet to wake the
> computer" to stop it being woken all the time.
> 
> - Powercfg -a shows available sleep states as S3 / Hibernate / Hybrid
> Sleep / Fast Startup.
> 
> - - it certainly doesn't go into Hibernate since that requires entry of
> the Bitlocker password
> 
> - -
> _However_I_tried_it_with_Hibernate_twice_(waking_via_SB3)_and_BBC_starts_normally_as_hoped_
> 
> - - fast start-up is disabled in Power Options
> 
> - - hybrid sleep is effectively disabled since the "Hibernate after"
> setting is set to never.

Thanks  at least I now know what to test at some point.

My W10 PC has the same states but when I testing I have been using the
"power" control which offer "Sleep" , "Restart" or "shutdown!.  No
indication what "Sleep" corresponds to - Hibernate, S3 or Hyrbid Sleep.

My Hibernate does not need a password !

My PC is not wired as it is not normally in use as Windows or even LMS
server. To test would require wiring a player and also wiring the W10
server.

So when PC is put to sleep - all the players are actually playing.

Synced players add a level of timing resulting in undetermined
variability which I think could affect playback especially coming out of
sleep.



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-23 Thread rbl


bpa wrote: 
> I think this may be wishful thinking rather than actual improvement.
> 
> 
> I cannot test until you tell me exactly how you shutdown and wake up the
> players and systems. 
> Does the player shut the server down ?
> Does the server shutdown out of inactivity ?
> Is the server woken by a keyboard press
> Is the server woken by a WakeOnLan magic packet ?  If so is the Server
> wireless or wired connection to player ? 
> What is the W10's "state" (as defined by MS) of the server when it is
> asleep ? 
> 
> There are so many options and variations -that I cannot test unless I
> have information.
> 
> 
> 
> My gut feel is that it is somehting to do with server taking too much
> time to wakeup. More time than the LMS s/w allows especially with synced
> players and so LMS s/w timeouts 
> 
> As I said above I don't think HLS will necessarily be a better option
> there is very little difference in implementation.  MP3 is quite a
> different implementation.

- there are 3 SB3s, all wired and sync'd. Two of them are permanently
connected to power, the third has power disconnected shortly after the
PC sleeps via a power saving socket.

- the PC is usually put to sleep via the Windows Start Menu, and
sometimes via a very simple little app called Wizmo.exe. I don't even
know how to get the SB3 to put the PC to sleep. I am pretty sure that
the behaviour in both cases is the same.

- I usually wake the PC by pressing the Power button on one of the SB3s
that is permanently connected to power, and this is how I have been
testing it the last few days. 

- In Windows I had to set "Only allow a magic packet to wake the
computer" to stop it being woken all the time.

- Powercfg -a shows available sleep states as S3 / Hibernate / Hybrid
Sleep / Fast Startup.

- - it certainly doesn't go into Hibernate since that requires entry of
the Bitlocker password

- -
_However_I_tried_it_with_Hibernate_twice_(waking_via_SB3)_and_BBC_starts_normally_as_hoped_

- - fast start-up is disabled in Power Options

- - hybrid sleep is effectively disabled since the "Hibernate after"
setting is set to never.



rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=110469

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-23 Thread bpa


rbl wrote: 
> Thanks and apologies for the delay in replying.
> 
> Since I changed the Live Stream Preference to HLS > DASH > MP3 >
> FlashAAC the problem is partially fixed in that I can now start the BBC
> easily by just pressing play.

I think this may be wishful thinking rather than actual improvement.

> However it does not start automatically on wake up.
I cannot test until you tell me exactly how you shutdown and wake up the
players and systems. 
Does the player shut the server down ?
Does the server shutdown out of inactivity ?
Is the server woken by a keyboard press
Is the server woken by a WakeOnLan magic packet ?  If so is the Server
wireless or wired connection to player ? 
What is the W10's "state" (as defined by MS) of the server when it is
asleep ? 

There are so many options and variations -that I cannot test unless I
have information.

>  However I now realise that this is part of a bigger problem in that
> just playing ordinary FLAC music doesn't restart either. I have tried
> "Pause / Resume" and "Stop / Restart Song" settings, neither work. Am
> using 3 sync'd SB3s. The main thing was to make it easy to start BBC
> which is now fixed. Thanks very much...

My gut feel is that it is somehting to do with server taking too much
time to wakeup. More time than the LMS s/w allows especially with synced
players and so LMS s/w timeouts 

As I said above I don't think HLS will necessarily be a better option
there is very little difference in implementation.  MP3 is quite a
different implementation.



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-23 Thread rbl


bpa wrote: 
> Just did a >3 hr test.
> 
> W10 was sleeping. Radio was off.  Powered on Radio. Then woke up W10
> with keyboard .  Stream starting playing on Radio with no other (e.g.
> "rebuffering" )messages.

Thanks and apologies for the delay in replying.

Since I changed the Live Stream Preference to HLS > DASH > MP3 >
FlashAAC the problem is partially fixed in that I can now start the BBC
easily by just pressing play.

However it does not start automatically on wake up. However I now
realise that this is part of a bigger problem in that just playing
ordinary FLAC music doesn't restart either. I have tried "Pause /
Resume" and "Stop / Restart Song" settings, neither work. Am using 3
sync'd SB3s. The main thing was to make it easy to start BBC which is
now fixed. Thanks very much...



rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=110469

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-19 Thread bpa


Just did a >3 hr test.

W10 was sleeping. Radio was off.  Powered on Radio. Then woke up W10
with keyboard .  Stream starting playing on Radio with no other (e.g.
"rebuffering" )messages.



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-19 Thread bpa


I did a quick test with a WIn 10 system and a SB Radio

I set up playing R4 live and then put Win10 system to "sleep" via power
off menu.  Radio eventually stopped and showed red wifi.

I then woke up the W10 system via keyboard and Radio showed "Rebuffering
0%", then "rebuffering failed" and then started playing the stream OK.

To understand how this is not working on your system you need to give
more detail for example as there are too many variables for me to look
for the problem scenario.
1. How your W10 system goes to sleep (i.e. what command given and how )
2. What sort of player ? and how is it used ?  For example, is player
tuned off after W10 goes to sleep, left on and used to wake W10  
3. Any messages in log or on screen 
etc.

There are two scenarios to be tested: (i) sleep less than 3 hours and
(ii) sleep more than 3 hours.  I have shown that (i) works OK for me in
one setup.



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-17 Thread bpa


Basically playing live stream on DASH,.

Live DASH is a format which is a playlist of 6 sec file each with a
timestamp.

DASH stream can be paused and they can stay paused of up to 3 hours. So
if you have a "pause" setting and then resume - the stream will try to
continue when it left off (i.e. pause for 2 hours and it will play the
stream as it was 2 hours ago)  - is that your intent ?  The DASH has
been written so that if stream are paused for more than 3 hours - they
will start again from "live" as if no pause.

I think this may be the problem - after pausing and then waking up,  the
stream is trying to continue playing the stream at the time of the
pause.  I have tested long pauses (> 3 hrs) on a Linux system and it
worked OK.  However on your system it may be trying to play DASH chunk
with a very old timestamp and so no longer exist.  However the fact the
pause fails for sleeps of less than 3 hours make this unlikely.

A couple of workaround in the interim:
1. Change the Player/Audio setting to "Stop on Power off / "Restart
Playlist at power up" or  "Stop on Power off / "Reset Playlist at power
up"  - however these settings may not be acceptable to you for other
stations etc.
2. Try HLS  or MP3 streams. Both now have same metadata,  HLS has same
audio quality as DASH.  HLS does not have the 3hr facility but I have
never tested long pauses with HLS.  "Live Stream preference" set to "HLS
> DASH > MP3 > FlashAAC" (dashflac is gone) - if you make use of
pauses/skip back/forward then HLS or MP3 may not be acceptable.

I don't use Windows as a main system so over next few days I'll try to
boot up a Windows system and test long pauses.  I cannot replicate the
"wakeup " over LAN.

What is the Windows 10 setting that you use to put your system to sleep
?



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

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-17 Thread rbl


bpa wrote: 
> If you are playing Live streams using pre 1.6.2 BBCiPlayer on LMS 7.9.0
> or older - this is most likely a LMS bug specific to Windows. You need
> latest BBCiPlayer (1.6.5) but MUST have latest LMS (7.9.2).
> 
> If not the Windows bug This sounds like a network / DNS issue so full
> details of what is being tried and your setup is needed.
> 
> What version of LMS ?
> What version of BBciPlayer ?
> Live or Listen Again ?
> If Listen Again what format is being played HLS, DASH or MP3 ?  (i.e.
> what are your Live Stream Preference settings ?)
> What  is the menu tree you are using to play a station  ? (e.g. Radio->
> BBCiPlayer - > Listen Live (non-UK) -> Radio3 )
> How is Windows "sleeping" - Hibernation, Sleep or other  (e.g. "off"with
> Optane h/w)
> 
> edit:
> 
> How long is the PC asleep for ?
> Does the problem happen if the PC is sleeping for less than 3 hours with
> a live station ?

The PC sleep time doesn't make any difference. Have tried a couple of
minutes to overnight.

LMC 7.9.2 - 1541400404 @ Mon Nov 5 08:07:49 WEST 2018

iPlayer v1.6.5

Live, mainly Radio 2 and 4, accessed via Favourites. URLs in favourites
are:
-
iplayer://live?hls=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_two.m3u8=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/uk/dash_full/ak/bbc_radio_two.mpd=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_two/600x600.png=fm/ce1/c202/08880=bbc_radio_two

-
iplayer://live?hls=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/uk/dash_full/ak/bbc_radio_fourfm.mpd=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_fourfm/600x600.png=fm/ce1/c204/09320=bbc_radio_fourfm

Live Stream Preference is DashFlac > DASH

Bitrates - Highest available

Allow Transcoding / Show On Air Text / Always display station icon: all
enabled.

Seconds to delay start live stream: 5 seconds

Buffer fullness: 255



rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=110469

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


Re: [SlimDevices: Plugins] Hard to start iPlayer after waking Win10 PC

2019-04-17 Thread bpa


rbl wrote: 
> After waking my Win10 64bit PC via LAN, it is hard to get iPlayer to
> start playing the radio station it was playing when the PC was put to
> sleep. I find I have to first play a different BBC radio station, then
> go back to the original one that was playing. A minor inconvenience, but
> it would be great if it could just resume on startup as other music
> does. I have "Power on Resume" set to "Pause at power off / Resume at
> Power on"
> 
> I have 3 sync'd SB3s. This problem has been around for years, and
> through several installations of Win10. Everything else on iPlayer now
> works perfectly!

If you are playing Live streams using pre 1.6.2 BBCiPlayer on LMS 7.9.0
or older - this is most likely a LMS bug specific to Windows. You need
latest BBCiPlayer (1.6.5) but MUST have latest LMS (7.9.2).

If not the Windows bug This sounds like a network / DNS issue so full
details of what is being tried and your setup is needed.

What version of LMS ?
What version of BBciPlayer ?
Live or Listen Again ?
If Listen Again what format is being played HLS, DASH or MP3 ?  (i.e.
what are your Live Stream Preference settings ?)
What  is the menu tree you are using to play a station  ? (e.g. Radio->
BBCiPlayer - > Listen Live (non-UK) -> Radio3 )



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

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