Re: [SlimDevices: Plugins] BBCiPlayer Plugins - an alternative quick fix guide

2016-01-23 Thread danco

bpa wrote: 
> Long response times by BBC servers show up as "Couldn't resolve IP
> address " errors - the majority of these are not DNS errors but long
> reponse time from the CDN servers but confusingly reported by LMS as a
> "couldn't resolve IP" .  The timeouts used by the HLS code is the
> default value set by LMS Setting "Radio Station Timeout." (WebUI
> Settings/Advanced/Network/Radio Station Timeout) which is by default set
> to 3  - change this setting to at least 15 and report back if it helps.


My setting is at the maximum available (I think it is 30), which usually
works.

I have wondered if it is possible to go into the code and change it to a
larger figure, such as 60. I would rather wait for a minute than have to
restart the whole program, which is what happens at times currently.

I know that some bits of code are easy to change, for instance I have
changed the BBC iPlayer Extras default.opml to put the National Radio
Schedules at the top, but of course other items of code won't allow
simple changes.



danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=103435

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


Re: [SlimDevices: Plugins] Windows 8 App

2016-01-23 Thread Freddy

I purchased Squeeze Remote on Windows 10 and it works pretty ok but I
agree it´s a little buggy sometimes.

Would love to see an update from the developer!



Freddy's Profile: http://forums.slimdevices.com/member.php?userid=41055
View this thread: http://forums.slimdevices.com/showthread.php?t=97998

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


Re: [SlimDevices: Plugins] BBCiPlayer Plugins - an alternative quick fix guide

2016-01-23 Thread bpa

danco wrote: 
> My setting is at the maximum available (I think it is 30), which usually
> works.
> 
> I have wondered if it is possible to go into the code and change it to a
> larger figure, such as 60. I would rather wait for a minute than have to
> restart the whole program, which is what happens at times currently.
> 
> I know that some bits of code are easy to change, for instance I have
> changed the BBC iPlayer Extras default.opml to put the National Radio
> Schedules at the top, but of course other items of code won't allow
> simple changes.

It is one of the areas I have been playing around. The LMS AsyncHTTP
routine used to "get" an URL has two parameters - expires and timeout.
Timeout is the timeout for a HTTP get - I'm not too sure of expoires but
I think it is the life of a DNS entry.   If not set then defaults are
used.   Changing the timelimits per HTTP GET is quite easy and is done
in the HLS.pm file.  The following are the two routines I have changed.
Note they have added instrumentation to monitor fetch times - you only
need to add the cache, timeout and expires to your HLS.pm to play
around.

The fetching of the "pls" which tell LMS which 6 secs segments to fetch

Code:


  sub _fetchPL {
my $self = shift;
my $url  = shift;
my $start= shift || 0;
  
$log->debug("fetch playlist: $url start: $start");
  
${*$self}{'_pl_refetch'} = undef;   
  
Slim::Networking::SimpleAsyncHTTP->new(
\&_parsePL, 
sub { 
my $http = shift;
my $fetchtime = int((Time::HiRes::time() - 
$http->params('fetchtime'))*1000);   
$log->warn("Error: fetch time $fetchtime fetching  
$url");
$self->close; 
}, 
  [color=red]   { obj => $self, url => $url, start => $start, cache => 
0, expires =>HLS_TTL_EXPIRES, timeout=>HLS_PLS_TIMEOUT , fetchtime => 
Time::HiRes::time() }[/color=red]
)->get($url);
  }
  




Code:


  ub _fetchChunk {
my $self  = shift;
my $chunk = shift;
  
if (my $url = $chunk->{'url'}) {
$log->debug("fetching [$chunk->{chunknum}]: $url");
$chunk->{'fetching'} = 1;
$chunk->{'requesttime'} = Time::HiRes::time();  
Slim::Networking::SimpleAsyncHTTP->new(
sub {
$log->is_debug && $log->debug("got 
[$chunk->{chunknum}] size " . length($_[0]->content));
my $fetchtime = int((Time::HiRes::time() - 
$chunk->{'requesttime'}) *1000);
$log->error("HLS chunk fetch time $fetchtime 
ms") if ($fetchtime > 300) ;   
delete $chunk->{'fetching'}; 
delete $chunk->{'requesttime'};
$chunk->{'chunkref'} = $_[0]->contentRef;
},
sub { 
my $fetchtime = int((Time::HiRes::time() - 
$chunk->{'requesttime'}) *1000);
$log->warn("error fetching [$chunk->{chunknum}] 
fetch time $fetchtime  $url");
delete $chunk->{'fetching'};
delete $chunk->{'requesttime'};

}, 
{ cache =>1, expires =>HLS_TTL_EXPIRES, 
timeout=>HLS_SEGMENT_TIMEOUT }
)->get($url);
}
  }
  [/code[



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

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


Re: [SlimDevices: Plugins] Annouce: Squeeze Control, a squeezebox remote app, is now available for Android

2016-01-23 Thread Freddy

I see you have a version for Windows Phone.
Any plans on releasing a version for Windows 10 (not phone)?



Freddy's Profile: http://forums.slimdevices.com/member.php?userid=41055
View this thread: http://forums.slimdevices.com/showthread.php?t=96757

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


Re: [SlimDevices: Plugins] BBCiPlayer with DASH support - test version

2016-01-23 Thread epoch1970

Hi bpa,
plugin works great for me, thanks one more time.

I appreciate the idea you had on your 1st post, summarizing the plugin
evolution in a few short lines. Very useful.
However since the thread is a mix of support and announce posts, it has
become, I think, a bit unwieldy to newcomers (like I was.)

So I've looked up the post numbers and links to each of your announces
between 1.4.4 and 1.4.7 in case you want to upgrade your 1st post:

- Announce of v1.4.4 is at post #97
  (untitled) "I have just uploaded BBCiPlayer 1.4.4 and BBCiPlayerExtra
  1.9.3"
  Link:
  
http://forums.slimdevices.com/showthread.php?104672-BBCiPlayer-with-DASH-support-test-version=836921=1#post836921
- Announce of v1.4.5 is at post #185
  Title: Update to BBCiPlayer 1.4.5 - no change to BBCiPlayerExtra
  Link:
  
http://forums.slimdevices.com/showthread.php?104672-BBCiPlayer-with-DASH-support-test-version=837661=1#post837661
- Announce of v1.4.6 is at post #219
  Title: BBCiPlayer 1.4.6 update
  Link:
  
http://forums.slimdevices.com/showthread.php?104672-BBCiPlayer-with-DASH-support-test-version=837748=1#post837748
- Announce of v1.4.7 is at post #306
  Title: BBCiPlayer V1.4.7 available
  Link:
  
http://forums.slimdevices.com/showthread.php?104672-BBCiPlayer-with-DASH-support-test-version=839593=1#post839593



4 SB 3 • iPeng (iPhone + iPad) • Squeezebox Server 7.9 (linux) with
plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster
by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart
Mix, Music Walk With Me, What Was That Tune? by Michael Herger •
PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland
Isaksson • WeatherTime by Martin Rehfeld • ShairTunes2 by disaster123 •
Local Player by Triode • Auto Dim Display, SaverSwitcher, ContextMenu by
Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=104672

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2016-01-23 Thread callesoroe

:d



Callesoroe
Living room: Transporter, Tact RCS 2.2X digital preamp, Martin Logan
Vista speakers, AMPS(Icepower): Acoustic Reality Ear Enigma
PLUS(PANELS), Acoustic Reality Ear TWO MKII(Bas)
Kitchen: Transporter, Prodipe Pro 5 active bi-amp speakers. Bedroom:
Receiver+UE boombox, Kids: Receiver+Active speakers, Tidal-HIFI flac
streaming.
http://www.last.fm/user/callesoroe

callesoroe's Profile: http://forums.slimdevices.com/member.php?userid=22693
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] BBCiPlayer Plugins - an alternative quick fix guide

2016-01-23 Thread ftlight

danco wrote: 
> My setting is at the maximum available (I think it is 30), which usually
> works.
I just checked and the max setting is 60 seconds (latest 7.9 nightly,
Windows 7)



ftlight's Profile: http://forums.slimdevices.com/member.php?userid=5294
View this thread: http://forums.slimdevices.com/showthread.php?t=103435

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


Re: [SlimDevices: Plugins] Announce: CastBridge = integrate Chromecast players with LMS (squeeze2cast)

2016-01-23 Thread eiffel

lukaslouw wrote: 
> I think I have it, I added squeeze2cast-win.exe to Windows Firewall's
> allowed programs list - seems to work.
> 
> Thanks again for your efforts, Philippe, where do I send the case of
> beers?

Philippe, 

I just went through this whole thread (from the beginning) to see if I
could fix my issue with getting this plugin to work with WHS 2011... and
got it sorted just before reading the very last post (using the same
solution) :mad::mad::mad:

It may be worth adding how to get this plugin to work with Windows
systems in the first post to make it easy on others ;)

Merci!



eiffel's Profile: http://forums.slimdevices.com/member.php?userid=46208
View this thread: http://forums.slimdevices.com/showthread.php?t=104614

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


Re: [SlimDevices: Plugins] BBCiPlayer with DASH support - test version

2016-01-23 Thread bpa

epoch1970 wrote: 
> I appreciate the idea you had on your 1st post, summarizing the plugin
> evolution in a few short lines. Very useful.
> However since the thread is a mix of support and announce posts, it has
> become, I think, a bit unwieldy to newcomers (like I was.)
> 

I'm not sure what editing the first post will do.

This is not a released plugin - it is still test and in development. 
The first post has an URL for a repository which will give the user the
latest version of the plugin.
The repository has the change history which is the same info as the post
you referenced.

It is still a test version plugin because BBC haven't yet announced DASH
is public and fully supported. The BBC still make small changes often to
underlying system. It is clear the BBC still haven't figure a way to
address some issues.  For example, there many many program on BBC site
which are not in DASH format - so if a user decide to use BBC beta
version of web player (i.e DASH) - they will find some program will not
play.  Furthermore, there are other issues which needs to be resolved.
So using DASH can only be recommended to users who understand these
issues and do not need handholding and realise it may break any day.  
So widespread use of the plugin is not a good idea.



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

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


Re: [SlimDevices: Plugins] BBCiPlayer with DASH support - test version

2016-01-23 Thread epoch1970

bpa wrote: 
> The first post has an URL for a repository which will give the user the
> latest version of the plugin.
> The repository has the change history which is the same info as the post
> you referenced.
Well, I copy/pasted the repo string, I did not realize there was a
changelog to read at http://sourceforge.net/projects/bpaplugins/files/
(without the repo.xml part)
Anyways, all good.



4 SB 3 • iPeng (iPhone + iPad) • Squeezebox Server 7.9 (linux) with
plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster
by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart
Mix, Music Walk With Me, What Was That Tune? by Michael Herger •
PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland
Isaksson • WeatherTime by Martin Rehfeld • ShairTunes2 by disaster123 •
Local Player by Triode • Auto Dim Display, SaverSwitcher, ContextMenu by
Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=104672

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


Re: [SlimDevices: Plugins] Annouce: Squeeze Control, a squeezebox remote app, is now available for Android

2016-01-23 Thread wt0

Freddy wrote: 
> I see you have a version for Windows Phone.
> Any plans on releasing a version for Windows 10 (not phone)?
I do plan on releasing a Windows 10 version, but the Win Phone version
was not a Universal App and porting it is a non-trivial matter. The
Android version has required a bit of work in the past few  months and I
haven't had time to work on the Win 10 version. 

I'm also dragging my feet a little cause the Win 10 version would be the
fourth time I've rewritten this app and I'm getting a little burnt out. 

Besides, I'm still a little angry that Microsoft announced the Universal
App program a couple months after I finished the app and less than two
years after they told everyone to write Win Phone 8 apps. 

Sent from my Nexus 5 using Tapatalk



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=96757

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


Re: [SlimDevices: Plugins] Announce: CastBridge = integrate Chromecast players with LMS (squeeze2cast)

2016-01-23 Thread eiffel

philippe_44 wrote: 
> Will do but ... this is also front 1st page of the user's guide ;-) that
> is accessible directly in the setting pages, no need to search and open
> it

Great! I must have read too quickly then... The key thing is to
_add_squeeze2cast-win.exe_to_Windows_Firewall's_allowed_programs_list_
as, otherwise, this great plugin can't be used with LMS running on a
windows machine!



eiffel's Profile: http://forums.slimdevices.com/member.php?userid=46208
View this thread: http://forums.slimdevices.com/showthread.php?t=104614

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


Re: [SlimDevices: Plugins] BBCiPlayer with DASH support - test version

2016-01-23 Thread bpa

Verulamius wrote: 
> This would suggest that a non trial DASH stream is getting closer.

They have been getting closer to DASH for 2 years but the BBC still have
to make some hard decisions (and then develope and test as required)
about how to handle the existing programs in non DASH formats (none of
their apps or web player handle more than one format concurrently -
unlike the BBCiPlayer plugin !) and will they keep streams such as as
MP3 or HLS for existing hardware. Given the mess they made in Feb 2015
and then also changing BBCiPlayer format for TV which broke a whole load
of "smart" TVs - I think the BBC will move slowly wrt Radio.



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

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


Re: [SlimDevices: Plugins] Announce: CastBridge = integrate Chromecast players with LMS (squeeze2cast)

2016-01-23 Thread philippe_44

eiffel wrote: 
> Philippe, 
> 
> I just went through this whole thread (from the beginning) to see if I
> could fix my issue with getting this plugin to work with WHS 2011... and
> got it sorted just before reading the very last post (using the same
> solution) :mad::mad::mad:
> 
> It may be worth adding how to get this plugin to work with Windows
> systems in the first post to make it easy on others ;)
> 
> Merci!

Will do but ... this is also front 1st page of the user's guide ;-) that
is accessible directly in the setting pages, no need to search and open
it



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=104614

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


Re: [SlimDevices: Plugins] BBCiPlayer with DASH support - test version

2016-01-23 Thread Verulamius

There is a complex article on the BBC internet blog
http://www.bbc.co.uk/blogs/internet/entries/768ae4f2-7933-42d7-9a12-c71dfacf12b6
which looks at how they have designed the new android app with DASH as
the relevant stream.  This would suggest that a non trial DASH stream is
getting closer.



Verulamius's Profile: http://forums.slimdevices.com/member.php?userid=53119
View this thread: http://forums.slimdevices.com/showthread.php?t=104672

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


Re: [SlimDevices: Plugins] Announce: CastBridge = integrate Chromecast players with LMS (squeeze2cast)

2016-01-23 Thread philippe_44

eiffel wrote: 
> Great! I must have read too quickly then... The key thing is to
> _add_squeeze2cast-win.exe_to_Windows_Firewall's_allowed_programs_list_
> as, otherwise, this great plugin can't be used with LMS running on a
> windows machine!

I'm sorry - You're correct, I really thought I did add that to the
manual, but I forgot :confused:



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=104614

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