jlbrd / qmagneto

Automatically exported from code.google.com/p/qmagneto
0 stars 0 forks source link

Same description for multiple programs #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when cliking on a program's details you  get the details of an other 
channel's program making recording impossible.

What is the expected output? What do you see instead?
Example : instead of having the description of the Movie on channel 1 you get 
the one of channel 2.

What version of the product are you using? On what operating system?
1.2.0, windows XP

Please provide any additional information below.

I checked with SQLlite the qmagnetoa.db database, and what I have seen is that 
in the programs table, you may have the same ID multiple times causing only the 
description of the first program to show. 

A simple fix should be making the program ID a unique key for the table?

Thanks 

Original issue reported on code.google.com by Istr...@gmail.com on 15 Jun 2010 at 1:53

Attachments:

GoogleCodeExporter commented 9 years ago
Actually it seems that this issue happens when programs on different channels 
start at the same time ( lets say 20h00)then they get the same ID ...

Original comment by Istr...@gmail.com on 15 Jun 2010 at 2:13

GoogleCodeExporter commented 9 years ago
En Français :

l'application propose la même description lorsque l'on clique sur un programme 
(cf. images) 

Ceci m'a l'air d'être causé par le fait que la clef de la table "programs" 
est constituée par la date/heure, or si l'on a plusieurs chaines où des 
émissions commencent à la même heure cela génère des doublons ayant le 
même identifiant. Il suffirait de changer la méthode d'attribution de l'ID 
pour qu'il soit unique pour chaque émission. 

Original comment by Istr...@gmail.com on 15 Jun 2010 at 3:23

GoogleCodeExporter commented 9 years ago
C'est corrigé dans la révision 197 du code et sera présent dans la prochaine 
release

Original comment by jlbi...@gmail.com on 17 Jun 2010 at 2:30