Ascoware / get-iplayer-automator

The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
GNU General Public License v3.0
147 stars 26 forks source link

question: wildcards for BBC channel #236

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi,

I am trying to download Shetland and I have noticed in my PCV that I have an entry for both "BBC One" and "BBC Four".

I have quite a lot of entries so have been trying (without success) to reduce these kinds of entries to just one. I have tried BBC BBC BBC

...neither will find Shetland. Is there a way to do this?

ghost commented 5 years ago

To add, I know I can use "*", but this searches ITV as well and I assume slows the process down and risks false positives.

skovatch commented 5 years ago

EDIT: OK, this has absolutely nothing to do with your question... my comment here refers to the "New Programmes History" window. It is all valid, though.

================

So, I'm not completely sure I'm going to be answering your exact question, but here goes:

Unfortunately, in GiA there's no way to use a wildcard for searching anything other than the show name.

Looking at the source for get_iplayer, it looks like they don't separate BBC Radio Shetland as its own channel -- it's lumped in with BBC Radio Scotland. Normally that would mean you should check the "Show Regional Radio Stations", but the code currently doesn't know to look for "BBC Radio Scotland"

As a short-term fix, you could check "Show Local Radio Stations", since that's the catch-all for anything that isn't in the known list of national or regional channels.

The BBC channel filtering logic hasn't been touched in some time. I'm seeing channels that either have been renamed or were discontinued, so the checkboxes won't filter anything. I'll look into that.

skovatch commented 5 years ago

Let's start over by helping me clarify what you're asking for here. Are you referring to the PVR Manager window, and then then "Series-Link" section?

The implementation of the wildcard operator in that field is not very smart. It's either a exact text match or '', which searches all channels. "BBC " will try to match the literal string "BBC *", which of course, won't work.

I would suggest putting "BBC Radio Scotland" in that field, since as mentioned above, get_iplayer no longer distinguishes BBC Radio Shetland from BBC Radio Scotland.

ghost commented 5 years ago

Hi,

Thanks for you replies :-)

"Shetland" is the name of the BBC show I was trying to download (not the radio station) and it has been on both "BBC One" and "BBC Four" in the past - I think "BBC Four" was for repeats..

Yes, I was referring to the "TV Network" in the PVR manager - sorry I was not clear about this.

You answered my question perfectly with this:

The implementation of the wildcard operator in that field is not very smart. It's either a exact text match or '', which searches all channels. "BBC " will try to match the literal string "BBC *", which of course, won't work.

Thanks! James.

skovatch commented 5 years ago

OK, glad I could help. It motivated me to look at part of the code that hadn't been touched in a while, so it's good all around.