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 612101 - Banshee > 1.0 is not recognized as a possible media application
Banshee > 1.0 is not recognized as a possible media application
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
: 614262 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-07 17:09 UTC by Alex Launi
Modified: 2020-03-17 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Updates xml file for banshee's executable banshee -> banshee-1 (789 bytes, patch)
2010-03-07 17:09 UTC, Alex Launi
needs-work Details | Review
banshee-1.xml (397 bytes, patch)
2010-04-05 17:11 UTC, Pacho Ramos
reviewed Details | Review
1.patch (1.04 KB, patch)
2010-04-05 18:55 UTC, Pacho Ramos
reviewed Details | Review

Description Alex Launi 2010-03-07 17:09:35 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.
Comment 1 André Klapper 2010-03-07 18:50:43 UTC
Why was the executable name changed at all? :-/
Comment 2 Alex Launi 2010-03-07 20:17:12 UTC
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.
Comment 3 Jens Granseuer 2010-03-08 12:09:47 UTC
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.
Comment 4 Alex Launi 2010-03-08 15:19:33 UTC
Can you possibly give me an example of this so that I can update Banshee?
Comment 5 Luca Cavalli 2010-04-01 21:12:52 UTC
*** Bug 614262 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Kojevnikov 2010-04-04 05:04:59 UTC
Review of attachment 155481 [details] [review]:

Marking as needs-work as per comment 3
Comment 7 Pacho Ramos 2010-04-05 17:11:48 UTC
Created attachment 157987 [details] [review]
banshee-1.xml

Attached file installed in /usr/share/gnome-control-center/default-apps fixes this
Comment 8 Gabriel Burt 2010-04-05 17:58:27 UTC
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.
Comment 9 Pacho Ramos 2010-04-05 18:10:48 UTC
(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
Comment 10 Gabriel Burt 2010-04-05 18:14:46 UTC
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?
Comment 11 Pacho Ramos 2010-04-05 18:55:26 UTC
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 :-/
Comment 12 Gabriel Burt 2010-04-05 19:10:25 UTC
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!
Comment 13 Pacho Ramos 2010-04-05 19:19:31 UTC
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
Comment 14 Dave Wales 2011-05-01 18:45:05 UTC
Im fairly sure this is fixed, however i cant test anything but the latest currently.
Comment 15 André Klapper 2020-03-17 08:56:06 UTC
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.