[gpodder-devel] Different episodes from the same channel, ends up as the same file with different headings

  • From: bjoernr at sensewave.com (Bjørn Rasmussen)
  • Date: Sun, 9 Sep 2007 23:58:30 +0200

On Thursday 06 September 2007 21:11:12 Thomas Perl wrote:
> Hello, Bj??rn!
>
> If you download the URLs from another utility (web browser, etc..), do
> the file contents differ?
>
> Thanks,
> Thomas

... and thanks to you!

Tonight I tested to download from the two channels I've had most problems 
with.  It's just that I couldn't get the problem back again.

I see from my yum-log, that python-feedparser was updated about one hour 
before the earlier test (the one i reported in this thread).

Name        : python-feedparser            Relocations: (not relocatable)
Version     : 4.1                               Vendor: Fedora Project
Release     : 3.fc7                         Build Date: fre 29-06-2007 
23:08:53 CEST
Install Date: man 03-09-2007 20:52:22 CEST      Build Host: 
ppc3.fedora.redhat.com

... but after all, it was installed BEFORE the test was run.  Maybe somehow a 
reboot was necessary.  Only thing I can think of, that is different from last 
time.

I'll get back to you, if the problem returns.


Thanks again!


Bj?rn

>
> On Mon, 2007-09-03 at 22:08 +0200, Bj??rn Rasmussen wrote:
> > On Saturday 25 August 2007 07:53:39 Thomas Perl wrote:
> > > Hello, Bj????rn!
> > >
> > > On Wed, 2007-08-22 at 22:58 +0200, Bj????rn Rasmussen wrote:
> > > > When I download multiple episodes from the same channel, most of
> >
> > them
> >
> > > > ends up as the same mp3 file, but with correct titles/headings.
> >
> > It's
> >
> > > > not likely that this problem is caused by the channel.  It's the
> >
> > most
> >
> > > > importent radiostation in Norway.  If its caused by the station,
> >
> > you
> >
> > > > should also get the same problem.  You can try subscribing to
> > > > http://podkast.nrk.no/program/saann_er_livet.rss for example.
> > >
> > > What do you mean with "most of them ends up as the same mp3 file"?
> >
> > Are
> >
> > > they saved to one file, essentially overwriting each other on
> >
> > downloads?
> >
> > > How can they have the correct titles/headings then?
> >
> > Hi Thomas, again sorry for the late repons!
> >
> > 1. I check for new episodes.
> > 2. I answer yes to download them, for all channels.
> > 3. gpodder downloads all episodes according to the list I got when I
> > checked.
> > 4. I reallize that many of the episodes have equal file length.
> > 5. When I play those of equal lenth from the gui, I can confirm they
> > are the
> > same files, even the titles are different.  The titles are correct
> > according
> > to the list I got, prior to downloading.
> >
> > Hope this helps :-)
> >
> > > > I've running gpodder 0.9.4, installed from the newest Fedora 7
> >
> > rpm.
> >
> > > > I've tried to remove all gpodder related files from the users
> > > > homedirectory, before I removed the package (because it whas an
> > > > upgraded version) and reinstalled it again.  All other Fedora
> >
> > packages
> >
> > > > are the newest.
> > >
> > > Maybe you mean the MD5-summed filenames look strange to you? gPodder
> > > uses directory names and file names that look like
> > > "f8eda9e8d18cee72ac3105096bdd9568" or
> > > "a961d6c6e6b0993617f1b3282439009e.mp3" (that's the NRK P2 podcast
> >
> > and
> >
> > > its newest episode). If you want to have better names, you can use
> >
> > the
> >
> > > "sync" feature of gPodder to do a one-way sync of your podcasts to a
> > > local directory (filesystem-based MP3 player is the option in
> >
> > question).
> >
> > I didn't check the real files, only observed them from the gui.  I
> > sync to a
> > mp3-player.  Seem to work ok, because the problem is reflected on the
> > player
> > (different filenames on equal files).  The player see the same thing
> > as the
> > gui.
> >
> > > The reason for this is that URLs and filenames of podcast files are
> >
> > so
> >
> > > unpredictable that the only good way to differentiate between them
> >
> > is by
> >
> > > URL, because if the URL is the same, the file contents should also
> >
> > be
> >
> > > the same.
> > >
> > > Hope that clears things up, or is there a real bug here, unrelated
> >
> > to
> >
> > > md5-summed filenames?
> >
> > To sum up:  After a week, I download about 5 files from one channel.
> > Sync
> > them to the player.  Typically there are only 2 unique files on the
> > player.
> > The same goes for the gui.
> >
> > ...
> >
> > I decided to test the svn-version and got the same problems:
> >
> > 1. Removed the old gpodder-files from my home directory, to get a
> > clean start.
> > 2. Checked the channel http://podkast.nrk.no/program/andakten.rss.
> > 3. Got five different episodes in the gui, which I downloaded.
> > 4. All turned up as the same file:
> >
> > ls -Rl gpodder-downloads
> > gpodder-downloads:
> > totalt 4
> > drwxrwxr-x 2 bjoern bjoern 4096 2007-09-03 21:54
> > c5bad60281daada37af6aff51c665957
> >
> > gpodder-downloads/c5bad60281daada37af6aff51c665957:
> > totalt 13164
> > -rw-rw-r-- 1 bjoern bjoern 2690427 2007-08-29 18:20
> > 550487a7fffb7248b2e2cc2e5ad049dd.mp3
> > -rw-rw-r-- 1 bjoern bjoern 2690427 2007-08-29 18:20
> > 62f80e5b260919e805b5acc5022bc5d8.mp3
> > -rw-rw-r-- 1 bjoern bjoern 2690427 2007-08-29 18:20
> > 7829c3295608371af0191256d28542a6.mp3
> > -rw-rw-r-- 1 bjoern bjoern 2690427 2007-08-29 18:20
> > ad54e43299d7ac8f4faf2c76ee31809c.mp3
> > -rw-rw-r-- 1 bjoern bjoern 2690427 2007-08-29 18:20
> > d55442e69e859019a676da7685597580.mp3
> > -rw-rw-r-- 1 bjoern bjoern    3193 2007-09-03 21:54 index.xml
> >
> > As you can see, equal length of them all.  I played the to confirm.  I
> > did
> > this test twice and got the exact same result.
> >
> > Here's the test output:
> >
> > $ make test
> > bin/gpodder --local --verbose
> > (DownloadHistory) Creating new history list.
> > (PlaybackHistory) Creating new history list.
> > (ipodsync) Could not find pymad.
> > (ipodsync) Found eyeD3
> > (ipodsync) PyID3 not found - falling back to channel cover for iPod
> > cover art
> > (ipodsync) Found mplayer, using it to find track length of files
> > (Importer) Cannot import OPML from
> > URL: /home/bjoern/.config/gpodder/channels.opml
> > Player found: Movie Player (/usr/share/applications/totem.desktop)
> > Player found: Rhythmbox Music Player
> > (/usr/share/applications/rhythmbox.desktop)
> > Player found: Listen Music Player
> > (/usr/share/applications/fedora-listen.desktop)
> > Player found: Audacious
> > (/usr/share/applications/fedora-audacious-plugins.desktop)
> > Player found: Xine (/usr/share/applications/rpmforge-xine.desktop)
> > Player found: RealPlayer 10 (/usr/share/applications/realplay.desktop)
> > Player found: BMPx: Play Files
> > (/usr/share/applications/bmp-play-2.0.desktop)
> > Player found: Audacity
> > (/usr/share/applications/fedora-audacity.desktop)
> > Player found: GXine Video Player
> > (/usr/share/applications/fedora-gxine.desktop)
> > Player found: VLC media player (/usr/share/applications/vlc.desktop)
> > Player found: Serpentine Audio-CD Creator
> > (/usr/share/applications/fedora-serpentine.desktop)
> > Player found: Wavbreaker
> > (/usr/share/applications/fedora-wavbreaker.desktop)
> > Player found: Audacious
> > (/usr/share/applications/fedora-audacious.desktop)
> > Player found: Muine Music Player
> > (/usr/share/applications/fedora-muine.desktop)
> > Player found: MPlayer (/usr/share/applications/mplayer.desktop)
> > Player found: Audio Player
> > (/usr/share/applications/redhat-audio-player.desktop)
> > Player found: mkvinfo (/usr/share/applications/livna-mkvinfo.desktop)
> > Player found: Exaile Music Player
> > (/usr/share/applications/fedora-exaile.desktop)
> > Player found: Sweep (/usr/share/applications/fedora-sweep.desktop)
> > Player found: Rosegarden
> > (/usr/share/applications/fedora-rosegarden.desktop)
> > Player found: BMPx: Enqueue Files
> > (/usr/share/applications/bmp-enqueue-2.0.desktop)
> > Player found: EasyTAG (/usr/share/applications/easytag.desktop)
> > Player found: Kaboodle (/usr/share/applications/kde/kaboodle.desktop)
> > Player found: Kaffeine (/usr/share/applications/kde/kaffeine.desktop)
> > Player found: KMid (/usr/share/applications/kde/kmid.desktop)
> > Player found: JuK (/usr/share/applications/kde/juk.desktop)
> > Player found: Noatun (/usr/share/applications/kde/noatun.desktop)
> > Player found: Amarok (/usr/share/applications/kde/amarok.desktop)
> > (Importer) Cannot import OPML from
> > URL: /home/bjoern/.config/gpodder/channels.opml
> > Adding new channel: http://podkast.nrk.no/program/andakten.rss
> > (podcastChannel) Generating TreeModel for
> > http://podkast.nrk.no/program/andakten.rss
> > Trying to
> > delete:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/.tmp-5504
> >87a7fffb7248b2e2cc2e5ad049dd.mp3 Command:
> > wget --timeout=120 --continue
> > --output-document="/home/bjoern/gpodder-downloads/c5bad60281daada37af6aff
> >51c665957/.tmp-550487a7fffb7248b2e2cc2e5ad049dd.mp3"
> > "http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0903-0818_13401.m
> >p3" Trying to
> > delete:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/.tmp-7829
> >c3295608371af0191256d28542a6.mp3 Command:
> > wget --timeout=120 --continue
> > --output-document="/home/bjoern/gpodder-downloads/c5bad60281daada37af6aff
> >51c665957/.tmp-7829c3295608371af0191256d28542a6.mp3"
> > "http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0831-0818_13212.m
> >p3" Trying to
> > delete:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/.tmp-62f8
> >0e5b260919e805b5acc5022bc5d8.mp3 Command:
> > wget --timeout=120 --continue
> > --output-document="/home/bjoern/gpodder-downloads/c5bad60281daada37af6aff
> >51c665957/.tmp-62f80e5b260919e805b5acc5022bc5d8.mp3"
> > "http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0830-0818_13211.m
> >p3" Trying to
> > delete:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/.tmp-ad54
> >e43299d7ac8f4faf2c76ee31809c.mp3 Command:
> > wget --timeout=120 --continue
> > --output-document="/home/bjoern/gpodder-downloads/c5bad60281daada37af6aff
> >51c665957/.tmp-ad54e43299d7ac8f4faf2c76ee31809c.mp3"
> > "http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0829-0818_13210.m
> >p3" Trying to
> > delete:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/.tmp-d554
> >42e69e859019a676da7685597580.mp3 Command:
> > wget --timeout=120 --continue
> > --output-document="/home/bjoern/gpodder-downloads/c5bad60281daada37af6aff
> >51c665957/.tmp-d55442e69e859019a676da7685597580.mp3"
> > "http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0828-0818_13209.m
> >p3" Download thread finished: Adding downloaded item to local database
> > Local
> > database:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/index.xml
> > (DownloadHistory) Adding:
> > http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0828-0818_13209.mp
> >3 (DownloadHistory) Wrote 1 history entries.
> > Download thread finished: Adding downloaded item to local database
> > Local
> > database:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/index.xml
> > (DownloadHistory) Adding:
> > http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0903-0818_13401.mp
> >3 (DownloadHistory) Wrote 2 history entries.
> > Download thread finished: Adding downloaded item to local database
> > Local
> > database:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/index.xml
> > (DownloadHistory) Adding:
> > http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0829-0818_13210.mp
> >3 (DownloadHistory) Wrote 3 history entries.
> > Download thread finished: Adding downloaded item to local database
> > Local
> > database:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/index.xml
> > (DownloadHistory) Adding:
> > http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0831-0818_13212.mp
> >3 (DownloadHistory) Wrote 4 history entries.
> > Download thread finished: Adding downloaded item to local database
> > Local
> > database:
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/index.xml
> > (DownloadHistory) Adding:
> > http://podkast.nrk.no/filer/andakten/nrk_andakten_2007-0830-0818_13211.mp
> >3 (DownloadHistory) Wrote 5 history entries.
> > Trying to get settings for http://podkast.nrk.no/program/andakten.rss
> > Downloading cover
> > to /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/cover
> > Reading cover
> > from
> > /home/bjoern/gpodder-downloads/c5bad60281daada37af6aff51c665957/cover
> > Saving settings for http://podkast.nrk.no/program/andakten.rss
>
> _______________________________________________
> gpodder-devel mailing list
> gpodder-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/gpodder-devel



-- 
Bj?rn Rasmussen

Adr:    Moneheia 47, 4656 Kristiansand
Tlf:    38 04 50 05
Mbl:    911 27367
Epost:  bjoernr at sensewave.com


Other related posts: