BlissFlixx Forum

Full Version: BBC iPlayer category & search problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The BBC iPlayer will list and run anything from the "Most Popular" category, but for all other categories displays: There are no items for this feed.

When doing a search for a program (e.g. "top of the lake") it returns: There are no results for this query.

Also the ITV player returns "error: 500" for the category: Drama & Soaps
(07-27-2017, 10:00 PM)SteveDee Wrote: [ -> ]... the ITV player returns "error: 500" for the category: Drama & Soaps

The ITV Player problem is easily fixed by opening .../blissflixx/chls/bfch_itv_player/__init__.py and changing:-


  {'title':'Drama & Soaps', 'url':'http://www.itv.com/hub/categories/drama-and-soaps'},

...to:-

  {'title':'Drama & Soaps', 'url':'http://www.itv.com/hub/categories/drama-soaps'},
>>>The ITV Player problem is easily fixed by opening ...

I have added this fix to the code.
(08-02-2017, 12:03 PM)MrBliss Wrote: [ -> ]>>>The ITV Player problem is easily fixed by opening ...

I have added this fix to the code.

Thanks MrBliss. Any ideas on the BBC iPlayer issue?

I can copy each category url from .../bfch_bbc_iplayer/__init__.py into a web browser and they work fine.
The reason for the iPlayer problem seems to be that the BBC recently changed the format of its Categories pages.

The solution is to open the .../blissflixx/chls/bfch_bbc_iplayer/__init__.py file and change:-
Code:
 for l in rtree:
   a = select_one(l, 'a')
   url = get_attr(a, 'href')
   if url is None or not url.startswith('/iplayer'):
     continue
   url = "http://www.bbc.co.uk" + url

...to:-

Code:
for l in rtree:
  a = select_one(l, 'a')
  url = get_attr(a, 'href')
  if url is None:
    continue
  if url.startswith('/iplayer'):    
    url = "http://www.bbc.co.uk" + url