GNOME Bugzilla – Bug 612101
Banshee > 1.0 is not recognized as a possible media application
Last modified: 2020-03-17 08:56:06 UTC
Created attachment 155481 [details] [review] Updates xml file for banshee's executable banshee -> banshee-1 After banshee 1.0, the executable name changed from banshee to banshee-1, but the applications xml file still has banshee as the executable name, making the preferred applications dialog fail to recognize Banshee as a potential media player.
Why was the executable name changed at all? :-/
From the 0.9 -> 1.0 transition, there was a time where people may have wanted to have both, so the 1.0 binary had -1 appended to easily allow parallel installs. -1 was then retained.
Applications can install their own XML fragments to do this, and that's what Banshee should do, too. The centralized XML file in g-c-c just doesn't scale, and we don't really maintain it anymore.
Can you possibly give me an example of this so that I can update Banshee?
*** Bug 614262 has been marked as a duplicate of this bug. ***
Review of attachment 155481 [details] [review]: Marking as needs-work as per comment 3
Created attachment 157987 [details] [review] banshee-1.xml Attached file installed in /usr/share/gnome-control-center/default-apps fixes this
Comment on attachment 157987 [details] [review] banshee-1.xml Huh, that's kind of annoying that nautilus recognizes Banshee fine just from it's mimetypes. To clarify to anybody else just looking at this, this is a problem with the Preferred Applications control center tool. It looks like we're supposed to merge the translated names into the xml too, ala <name xml:lang="ar">ﺃﻮﺑﺭﺍ</name> Is this really worth supporting? It's hard to imagine this tool isn't deprecated, or if it's not, that it hasn't been fixed in recent releases to use .desktop files.
(In reply to comment #8) > It looks like we're supposed to merge the translated names into the xml too, > ala > > <name xml:lang="ar">ﺃﻮﺑﺭﺍ</name> > > Is this really worth supporting? It's hard to imagine this tool isn't > deprecated, It's not deprecated still and, sadly, is the only way to set default multimedia device or web browser under Gnome :-( > or if it's not, that it hasn't been fixed in recent releases to use > .desktop files. But seems that default applications capplet is not actively developed :-(, then, for now, the idea would be to provide attached xml file (+translations) since I don't think this g-c-c capplet will be fixed to sync with .desktop files in the future :-/ Thanks a lot
Pacho, thanks for the info. Can you change your patch to 1) actually be a patch (git format-patch HEAD~1 for example) 2) include the translations, like Banshee's data/audio-profiles/ do?
Created attachment 157993 [details] [review] 1.patch This is the first patch I prepare using git, then, I am not sure if it's ok :-/
Review of attachment 157993 [details] [review]: Looks pretty good, but it's missing the Makefile.am/configure.ac integration to actually get generated. Please test that it works before submitting!
I will have to learn how to generate it with a proper configure option, but I don't have time for that just now :-/. I will try to get a look to it as soon as possible
Im fairly sure this is fixed, however i cant test anything but the latest currently.
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.