adoxa wrote: ↑Sat Apr 21, 2018 17:28
Here's a patch (untested) to name the IceTV timer (and hence recording) as "Title (Subtitle)", using the description as intended. This will only affect new timers, not existing.
Code: Select all
diff --git a/lib/python/Plugins/SystemPlugins/IceTV/plugin.py b/lib/python/Plugins/SystemPlugins/IceTV/plugin.py
index ffd9a8822..c00522a3e 100644
--- a/lib/python/Plugins/SystemPlugins/IceTV/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/IceTV/plugin.py
@@ -232,6 +232,9 @@ class EPGFetcher(object):
duration = stop - start
title = show.get("title", "").encode("utf8")
short = show.get("subtitle", "").encode("utf8")
+ if short:
+ title += " (%s)" % short
+ short = ""
extended = show.get("desc", "").encode("utf8")
res[channel_id].append((start, duration, title, short, extended, 0, event_id))
return res
It's great to see someone who thinks 'outside the box' when it comes to things like this.
Obviously, I have a request (but you could see that coming a mile away
).
Is it possible for you to add the Year & Actors in the description field for Icetv? (the year would also be great in the Title field for movies)
If I remember correctly (but it's been about 3 years), Icetv send this information in the epg but because it's not in the right format/field, we don't get to see it. Neither Icetv or the 'brains trust' here wanted to take ownership of this, and thus we have a half arsed epg.
If it's possible to do, I don't mind having a one off patch, or you can add the changes to this one.