No, it matches the product id, the problem is that gnome doesn't detect
it as an audio player unless it has the string "portable_audio_player"
in the info.capabilities entry. The section at the bottom of the file
(below) only adds that capability if the device has the key
portable_audio_player.type. Since the YP-U1 section (and it looks like
some others as well) doesn't define that key, the device never gets the
portable_audio_player capability.

    <!-- Set common keys for detected audio player if you have special cases 
add the player below this match -->
    <match key="portable_audio_player.type" exists="true">
      <match key="portable_audio_player.access_method.protocols" 
contains="storage">
        <!-- NOTE: for backward compatibility until key get removed finally -->
        <merge key="portable_audio_player.access_method" 
type="string">storage</merge>
        <!-- NOTE: for backward compatibility until key get removed finally -->
        <merge key="portable_audio_player.type" type="string">generic</merge>
        <merge key="portable_audio_player.storage_device" 
type="copy_property">info.udi</merge>
      </match>
      <append key="info.capabilities" 
type="strlist">portable_audio_player</append>
      <merge key="info.category" type="string">portable_audio_player</merge>
      <!-- all player in the list above support this output format -->
      <append key="portable_audio_player.output_formats" 
type="strlist">audio/mpeg</append>
    </match>

-- 
Samsung YP-U1 is not detected as an audio player
https://bugs.launchpad.net/bugs/209276
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to