Jump to content


awx

Member Since 1 Dec 2011
Offline Last Active 20 Jan 2013 13:49
-----

#250160 eepgcache and title searching

Posted by awx on 27 January 2012 - 17:03

Here is a patch for copy/delete/move on the movie selection screen
Patch is like I have previously described.
Tested copying, moving and deleting and the info file is updated accordingly.

Attached Files




#249551 My Modified GraphMultiEpg

Posted by awx on 25 January 2012 - 11:55

readkeymap is still not removed!!!

No need for exclamations, I missed it and will remove it. I am not perfect and make mistakes.


#248827 eepgcache and title searching

Posted by awx on 22 January 2012 - 19:36

Well it seemd there is no fix for that yet! Right? On my EPG many many titles get missing by this bug! So i hope soon fix!

I think I have found the problem and am working on a fix for this


#248133 service number

Posted by awx on 20 January 2012 - 10:52

no, just check the datatypes which are used to store the channel number.
However, if you look at the logical channel descriptor (used by providers to provide channel numbering), the channel id is only 10 bits...

Ok, well then for now I will use 2 bytes to store the channel number.
I have solution for channel numbering, I just need to fix a few things and then I will post it here.
The solution should allow you to keep the current behaviour by default and allow custom numbering.


#247846 My Modified GraphMultiEpg

Posted by awx on 18 January 2012 - 21:27

FYI: before adding more new features, I will look into moving the picon processing so that we don't have such a delay when loading the plugin. I will also look into speeding up the performance of the guide so that the whole guide will work faster even when view all your services in it and not just a bouquet list.


#247211 Content descriptors

Posted by awx on 16 January 2012 - 19:40

Here is a patch for enigma2 to enable caching of the content descriptor and allow the data to be retrieved with lookupEvent and search.

The function declaration in event.h may need to be moved so that we can request the information from the event in python.

Currently this will allow listing event categories such as (Movie/Sport/etc...), to specific highlight when we show the information.

For a future release I will look into adding a search option for the content descriptor, so we can perform searches like, show all movies or show all sporting events.

Content descriptors are typically 2 bytes for the descriptor header, and 2 bytes for the classification. However since the descriptors do allow for multiple classifications you could potentially have 2 bytes descriptor and n*2bytes classifications. This should therefore have a minimal impact on memory usage.

Attached Files




#247195 My Modified GraphMultiEpg

Posted by awx on 16 January 2012 - 18:39

In future version I will look to add colouring programs by there category (movies/sport/etc..)
I have attached a screenshot of what it currently looks like

Attached Thumbnails

  • screenshot.jpg



#246782 My Modified GraphMultiEpg

Posted by awx on 15 January 2012 - 13:04

Here is an experimental version with searching function.
Searching function does not work perfectly because the text conversion is broken in enigma2. I am looking into fixing that.
Right now it loops through the given text formats and does the search.

Skinning is not yet available but will be.

Changes
-----------

Change fonts to regular font
Add a few more encodings and a field to display the encoding that matched
Use instant variable instead of hardcoded values
Revert back to using inputbox as there is a problem with virtualkeyboard and special chars
Add pixmaps to properly indicate recordings
Remove the listener on screen close
Use a virtual keyboard instead of a inputbox
Modify episode number regex
Change where we calculate the name padding
Add parsing of the event description for a specific episode number
Merge branch 'release' into search
Workaround for service comparison
Make searching partial and exact titles the same
Fix list checks and add one to toggelRecord
import config
Use pixmap from the default skin
Correct description to match how GraphMultiEpg does it
Set static text when there is no result
Change similar broadcast to use the currently selected one and always set a result set
Add padding around the service name
Correct color pixmap placement
Add the ability to toggel recording of an event and display a record icon
Add different search options
Add the ability to change the search title
Initial add of a search function

Title searching is fixed, there is another thread on the forum with the patch for e2. I have removed the work arounds for searching from this version, as a patch to fix searching is now available.

Updated version

Changes
----------------

If there is no extended description use short desc
Remove decode char map and re-encoding of strings
Add skin attributes
Add the ability to search the current event title using the imdb plugin



If you want to use imdb, you have to download the plugin and then add a key to use it in the keymap.xml

Attached Files




#246380 My Modified GraphMultiEpg

Posted by awx on 14 January 2012 - 12:04

Here is an experimental version with searching function.
Searching function does not work perfectly because the text conversion is broken in enigma2. I am looking into fixing that.
Right now it loops through the given text formats and does the search.

Skinning is not yet available but will be.

Changes
-----------

Change fonts to regular font
Add a few more encodings and a field to display the encoding that matched
Use instant variable instead of hardcoded values
Revert back to using inputbox as there is a problem with virtualkeyboard and special chars
Add pixmaps to properly indicate recordings
Remove the listener on screen close
Use a virtual keyboard instead of a inputbox
Modify episode number regex
Change where we calculate the name padding
Add parsing of the event description for a specific episode number
Merge branch 'release' into search
Workaround for service comparison
Make searching partial and exact titles the same
Fix list checks and add one to toggelRecord
import config
Use pixmap from the default skin
Correct description to match how GraphMultiEpg does it
Set static text when there is no result
Change similar broadcast to use the currently selected one and always set a result set
Add padding around the service name
Correct color pixmap placement
Add the ability to toggel recording of an event and display a record icon
Add different search options
Add the ability to change the search title
Initial add of a search function

Attached Files




#244686 My Modified GraphMultiEpg

Posted by awx on 8 January 2012 - 16:56

It is strange, but on some services is not in MEPG displayed picon (but there on Infobar and display is picon presented).
And when is zapped to service with this "bug", then running MEPG display always bouquet's services 1-6

eg:
in bouquet are services 1 - 20. For all are downloaded picons, but for service 15 is not in MPEG picon displayed.

When i watch service 15 and then i run MEPG, MEPG displaying services 1-6.
When i watch service 16 and i run MEPG, is correctly displayed 16 - 21

I managed to reproduce something that has a similar behaviour to what you are seeing but I am not 100% sure that it is the same error you are seeing.
Here is an update with the potential fix

Changes
-------------------------

Workaround for service comparison
Add a yellow button as people may want to bind it to a function

Attached Files




#243871 My Modified GraphMultiEpg

Posted by awx on 4 January 2012 - 21:03

Updated version
--------------------

Add a progressbar so we dont need to lookup event id just to generate this
If an event title is empty fill it with the tbd string
Allow disabling selection of expired events
Set the proper name for buttons based on what the keymap is set to (needs localization testing)
Add compatibility mode, stops filling event object which prevents a lookupEventId on each selection change
Use 1:1 aspect ratio for picons

Attached Files




#243097 My Modified GraphMultiEpg

Posted by awx on 1 January 2012 - 20:22

Latest Update

Changes
---------------------

If a program has ended, flag it as not being the best event to switch to (highlights the correct event)
Fix incorrect background color being set when picon is scaled (only uses colors in the color index, I think)
Change default picon scale background color to white
Fix jump over empty by not adding records on empty channels if set to true


***** Skip empty services is set by default so no records will be shown on channels with no TBA records, to revert to the previous way things were working, please use the config screen and disable Skip empty services ( I could change the default, but as this is a legacy config it would not change anything )

Attached Files




#237155 My Modified GraphMultiEpg

Posted by awx on 7 December 2011 - 19:19

I have made a modified version of GraphMultiEpg, mainly it creates dummy records when the channel has no data or if there are gaps in the data. Also Ive made it so it caches some more of the data for a slightly faster experience in my opinion. I also add a field to display the current bouquet your on.

I have attached a screenshot of what it looks like.
If you want to use it you will need to change the GraphMultiEpg portion of your skin to be something like the one attached.

Attached Thumbnails

  • screenshot.jpg

Attached Files




#235641 How to get EPG info with python

Posted by awx on 1 December 2011 - 08:19

If you look at GraphMultiEpg and specifically look at queryEPG and the first few lines of fillMultiEPG you will find an example.


#235640 Is it possible to get the graphics context in e2 python plugins?

Posted by awx on 1 December 2011 - 08:16

Does anyone know if there is a way to get the graphics context and draw directly to the screen in an e2 plugin?