+2
Answered

BBC AAC streams - Access Forbidden after 1 play?

Jason Whiteley 12 years ago updated by Jona (Lead Developer) 10 years ago 11

Hi,

Whenever I try to add a BBC playlists from this thread:

http://forums.digitalspy.co.uk/showthread.php?t=1473061

they plan fine in Xiialive ONLY if I "open" the link with xiialive from firefox for android.

 

If while the playlist is playing I try to add it as a favourite, then use the back button to get back to firefox (because at this point xiialive is running inside firefox, at least according to my HTC One X) and then load up xiialive and access that favourite I have just stored, it will say "access forbidden".

 

I have generated a log and will send it to xiialive with a link to my question.

 

Note: the links in the thread above will only play 56kbps AAC+ outside of the UK, but if you tunnel a VPN into the UK and play them, it's at 128kbps AAC+

 

Thanks for any help you can offer because this is a really frustraing problem, especially when a competitor's radio app has all the BBC's stations in it's database, but there is no graphic EQ (and other excellent features that xiialive has).

Regards,

Jason

Answer

Answer
Answered
I'm closing this old post since with the latest release we are no longer caching added links. If you are still having issues please re-add your links and try that. If still having issues please let me know and provide the link you are having issues with so I can investigate and resolve the issue.
Under review

Thanks for the post! If you could provide the playlist URL you used when you clicked on the browser would help.  There could be two things happening.


1. The link is auto generating URLs for the playlist. To verify this long press the bbc favorite station and hit edit. Scroll all the way down and hit the minus button for all the URLs you see untill all removed. Save and try playing that station again.


2. The playlist simply expired. The content is no longer available. Try finding the station again.


Have you tried using vtuner.com to find the stations? Might be easier...

Hi Jona,

Thanks for that and sorry about my late reply.

 

The playlist URL I'm trying to connect to is:

http://www.bbc.co.uk/radio/listen/live/r1x_aaclca.pls

I can add it and it will play, but come back a day or two later and i get an authorization error - it's a 24 x 7 radio stream so it's not that it's expired.

 

As a temporary workaround I goto this site:

http://www.radiofeeds.co.uk/query.asp?feedme=1Xtra%20BBC

Long press on the 128k AAC+ link and mobile firefox will have a "Open with Xiialive App" link that i can hit, and it will play fine. I just can't save it as a favourite that's all - because then i'll get the same problem reoccurring.

 

I understand that rnb/drum and bass/hip hop isn't your type of music, so here are the rest of the 128kbps streams for all the other BBC stations - if you connect from outside the UK without a VPN, these will default to 56kbps AAC+.

 

In order to get 128/320kbps quality, you will need to connect a VPN. I have tried persisting without a VPN but the result is the same :( I just have to keep re-adding the stream, or visiting a website that

 

BBC Radio 1 - 128kbps
http://www.bbc.co.uk/radio/listen/live/r1_aaclca.pls - 128 Kbps

BBC Radio 2 - 128kbps
http://www.bbc.co.uk/radio/listen/live/r2_aaclca.pls - 128 Kbps

BBC Radio 3 - 320kbps
http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls - 320 Kbps

BBC Radio 4 - 128kbps
http://www.bbc.co.uk/radio/listen/live/r4_aaclca.pls - 128 Kbps

BBC Radio 4 LW - 128kbps
http://www.bbc.co.uk/radio/listen/live/r4lw_aaclca.pls - 128 Kbps

BBC Radio 4 Extra - 128kbps
http://www.bbc.co.uk/radio/listen/live/r4x_aaclca.pls - 128 Kbps

BBC 5 Live - 128kbps
http://www.bbc.co.uk/radio/listen/live/r5l_aaclca.pls - 128 Kbps

BBC 5 Live Sports Extra - 128kbps
http://www.bbc.co.uk/radio/listen/live/r5lsp_aaclca.pls - 128 Kbps

BBC 6 Music - 128kbps
http://www.bbc.co.uk/radio/listen/live/r6_aaclca.pls - 128 Kbps

 

Thanks for the suggestion of V Radio, but their database appears to only have the 48k WMA stream which is fairly low quality.

http://vtuner.com/setupapp/guide/asp/func/dynampls.asp?link=1&id=26129

 

The cause of this issue is that Xiialive is persistently caching the contents of the pls file between each consecutive playback.

For all the BBC 128kbps streams listed above, the URLs in the pls file contains a token that changes every hour (approx). Trying to playback a stream with a stale token results in a 403 error.

The only way I've found to get Xiialive to re-download the pls file in between plays is to play some other station briefly and then play the required station again.

Would it be possible to add a setting toggle to Xiialive to force the pls file to be redownloaded between each playback?

Oh, also, I tried Jona's suggestions of removing the stream URLs from the favorite but it made no difference, Xiialive still caches the URLs from the last successfull playback attempt.


Hey guys, for the next update, v3.1.1.2, we'll no longer cache playlists for manually added URLs. This should should resolve the issues all of you are encountering.
+1
Hi Jona,

Did this cached playlist thing get resolved?  I'm still experiencing the same problem as Jason getting :::access forbbiden:::, then :::maximum retries::: on the BBC stream links. for example http://www.bbc.co.uk/radio/listen/live/r6_aaclca.pls.  I believe the problem is as Marc F says above (expiring tokens) as when I open the same link in Foobar music player on the PC the .pls file contains several listings.

I am currently using version 3.1.3 free, but will purchase the full version if I can get round this :::access forbidden:: issue.

Nice player BTW, I like the fact it can be interfaced using Android Intents when using Tasker :)
Hi Mik,

It's still buggy, Jona is working on this currently, take a look at this thread, that issue is fundamentally the same:
http://support.xiialive.com/topic/391183-playlist-...

Hi Marc,

Thanks for the link, I'll post in that thread to subcribe :)
Hi - I think this bug isn't completely fixed.

I use Xiia in the car with a bluetooth headset - it's set to play automatically on connection with the headset, and stop when I leave.

If I listen to a BBC station in the morning, go to work, then get back in the car in the evening I get this problem. It's fixed by changing to another station then back, or force closing the app.

I *think* what's happening is the bluetooth stop event is essentially a pause, so when I get back in the car Xiia doesn't automatically reget the .pls and just uses the cached version, which is now out of date.

A fix for this would be perfect - i've ditched Tunein for this app and it's like night and day.

Ta,

/Sean
Agreed.

If one loads a playlist from Favourites or from History, the pls is being redownloaded and parsed.

However, if playback is stopped and resumed at a later time then the already-loaded stream is used.

I appreciate that this may be reasonable behaviour, after all expiring streams are pretty niche.

My setup is just like Sean's. I now use Llama to control playback via a bookmark when bluetooth is connected, this works around the problem.



Jason, until this gets fixed, there's a more mobile-friendly page where you can launch your stream from: http://lsn.to/B1X
Answer
Answered
I'm closing this old post since with the latest release we are no longer caching added links. If you are still having issues please re-add your links and try that. If still having issues please let me know and provide the link you are having issues with so I can investigate and resolve the issue.