Hi Mike.
<rant> One thing worth noting is that this add-on will no longer work come Mozilla's Great XUL Purge (around FF57?) as these new 'modern' webextensions won't be supporting 'proper' relational databases (in this case SQLite) - besides which, attempting to translate all the complex grids and tables from XUL to HTML would be a nightmare. XUL is, and has always been, a superior mark-up language to HTML[5].</rant>
Anyway...
Mikhel wrote:...does not support UTF-8 and instead the XML file needs to be saved as ISO-8859-1, I can do it manually using an XML editor but it would be cool for the add-on to read UTF-8.
The import currently assumes ISO-8859-1 for no reason other than that mc2xml.exe defaults to that standard - with mc2xml there is a switch (-U) that can be used to change it to UTF-8. Does WebGrab+Plus have a similar choice to switch to ISO-8859-1?
Mikhel wrote:a) A way to manually offset a channel or all channels to the amount of hours or minutes we want to.
I may have this horribly wrong but doesn't the offset value indicate the amount by which the timestamp has been adjusted from UTC - so, in your example, it means that the 07:45 is 8 hours behind UTC. Therefore, arbitrarily changing just the offset value is meaningless? Basically, my add-on takes no notice whatsoever of the offset and simply assumes that the timestamp value is the local time.
Now, I'm not saying that it wouldn't be possible to adjust the timestamp using the offset value back to plain UTC, and then readjust it by a new offset value - but that would be a Really Big Ask. I think you need to get the original XMLTV file with the correct offset applied for your local time.
Mikhel wrote:b) A way to chance and increase the size of the fonts (too small for my dad, which is for whom I am setting up the add-on).
c) A way to increase the size of the cells.
The sizing can be adjusted using conventional Firefox zoom controls: View... Zoom... Zoom In (Ctrl++), Zoom Out (Ctrl+-), Reset (Ctrl+0).
Mikhel wrote:d) As of right now it only recognizes "drama" and "other" as genres, don't know if there's a way to add other genres or if it doesn't recognize those I have in my EPG data because they are in spanish:
The genres is an interesting one! The are in fact two genres, a Main, and a Sub, genre. The sub genres are the genres given by the XML file you import, whereas the main genres are a contrivance of the add-on. I created the list of main genres based on analysing tens of thousands of (English language) sub genres in a spreadsheet and picking out the most common. This is My list:
Code: Select all
['Children', 'Soap', 'Sitcom', 'Drama', 'Documentary', 'Interests', 'Arts & Crafts', 'Music & Arts', 'News', 'Sports', 'Game Show', 'Entertainment', 'Comedy', 'Crime Drama', 'History', 'Cooking', 'House & Garden', 'Reality']
...the front of the list has a higher precedence. A sub genre of 'Film' or 'Movie' makes the programme become a 'Film'. If a programme doesn't have any of these it is given a main genre of 'Other'. You should find that on the Search tab that the Genres drop-down has all the unidentified sub genres under the guise of 'Other'. I would suggest that the most important thing is that 'Film' is being recognised correctly. Without this the add-on will lose a lot of its functionality.
Mikhel wrote:And that's basically it, the add-on is very very good even with the things I have found.
I don't know how confident you are with changing add-ons - by that I mean unpacking them, changing their code, and repackaging them. The UTF-8, and genres would be trivial for you to change. See: grabber.js, line 265 for the UTF-8 thing, line 450 for the main genres, and line 508 for identifying films.
I think that adjusting the timestamp values goes beyond the scope of what is essentially a viewer. The zoom controls are already a part of Firefox.
Cheers,
Ben.
XUL is dead. Long live the Google Chrome Clones.