Re: [Muine] M4A mime detection



Thanks, that did it, without any reboot either.  

However, now faad doesn't seem to be working for me.  Muine plays some
garbage and the command line faad repeatedly prints out "Error: Pulse
coding not allowed in short blocks"

I've tried encoding with both iTunes and faac, but same results.

-- 
Matthew Good <muine matt-good net>

On Wed, 2005-02-02 at 08:51 -0800, Peter Johanson wrote:
> On Wed, Feb 02, 2005 at 11:27:03AM -0500, Matthew Good wrote:
> > I built Muine with m4a support enabled, but I've been unable to play the
> > songs in it.  It looks like Gnome isn't detecting the mime type of the
> > m4a files (in Nautilus the properties dialog shows
> > application/octet-stream) so Muine ignores the files.
> > 
> > I'm using Ubuntu/Gnome 2.8, and I can see the m4a entries in
> > gnome-vfs.mime and gnome-vfs-mime-magic, so I'm not sure what I'm
> > missing here.
> 
> the shared-mime-info package hasn't yet been updated to include checking
> for these files. Please see
> https://bugs.freedesktop.org/show_bug.cgi?id=604 for a patch. This
> didn't really apply what need to be though, since it's for the source
> package, and not for the installed system.
> 
> The relevant section in /usr/share/mime/packages/freedesktop.org.xml
> should look like (context around the pieces added so you can see where
> they added it):
> 
> <snip>
>   <mime-type type="audio/x-flac">                                               
>     <comment>FLAC audio</comment>                                               
>     <comment xml:lang="no">FLAC-lyd</comment>                                   
>     <glob pattern="*.flac" />                                                   
>   </mime-type>                                                                  
>   <mime-type type="audio/x-m4a">                                                
>     <comment>AAC audio</comment>                                                
>     <magic priority="50">                                                       
>       <match type="string" value="ftypM4A" offset="4"/>                         
>     </magic>                                                                    
>     <glob pattern="*.m4a"/>                                                     
>     <glob pattern="*.aac"/>                                                     
>   </mime-type>                                                                  
>   <mime-type type="audio/midi">                                                 
>     <alias type="audio/x-midi" />
> </snip>
> 
> After adding it, you need to do:
> # update-mime-database /usr/share/mime
> 
> which will update the database. You'll prolly have to log out and in of
> gnome again for the new mime info to get picked up.
> 
> -pete





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]