DVB EPG: split short and ext descriptions (1 Viewer)

Vasilich

Portal Pro
August 30, 2009
3,394
1,170
Germany, Mayence
Home Country
Russian Federation Russian Federation
the small issue that bugged me already long time: at least here in Germany there are almost all channels transmit DVB EPG short descriptions, and as addition - extended description. TsWriter detects those perfectly, but glues them together, so as it can be seen on attachments ShortLong* (look for the absense of spaces between first words of descriptions) ShortLong1.png ShortLong2.png.

What i did is just added carriage return between short and ext descriptions.
Result can be seen on attachments Short_Long*Short_Long1.png Short_Long2.png.
As @mm1352000 said, the best way would be to add new filed in DB and split short and ext descriptions so that skin can show those in any form. But this means much more work (upgrading DB schema, changing TsWriter interfaces to be able to deliver extra information, etc.) So i decided first to go simple way.
Please test it and tell what do you think about it.
Attached TsWriter has patched Git master code at 25.04.2013.
 

Attachments

  • TsWriter.zip
    119.9 KB
Last edited:

esas

Portal Pro
November 14, 2006
160
27
Home Country
Norway Norway
I've seen this "bug" as well. Great start, and I hope we in the future can separete them in the DB. Will your fix be in 1.4 ?
 

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,955
    1,264
    Saratov
    Home Country
    Russian Federation Russian Federation
    Maybe it could be done without db upgrade if two descriptions will be storing in one field dividing by | or anything else
     

    mrkk

    Portal Pro
    June 14, 2007
    51
    6
    46
    Home Country
    Finland Finland
    Also interested...to 1.9 nowadays. Atleast in finland i've always had short desc for ages with mp...
     

    marabicudi

    Portal Member
    May 24, 2009
    34
    16
    The same in switzerland, at least in my region. So i am also interested! It would be nice if it is available in MP2 too..
     
    Last edited:

    Users who are viewing this thread

    Top Bottom