Conor, the unity music player IS given the desktop file name unity-webapps-music-player-context.c 87 UnityMusicPlayer *player; 92 player = unity_music_player_new (context->desktop_name);
and then when exporting the bus you do -> // TODO: I think you will need to ensure the name is only one word and lower case var mpris_extension = consumer.app_info.get_name().down(); var dbus_name = MPRIS_INTERFACE_PREFIX.concat (mpris_extension); bus_name_owner_handle = Bus.own_name (BusType.SESSION, dbus_name, BusNameOwnerFlags.NONE, null, () => { Trace.log ("Owning name %s", dbus_name); }, on_name_lost); but never convert spaces to underscores or anything. ** Changed in: libunity-webapps Status: Incomplete => Invalid ** Changed in: indicator-sound Assignee: Conor Curran (cjcurran) => Alex Launi (alexlauni) ** Also affects: libunity Importance: Undecided Status: New ** Changed in: libunity Status: New => Confirmed ** Changed in: libunity Assignee: (unassigned) => Alex Launi (alexlauni) ** Changed in: libunity Importance: Undecided => High ** Changed in: libunity Milestone: None => 5.14.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1031933 Title: space in name field causes failure of media player interface to export To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-sound/+bug/1031933/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs