Listings incomplete when using bleb

Discussion of Version 3 and developing lua grabbers
Post Reply
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Listings incomplete when using bleb

Post by johnnygal »

Hello,

I have the bleb grabber configured to get radio listings. However, most of the channels do not download any listings although the XML files appear to be present on the bleb site.
The only channels that seem to work are BBC World Service, BBC6 Music and Radio 5 Live Extra. The channels I am trying to get are BBC Radio 1, 2, 3, 4 and BBC7.

They used to work fine but am wondering if they stopped when I upgraded to 3.12.00W.

I have tried a fresh install on another PC with the same results.

Anyone else seeing this?

Thanks,
John
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Re: Listings incomplete when using bleb

Post by johnnygal »

Update:

Did a clean install with 3.11.01 and it worked ok. Updated (also tried a clean install) with 3.12 and it fails as described earlier.

I did notice that some of the channel names have changed in the channels.lua file inthe bleb directory. In particuar, bbc7 had changed to bbc7.co.uk. If I manually edit the channels.lua file back to bbc7 (and also update the userchannels.txt) it seems to grab more program listings yet the contents of the XML file does not contain the listings for bbc7.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Listings incomplete when using bleb

Post by alanbirtles »

try the latest version from svn and let me know if it fixes the problem:
https://www.birtles.org.uk/svn/xmltv/co ... ukbleb.lua
See the sticky at the top of the forum for the username and password
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Re: Listings incomplete when using bleb

Post by johnnygal »

Still the same I'm afraid.

I did a clean install of 3.12. Configured BBC7 and BBC6 Music for bleb grabber.
75 programs were retrieved. On checking the xml file, only listings for BBC6 Music were present.

I then patched the UKBleb.lua with the version from SVN, as per your link and reran. I got the same results as above.

I then edited the channels.lua for UKBleb, changing bbc7.bbc.co.uk to bbc7 (and updated the userchannels.txt to match). On grabbing, it now states that 339 programs are retrieved. But checking the xml file that was written still only has BBC6 Music programs in.

Running this last step with developer debug mode enabled gives errors of the kind:
"Channel not found for program The Mitch Benn Music Show".

Hope this helps. Let me know if there's any further scenario tests you would like me to do.

John
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Listings incomplete when using bleb

Post by alanbirtles »

did you refresh your channel list after updating?
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Re: Listings incomplete when using bleb

Post by johnnygal »

Yes.

Just tried it again now (with my hand-modified channels.lua) and it overwrote it with the previous value for BBC7 i.e. bbc7.bbc.co.uk.

It still fails to retrieve the BBC7 (and others) listings.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Listings incomplete when using bleb

Post by alanbirtles »

does your channels.lua now contain urls for each channel? the above script is definately working for me and downloading bbc7 data. also try deleting the cache folder
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Re: Listings incomplete when using bleb

Post by johnnygal »

Yep, there are URLs in there for Icons(?)

I deleted the cache folde rbut still no luck. Let me try a clean install, refresh channels and grab listings. Will report shortly.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Listings incomplete when using bleb

Post by alanbirtles »

there should be seperate urls in addition to the icons. the bbc 7 entry should be:

Code: Select all

	XGUI.AddChannel(Grabber,{
		ID="bbc7.bbc.co.uk",
		Name="BBC 7",
		Icon={Source="http://www.lyngsat-logo.com/icon/radio/ab/bbc_radio7.gif",},
		URL="bbc7"
		})
the grabber version should show as 2.00.01 in the settings screen
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Re: Listings incomplete when using bleb

Post by johnnygal »

Ahh, ok. The grabber version was still listed as 2.00.00. I had renamed the old one before copying in the new and somehow it still seemed to be picking up the old one.

Deleted the old one and it now reports 2.00.01.

Deleted the cache, restarted, refreshed channels and bingo!

Great, it's working now for BBC7. I will update my master machine and test with all the channels I use but it's looking good.

Thanks for your speedy responses.

John
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Listings incomplete when using bleb

Post by alanbirtles »

the names of the grabber files dont matter, it just reads in any lua files in the scripts directory. if there is a duplicate it will pick up the grabber it reads second
johnnygal
Posts: 12
Joined: Wed Jun 14, 2006 12:52 pm

Re: Listings incomplete when using bleb

Post by johnnygal »

All working great now.

Small donation to the cause is on it's way.

Cheers.
Post Reply