EPG Detail "description" shows only the subtitle

Bug #503051 reported by Daniel Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Me TV
Fix Released
Medium
Unassigned

Bug Description

When I click on an entry of the EPG, me-tv shows more information as an extra window. This is ok, but the Field "description" is not filled correctly, because there's only the subtitle but not the full description.

This problem occurs on all EPG-entries, altough the Information is provided - kaffeine, for example, shows the full description.

I'm from germany, so I hope my english is not too bad.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Your English is fine :)

The EPG works fine for me. Can you build from source?

Changed in me-tv:
status: New → Incomplete
summary: - EPG Detail "description" shows only the subtitel
+ EPG Detail "description" shows only the subtitle
Revision history for this message
Daniel Richter (danielrichter2007) wrote :

I see my version (karmic repository - 1.0) was very outdated.

Now I built the new version from source and there's the correct description. This is definitely better than before, but now there's no field containing the subtitle. But the subtitle is important too. On a part of series, for example, it shows the individual headline, whereas the main title shows the name of the complete series.

Is it correct here or should I write a new bug report?

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Are you clearing out the EPG events before retesting? Me TV will not update EPG events that it already has received. You may be looking at data generated from the previous EPG parser. There is a way you can do this without deleting the Me TV database (me-tv.db),

  sqlite3 ~/.local/share/me-tv/me-tv.db "delete from epg_event_text; delete from epg_event;"

I can't test that right now but it should work.

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

No, this isn't a data problem. Not for now. The only problem in the new version is, that there's no field displaying the subtitle.

Maybe this is more a missing feature than a bug, but the bugfix was the replacement of the subtitle in the description field trough the description in the description field. So one information is removed while another is added. I think it should show both, the description and the subtitle, preferentially as separate fields.

But anyway I ran the posted command and tested again, but now there's no difference to the view before.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Ok, I'm a bit confused and it might be a simple confusion over the words we are using:

* Title: The EPG event title e.g. "The Simpsons"
* Description: The EPG event description e.g. "Homer eats a whole ... Staring: ... Nancy Cartwright"
* Subtitle: Text shown in a different language from the audio language displayed on the screen overlayed on the top of the video for people to read

At this point I'm going to assume that when you say "subtitle" you mean "title".

This should work, well it does for me. If you are now building from source then we can work through this if you like. Are you getting your source from bzr or the release tarball?

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

I did really worry about that possible confusion before, but I didn't know the right word :-(

An example (it's an dvb event in germany, so I had to translate it. Because it is very much, I used the google translation. I hope this is ok):

Title: Coast Guard
Subtitle: Faceless Killers
Description: The "Albatross II" is on patrol ride, when she was a frantic radio call reaches a cutter. Natasha Scheicher feels threatened by a stranger, who attacked with about 20 centimeters long, pointed metal object. The Coast Guard quickly goes to the specified location.
But when they reach the boat, they can Natasha completely before unhurt. No trace of the attacker or a struggle. However, Natasha's step-mother has disappeared overboard.
Germany, 2009

"Coast Guard" is the name of the series - every part takes this name
"Faceless Killers" is the name of this part/event which is displayed on the screen when the film starts.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Ok, let's look into this.

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

OK, done.

This is what I did:

 * running make clean
 * removing the existing version of me-tv using apt-get (before it was installed by my own deb-package created by checkinstall)
 * adding the line
 * running make and checkinstall
 * starting me-tv by typing "me-tv -v > metv_out.log"
 * in the program I watched an epg event, then closed the window and finally quit using the icon from the notification area

A DVB-Stick was not connected.

The metv_out.log is attached.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote : Re: [Bug 503051] Re: EPG Detail "description" shows only the subtitle

Sorry, I need the DVB stick connected. When done correctly this will
flood the log file with buffer messages.

Cheers,

Michael

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

OK, I done and watched TV for some seconds. But now the log size is larger than 17 MiB. So I compressed it by bzip2.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

So now all I need is for you to tell me one of those packets that have
a subtitle in it. Is this possible?

Cheers,

Michael

2010/1/7 Daniel Richter <email address hidden>:
> OK, I done and watched TV for some seconds. But now the log size is
> larger than 17 MiB. So I compressed it by bzip2.
>
> ** Attachment added: "The output of "me-tv -v" (dvb-stick connected, bzip2 compressed)"
>   http://launchpadlibrarian.net/37497648/metv_out.log.bz2
>
> --
> EPG Detail "description" shows only the subtitle
> https://bugs.launchpad.net/bugs/503051
> You received this bug notification because you are subscribed to Me TV.
>

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

I don't know how to specify a packet, but here's an example in the original language including all information I can give:

channel name: ZDF
time: january, 6th 22:45 CET (ends 23:30)
title: Traumziel Karibik (2/2)
subtitle: Yachten, Rum und Wellblechhütten
description: Der Kanadier Gregory Scott ist der Liebe wegen in die Karibik gezogen. Von Ottawa nach Antigua. Er will dort nie wieder weg, sagt er. Das warme Wetter hält ihn. Aber auch in die Kultur und die Musik auf den Kleinen Antillen hat er sich verliebt.
Das ZDF-Team mit Reporter Dietmar Schumann fliegt mit dem Hubschrauber auf einige der britisch und französisch geprägten Inseln in der südöstlichen Karibik. Ein Paradies für Leute mit ausreichend Geld in der Tasche.
Deutschland, 2009

I hope you find it by data. I attached the database for case that the log isn't helpful enough.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

That, my friend, is exactly what I need. Line 4758 clearly shows that subtitle. You are saying that Me TV does not read this text, correct? If so, I now have everything that I need to look into this. I should be able to fix it this weekend.

The only other question that I have is, where do I display this information? Should I just append it to the title? Or do you think that an extra field is better?

Cheers,

Michael

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

I looked a little around in the EPG and now I think, the actual behaviour is the follows:
 * everything is stored on the database, including the subtitle (the subtitle of my example is stored too: `sqlite3 me-tv.db 'select * from epg_event_text' | grep 'Yachten, Rum und Wellblechhütten'` shows 3 lines, probably alternate times, not a bug ;-) )
 * if there's no description, it uses the subtitle as description (probably this affects only the output)

About the positioning:
In the first time, I thought about adding an extra field. But you're right - a additional field would be overkill. So I think, you should append it to the title.

Alternatively one could see it as a part of description and you should add it to the description field (but then you should format it - underline, bold or italic).

And when you start to modify something at this section, can you increase the default size of the detail dialog to 150% of now? It would increase the readability of the description without the need of manual resizing.

Thank you for the fast responses on this bug description. I really didn't expect so, as I added it. :-)

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Good work. That saves a bit of effort. I'll poke around and see what the issue is. With that buffer information it should be fairly simple, but a bit labourious :)

Regarding the size of the EPG Event Dialog, it's not done in the same place but I can also very easily change the size of it. It sounds fair.

Changed in me-tv:
importance: Undecided → Medium
assignee: nobody → Michael Lamothe (lamothe)
status: Incomplete → Confirmed
Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

I think that I'm not storing the date/time correctly, I don't think that it's UTC.

BTW, this might be useful in debugging:

   sqlite3 ~/.local/share/me-tv/me-tv.db "select c.name, datetime(ee.start_time, 'unixepoch', 'localtime'), eet.title, eet.description from channel c, epg_event ee, epg_event_text eet where c.channel_id = ee.channel_id and ee.epg_event_id = eet.epg_event_id and description like '%Yachten%'"

The time shown here is actually UTC.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

More useful information attached. ZDFinfokanal events ordered chronologically. There appears to be no conflicts with the events i.e. no events clobber it, the EPG times look to be spot-on.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

So this is what I can see. There are 2 channels that have that event title "Traumziel Karibik" but one of them seems to be only an information channel. Are you saying that kaffeine somehow merges this information?

Changed in me-tv:
status: Confirmed → Incomplete
Revision history for this message
Daniel Richter (danielrichter2007) wrote :

No, kaffeine doesn't merge this information too. I only wanted to say that's normal there are 3 events.

Changed in me-tv:
status: Incomplete → In Progress
Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

We are going to add another parameter to the EPG_EVENT_TEXT table so that this field can be captured and stored. We do want it on the EPG details page but not on the EPG button because it's too verbose.

Changed in me-tv:
status: In Progress → Fix Committed
Changed in me-tv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.