From 95199ce40b5de9c1c8cb31d5fc686442a79ec9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 22 Aug 2008 12:20:52 +0000 Subject: [PATCH] * Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions.* Moved mp3 attributes over to the super type. * Improved super type descriptions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27145 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/data/beos_mime/audio.super | 60 ++++++++++++++++++++++++++- src/data/beos_mime/audio/mpeg | 76 ---------------------------------- src/data/beos_mime/image.super | 8 +++- src/data/beos_mime/text.super | 8 +++- src/data/beos_mime/video.super | 4 +- 5 files changed, 72 insertions(+), 84 deletions(-) diff --git a/src/data/beos_mime/audio.super b/src/data/beos_mime/audio.super index 1ed5b5fa98..9f4371ddc4 100644 --- a/src/data/beos_mime/audio.super +++ b/src/data/beos_mime/audio.super @@ -3,9 +3,9 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "audio"; -resource(2, "META:L:DESC") #'MLDC' "generic audio"; +resource(2, "META:L:DESC") #'MLDC' "Generic audio file"; -resource(3, "META:S:DESC") #'MSDC' "generic audio"; +resource(3, "META:S:DESC") #'MSDC' "Audio file"; resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-MediaPlayer"; @@ -14,18 +14,74 @@ resource(5, "META:EXTENS") message(234) { }; resource(6, "META:ATTR_INFO") message(233) { + "attr:name" = "Audio:Artist", + "attr:name" = "Audio:Title", + "attr:name" = "Audio:Album", + "attr:name" = "Audio:Track", + "attr:name" = "Audio:Year", + "attr:name" = "Audio:Comment", + "attr:name" = "Audio:Genre", + "attr:name" = "Audio:Rating", "attr:name" = "Audio:Length", "attr:name" = "Audio:Bitrate", + "attr:public_name" = "Artist", + "attr:public_name" = "Title", + "attr:public_name" = "Album", + "attr:public_name" = "Track", + "attr:public_name" = "Year", + "attr:public_name" = "Comment", + "attr:public_name" = "Genre", + "attr:public_name" = "Rating", "attr:public_name" = "Playing time", "attr:public_name" = "Bitrate", "attr:type" = 'CSTR', "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'LONG', + "attr:type" = 'LONG', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'LONG', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', "attr:viewable" = true, "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, "attr:editable" = false, "attr:editable" = false, + "attr:width" = 30, + "attr:width" = 30, + "attr:width" = 30, + "attr:width" = 30, + "attr:width" = 30, + "attr:width" = 40, + "attr:width" = 30, + "attr:width" = 15, "attr:width" = 60, "attr:width" = 50, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, + "attr:alignment" = 0, "attr:alignment" = 1, "attr:alignment" = 1, "type" = "audio" diff --git a/src/data/beos_mime/audio/mpeg b/src/data/beos_mime/audio/mpeg index 7aca9c560b..b1c7d05147 100644 --- a/src/data/beos_mime/audio/mpeg +++ b/src/data/beos_mime/audio/mpeg @@ -16,79 +16,3 @@ resource(6, "META:EXTENS") message(234) { "extensions" = "MP3", "type" = "audio/mpeg" }; - -resource(7, "META:ATTR_INFO") message(233) { - "attr:name" = "Audio:Artist", - "attr:name" = "Audio:Title", - "attr:name" = "Audio:Album", - "attr:name" = "Audio:Track", - "attr:name" = "Audio:Year", - "attr:name" = "Audio:Comment", - "attr:name" = "Audio:Genre", - "attr:name" = "Audio:Rating", - "attr:name" = "Audio:Length", - "attr:name" = "Audio:Bitrate", - "attr:public_name" = "Artist", - "attr:public_name" = "Title", - "attr:public_name" = "Album", - "attr:public_name" = "Track", - "attr:public_name" = "Year", - "attr:public_name" = "Comment", - "attr:public_name" = "Genre", - "attr:public_name" = "Rating", - "attr:public_name" = "Playing time", - "attr:public_name" = "Bitrate", - "attr:type" = 'CSTR', - "attr:type" = 'CSTR', - "attr:type" = 'CSTR', - "attr:type" = 'LONG', - "attr:type" = 'LONG', - "attr:type" = 'CSTR', - "attr:type" = 'CSTR', - "attr:type" = 'LONG', - "attr:type" = 'CSTR', - "attr:type" = 'CSTR', - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:viewable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = true, - "attr:editable" = false, - "attr:editable" = false, - "attr:width" = 30, - "attr:width" = 30, - "attr:width" = 30, - "attr:width" = 30, - "attr:width" = 30, - "attr:width" = 40, - "attr:width" = 30, - "attr:width" = 15, - "attr:width" = 60, - "attr:width" = 50, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 0, - "attr:alignment" = 1, - "attr:alignment" = 1, - "type" = "audio/mpeg", - "type" = "audio/mpeg" -}; - diff --git a/src/data/beos_mime/image.super b/src/data/beos_mime/image.super index 72a5ef95c7..237491305c 100644 --- a/src/data/beos_mime/image.super +++ b/src/data/beos_mime/image.super @@ -3,9 +3,13 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "image"; -resource(2, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku-showimage"; +resource(2, "META:L:DESC") #'MLDC' "Generic text file"; -resource(3, "META:ICON") #'VICN' array { +resource(3, "META:S:DESC") #'MSDC' "Text file"; + +resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku-showimage"; + +resource(5, "META:ICON") #'VICN' array { $"6E6369660502000603399E0F3D9C0ABF82B23B84A94B88504870C900A5B1FFBC" $"EAF1FFFFB3B8FF0501020106023E49240000000000003CAAAA4940004A3000FF" $"C0D5FF7C896EFF0401920200060235A2F6BB95C63FF7DD3A033B432AA54A4CB2" diff --git a/src/data/beos_mime/text.super b/src/data/beos_mime/text.super index b58c29ec0b..c902e78163 100644 --- a/src/data/beos_mime/text.super +++ b/src/data/beos_mime/text.super @@ -3,9 +3,13 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "text"; -resource(2, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-StyledEdit"; +resource(2, "META:L:DESC") #'MLDC' "Generic Text file"; -resource(3, "META:ICON") #'VICN' array { +resource(3, "META:S:DESC") #'MSDC' "Text file"; + +resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-StyledEdit"; + +resource(5, "META:ICON") #'VICN' array { $"6E636966050200060338D2F73CD163BF82B23B84A94B88504870C900FFEFA5BD" $"FFFCC0FFFFF8900501020106023E49240000000000003CAAAA4940004A3000FF" $"FFFCC07CF1B706040192020016023A55A6BAC2293F0DA33E958646C2EB47A1D6" diff --git a/src/data/beos_mime/video.super b/src/data/beos_mime/video.super index 0fa9486b70..bab763066f 100644 --- a/src/data/beos_mime/video.super +++ b/src/data/beos_mime/video.super @@ -3,9 +3,9 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "video"; -resource(2, "META:L:DESC") #'MLDC' "generic video"; +resource(2, "META:L:DESC") #'MLDC' "Generic video file"; -resource(3, "META:S:DESC") #'MSDC' "generic video"; +resource(3, "META:S:DESC") #'MSDC' "Video file"; resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-MediaPlayer";