[mir-coders] short intro on media-handling?

init init at nadir.org
Fri Oct 1 06:30:42 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, 
at indy-germany we currently have two problems with media-handling.

1.
mir does not accept ogg-Files even though (or because) we have two Ogg-entries 
in our list of media-types:

name: ogg
MIME-Type: application/x-ogg
classname: Ogg
tablename: Audio

name: ogg
MIME-Type: application/octet-stream
classname: Ogg
tablename: Audio

Uploading an Ogg-File results in an empty-error message page.
The Article makes it to the db though. The Audio-File is missing.

So what could we do to enable Ogg-Uploads

2. 
ra/rm Files are recognized as Audio,   nowadays they are only used for Video.
I changed the entries in the list of media-types but some Articles with the 
RealMedia Files still turn up in our Audio-Archive-List.

The Media-Archive lists are compiled like this:
   <Archive
         articleSelection="is_published='t' and to_article_type in 
(${articletype.openposting}, ${articletype.newswire}, ${articletype.feature}) 
and exists (select * from content_x_media, video where content_id=content.id 
and media_id=audio.id)"
         archivename="audio"
         archivetitle="Audio"
         pages="pages" />


So could someone please give me a few hints on how mir determis the Media-Type 
and what is stored in which table and so on.
Many thanks in advance.

Greetings init



- -- 
GnuPG keyID: 0xAF56836F     
FP: F87D BCE3 6832 5095 C497 1211 C57B F7DB AF56 836F
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xAF56836F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBXVwHxXv3269Wg28RAn9XAJ4jq6YAN0/JTf586HNU18LLFES6UACeJTCV
aJ60FhPRphEOz+J/Yz5DPgs=
=paOC
-----END PGP SIGNATURE-----


More information about the mir-coders mailing list