I am trying to add the audio type ."flac" to Media Player.
I roughly followed the instructions for Maemo 2.2.

I am able to use

"gst-launch-0.10 filesrc location=song.flac !flacdec !audioconvert!dsppcmsink"

to play the songs, so I have both libraries (flac & gstreamer-1.0) set up 
correctly. 

I have the icons set up and when I click the song twice, Media_Player 
starts up and does nothing. It still cannot see files that end in .flac.

Looking at /etc/gconf/schemas/osso_media_server.schema, it appears 
some sort of indirection is occurring using the file 
osso-thumbnail-libid3.entries
(the osso_media_server.schema entries refer to x-id3)

Anyways, I am not sure what I should be doing to get media_server to process 
flac files (if it is possible.)

The schema I tried was osso_media_server_flac.schema,

gconfschemafile>
   <schemalist>
      <schema>
         <key>/schemas/apps/osso/osso_media_server/audio/application_x-id3</key>
         <applyto>/apps/osso/osso_media_server/audio/application_x-id3</applyto>
         <owner>osso_media_server</owner>
         <type>list</type>
         <list_type>string</list_type>
         
<default>[application/application/x-id3,flacdec,audioconvert,dsppcmsink]</default>
         <locale name="C"> </locale>
      </schema>
   </schemalist>
</gconfschemafile>

with the osso-thumbnail-libid3.entries changed to 

<gconfentryfile>
  <!--
       When editing, synchronize this with debian/...postrm.in
       so keys would be uninstalled too
  -->

  <entrylist base="/apps/osso/osso/thumbnailers">

    <entry>
      <key>[EMAIL PROTECTED]/command</key>
      <value><string>/usr/bin/osso-thumb-libid3</string></value>
    </entry>

    <entry>
      <key>[EMAIL PROTECTED]/command</key>
      <value><string>/usr/bin/osso-thumb-libid3</string></value>
    </entry>

    <entry>
      <key>[EMAIL PROTECTED]/command</key>
      <value><string>/usr/bin/osso-thumb-libid3</string></value>
    </entry>

    <entry>
      <key>[EMAIL PROTECTED]/command</key>
      <value><string>/usr/bin/osso-thumb-libid3</string></value>
    </entry>

    <entry>
      <key>[EMAIL PROTECTED]/command</key>
      <value><string>/usr/bin/osso-thumb-libid3</string></value>
    </entry>

    <entry>
      <key>[EMAIL PROTECTED]/command</key>
      <value><string>/usr/bin/osso-thumb-libid3</string></value>
    </entry>

  </entrylist>

</gconfentryfile>


I am not sure how you process the entries file, gconftool-2 does not
like process them directly.

I tried a few other schema changes/ideas, but to no avail.

Has anyone successfully added flac or other media to media_player?

Thanks,
Mark
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to