* Added first working "display_as" type "duration".
* Changed Media:Length to int64, and use the new duration view in Tracker. * Renamed the pretty name for video's Media:Length to "Runtime" (that's how it's called in IMDB, and I was never really fond of "Playing Time"). * FileTypes AttributeWindow needed to check the display-as types, as well as if the contents are acceptable when opening, too. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38856 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -42,7 +42,7 @@ resource(6, "META:ATTR_INFO") message(233) {
|
||||
"attr:type" = 'CSTR',
|
||||
"attr:type" = 'CSTR',
|
||||
"attr:type" = 'LONG',
|
||||
"attr:type" = 'CSTR',
|
||||
"attr:type" = 'LLNG',
|
||||
"attr:type" = 'CSTR',
|
||||
"attr:viewable" = true,
|
||||
"attr:viewable" = true,
|
||||
@@ -84,6 +84,16 @@ resource(6, "META:ATTR_INFO") message(233) {
|
||||
"attr:alignment" = 0,
|
||||
"attr:alignment" = 1,
|
||||
"attr:alignment" = 1,
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "duration",
|
||||
"attr:display_as" = "",
|
||||
"type" = "audio"
|
||||
};
|
||||
|
||||
|
||||
@@ -26,14 +26,14 @@ resource(6, "META:ATTR_INFO") message(233) {
|
||||
"attr:public_name" = "Comment",
|
||||
"attr:public_name" = "Genre",
|
||||
"attr:public_name" = "Rating",
|
||||
"attr:public_name" = "Playing time",
|
||||
"attr:public_name" = "Runtime",
|
||||
"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" = 'LLNG',
|
||||
"attr:type" = 'CSTR',
|
||||
"attr:viewable" = true,
|
||||
"attr:viewable" = true,
|
||||
@@ -63,6 +63,13 @@ resource(6, "META:ATTR_INFO") message(233) {
|
||||
"attr:alignment" = 0,
|
||||
"attr:alignment" = 1,
|
||||
"attr:alignment" = 1,
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "",
|
||||
"attr:display_as" = "duration",
|
||||
"attr:display_as" = "",
|
||||
"type" = "video"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user