GNOME Bugzilla – Bug 662191
info: Setting default music player only works for ogg vorbis files
Last modified: 2012-06-28 08:43:35 UTC
It turns out that settings the default music player only associates the app with the audio/x-vorbis+ogg mime type. That means that the default music players won't be used for, say, mp3 files. I'm not sure what would be the right way to solve this, though. Do we want to associate 10-15 mime types in that case? We have the same issue with the default video player (with the video/x-ogm+ogg mime type).
We should probably do that, yes.
There is a similar issue with the photo types, some Ubuntu users recently got confused that changing the photo browser changed the jpeg associations but not the png one ... should I open a different bug about that or do you consider it the same issue?
Given that it would be implemented using the same code, doesn't really make sense to split them up. If somebody wants to write the code, you'd need to make the application the default for all the mime-types it handles, rather than for just the one filtered through in the combobox.
(In reply to comment #3) > If somebody wants to write the code, you'd need to make the application the > default for all the mime-types it handles, rather than for just the one > filtered through in the combobox. How would that work if I want, say, totem for audio files and vlc for video files? Since I guess the two of them can handle both audio files and video files. Should we filter on audio/* and video/*?
(In reply to comment #4) > (In reply to comment #3) > > If somebody wants to write the code, you'd need to make the application the > > default for all the mime-types it handles, rather than for just the one > > filtered through in the combobox. > > How would that work if I want, say, totem for audio files and vlc for video > files? Since I guess the two of them can handle both audio files and video > files. Should we filter on audio/* and video/*? It would certainly unexpected if changing the default for video would affect how my music is played. So filtering is probably right.
(1) When someone sets a player, for playing video, all video-file-types should be associated with that player-application as a result. (2) When someone sets a player, for playing audio, all audio-file-types should be associated with that player-application as a result. This makes it easiest for new users who are trying to change these settings from a global (cascading) perspective. However, from the "granular" (non-global) perspective, here is an intuitive approach that should be added to the "open with" dialog (specified in this other "inversely related" bug): https://bugzilla.gnome.org/show_bug.cgi?id=674480
For a scripted solution, which may be used as an underlying mechanism for associating all types of a specific category (video, audio, etc.) please have a look at this blog post: http://www.bollchen.de/blog/2012/02/command-line-magic-open-with-vlc/
Fedora bug that complains about the same problem for image/jpg vs image/png: https://bugzilla.redhat.com//show_bug.cgi?id=747889
Bug 674084 has a patch, so... Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 674084 ***