https://bugs.gpodder.org/show_bug.cgi?id=995

--- Comment #8 from Bernd Schlapsi <[email protected]> 2010-08-16 19:09:54 BST ---
(In reply to comment #2)
> Would it fix the problem if you could define (via the advanced settings) a
> ordering of mime types that can then be used to pick the right format if
> multiple formats are available?

I analysed my gpodder database (database.sqlite) and I think the mime type
isn't the right thing to filter for. This is the result from my database:

sqlite> select distinct mimetype, substr(url, -3) from episodes;
application/octet-stream|m4a
application/octet-stream|mp3
application/octet-stream|ogg
application/ogg|ogg
application/x-ogg|ogg
audio/mp3|ogg
audio/mp4|m4a
audio/mp4a-latm|m4a
audio/mpeg|MP3
audio/mpeg|m4a
audio/mpeg|mp3
audio/mpeg|mp4
audio/ogg|ogg
audio/ogg;charset=UTF-8|ogg
video/mp4|m4v

This are the information from the problematic podcast;
[{'href':
u'http://djangodose.com/podcasts/download/djangodose-community-catchup-011.m4a',
  'length': u'8500445',
  'rel': u'enclosure',
  'type': u'audio/mp4a-latm'},
 {'href':
u'http://djangodose.com/podcasts/download/djangodose-community-catchup-011.mp3',
  'length': u'8285871',
  'rel': u'enclosure',
  'type': u'audio/mpeg'}]

I think the better solution would be to filter the filename extension. I know
this is a little bit messy, but it would work better

What do you think?

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to