* Rename a couple Audio:* attributes to Media:*, as discussed
some time ago on the mailing list. This change will not exactly break existing audio tools, but once those tools write the old attributes, the user will not see the expected changes when he is displaying the new attributes in Tracker, and the old attributes will of coerse appear alongside the new ones in the Attribute menu. In the long run, it makes things cleaner, though. * Make MediaPlayer write the new duration attribute, and also for video clips. * Register opened playlist items when they are files with the system, so not only files opened via drag and drop or Tracker will appear in MediaPlayers "Open File" menu. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38523 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,14 +15,14 @@ resource(5, "META:EXTENS") message(234) {
|
||||
|
||||
resource(6, "META:ATTR_INFO") message(233) {
|
||||
"attr:name" = "Audio:Artist",
|
||||
"attr:name" = "Audio:Title",
|
||||
"attr:name" = "Media: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" = "Media:Year",
|
||||
"attr:name" = "Media:Comment",
|
||||
"attr:name" = "Media:Genre",
|
||||
"attr:name" = "Media:Rating",
|
||||
"attr:name" = "Media:Length",
|
||||
"attr:name" = "Audio:Bitrate",
|
||||
"attr:public_name" = "Artist",
|
||||
"attr:public_name" = "Title",
|
||||
|
||||
@@ -14,12 +14,54 @@ resource(5, "META:EXTENS") message(234) {
|
||||
};
|
||||
|
||||
resource(6, "META:ATTR_INFO") message(233) {
|
||||
"attr:name" = "Video:Length",
|
||||
"attr:name" = "Media:Title",
|
||||
"attr:name" = "Media:Year",
|
||||
"attr:name" = "Media:Comment",
|
||||
"attr:name" = "Media:Genre",
|
||||
"attr:name" = "Media:Rating",
|
||||
"attr:name" = "Media:Length",
|
||||
"attr:name" = "Video:Bitrate",
|
||||
"attr:public_name" = "Title",
|
||||
"attr:public_name" = "Year",
|
||||
"attr:public_name" = "Comment",
|
||||
"attr:public_name" = "Genre",
|
||||
"attr:public_name" = "Rating",
|
||||
"attr:public_name" = "Playing time",
|
||||
"attr:public_name" = "Video bitrate",
|
||||
"attr:type" = 'CSTR',
|
||||
"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: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" = 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" = 1,
|
||||
"attr:alignment" = 1,
|
||||
"type" = "video"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user