After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 535985 - Some podcasts appear twice in podcast list
Some podcasts appear twice in podcast list
Status: RESOLVED INVALID
Product: banshee
Classification: Other
Component: Podcasting
git master
Other Linux
: Normal normal
: 1.2
Assigned To: Mike Urbanski
Mike Urbanski
Depends on:
Blocks:
 
 
Reported: 2008-05-31 22:37 UTC by Maciej (Matthew) Piechotka
Modified: 2008-09-19 22:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing Banshee podcast episode list with duplicates, and podcast mp3 files on filesystem (193.16 KB, image/png)
2008-08-08 16:48 UTC, Matthew Hurne
Details
The window (241.09 KB, image/png)
2008-08-14 19:11 UTC, Maciej (Matthew) Piechotka
Details
Another Banshee Podcast duplication problem (4.93 KB, image/png)
2008-08-14 19:19 UTC, Maciej (Matthew) Piechotka
Details
Yet another strange behaviour (57.42 KB, image/png)
2008-08-14 19:23 UTC, Maciej (Matthew) Piechotka
Details

Description Maciej (Matthew) Piechotka 2008-05-31 22:37:04 UTC
Some podcasts appear twice in podcast list.
It is not a change of id as it happens also on initial import.
The podcasts seems to be the same in model (if I click download both are mark as downloading. The same with play and other actions).

The problem appears on:
- Gitcast (but not the first episodes)
- Ruby on rails podcast (all?)
Comment 1 Maciej (Matthew) Piechotka 2008-06-02 08:23:31 UTC
It disappeard on the n-th add for gitcast so is somehow random.
Comment 2 Maciej (Matthew) Piechotka 2008-07-02 10:25:08 UTC
In SVN version some episodes of RoR appear 3 times. 
Comment 3 Maciej (Matthew) Piechotka 2008-07-14 23:27:56 UTC
In svn they behave as seprate entities.
Comment 4 Matthew Hurne 2008-08-08 16:40:36 UTC
I see this issue as well - well, kind of.  I subscribed to a podcast, and had Banshee download all episodes immediately upon subscribing.  I ended up seeing what appeared to be several duplicate episodes in the list, and did not have early episodes in the list (episodes 1, 2, 3, etc.).  However, I opened the folder where the podcasts were downloaded to in Nautilus and saw that Banshee did download all individual episodes, and didn't download any duplicates (the filenames were different, like "episode-1.mp3", "episode-2.mp3", and so on.  So, it looks to me like this is a display issue.  I quit Banshee and then fired it back up, but the list of episodes still showed duplicates.  It seems like Banshee is displaying the wrong info. for certain episodes - something like showing "Episode 4" for both episode 3 AND 4, and not showing "Episode 3" for any episode.
Comment 5 Matthew Hurne 2008-08-08 16:48:16 UTC
Created attachment 116162 [details]
Screenshot showing Banshee podcast episode list with duplicates, and podcast mp3 files on filesystem

Attaching screenshot showing Banshee 1.2 on Ubuntu 8.04 listing episodes for a podcast.  There are several "duplicates".  The screenshot also shows the files that Banshee downloaded, which have no duplicates.  The number of files on the filesystem is the same as the number of episodes listed in Banshee.
Comment 6 Bertrand Lorentz 2008-08-12 19:19:53 UTC
Did you maybe use banshee 0.98.x or 0.99.x with podcasts ?
The podcast extension was unstable in those alpha and beta versions. I did use it and it messed up the content of the banshee db for me, producing strange behavior like the ones you described.
Comment 7 Maciej (Matthew) Piechotka 2008-08-12 19:28:04 UTC
(In reply to comment #6)
> Did you maybe use banshee 0.98.x or 0.99.x with podcasts ?
> The podcast extension was unstable in those alpha and beta versions. I did use
> it and it messed up the content of the banshee db for me, producing strange
> behavior like the ones you described.
> 

For short period of time. But I already purged the banshee.db podcast tables since then...
Comment 8 Sandy Armstrong 2008-08-13 17:03:03 UTC
Seeing this on some podcasts here, too.  Not downloaded twice, just displayed in the list twice.
Comment 9 Stephen 2008-08-13 17:36:47 UTC
I'm experiencing it too using Banshee 1.2.
Comment 10 Maciej (Matthew) Piechotka 2008-08-14 19:07:48 UTC
(In reply to comment #6)
> Did you maybe use banshee 0.98.x or 0.99.x with podcasts ?
> The podcast extension was unstable in those alpha and beta versions. I did use
> it and it messed up the content of the banshee db for me, producing strange
> behavior like the ones you described.
> 

I'll try on fresh database. The only thing I've imported is by script:

require 'sqlite3'

from = SQLite3::Database.new('.config/banshee-1.old/banshee.db')
into = SQLite3::Database.new('.config/banshee-1/banshee.db')

rows = into.execute2("select Uri from CoreTracks")
rows = rows[1...rows.length].flatten # First element is name of column

update = into.prepare("UPDATE CoreTracks SET Rating=?, PlayCount=?, SkipCount=?, LastPlayedStamp=?, LastSkippedStamp=?, DateAddedStamp=?, DateUpdatedStamp=? WHERE Uri=?")
select = from.prepare("SELECT Rating, PlayCount, SkipCount, LastPlayedStamp, LastSkippedStamp, DateAddedStamp, DateUpdatedStamp, Uri FROM CoreTracks WHERE Uri=?")

rows.each do |uri|
  update.execute(*(select.execute(uri)))
end
Comment 11 Maciej (Matthew) Piechotka 2008-08-14 19:11:41 UTC
Created attachment 116600 [details]
The window

What I've seen after doing it (and add FLOSS Weekly). After click on the podcast feed everything seems to by fine.
Comment 12 Maciej (Matthew) Piechotka 2008-08-14 19:19:31 UTC
Created attachment 116601 [details]
Another Banshee Podcast duplication problem

It is not connected to podcast - but the problem might be with list handling.
Comment 13 Maciej (Matthew) Piechotka 2008-08-14 19:23:46 UTC
Created attachment 116602 [details]
Yet another strange behaviour

I can post a new one that I discovered today - the 3 top elements are repeat through all of screen.
Comment 14 Bertrand Lorentz 2008-08-14 20:09:22 UTC
The behaviour you have now looks like the one in bug #547515.
Which version of gtk are you using ?
Comment 15 Maciej (Matthew) Piechotka 2008-08-14 20:40:23 UTC
2.13.6 - it would explain a bit.
Comment 16 Maciej (Matthew) Piechotka 2008-09-19 22:50:46 UTC
I cannot reproduce it. Please reopen if it will be reproduced.