diff --git a/src/apps/Jamfile b/src/apps/Jamfile index 11defd8174..27bc775ddb 100644 --- a/src/apps/Jamfile +++ b/src/apps/Jamfile @@ -12,7 +12,7 @@ SubInclude HAIKU_TOP src apps expander ; SubInclude HAIKU_TOP src apps glteapot ; SubInclude HAIKU_TOP src apps installer ; SubInclude HAIKU_TOP src apps magnify ; -#SubInclude HAIKU_TOP src apps mediaplayer ; +SubInclude HAIKU_TOP src apps mediaplayer ; SubInclude HAIKU_TOP src apps midiplayer ; SubInclude HAIKU_TOP src apps people ; SubInclude HAIKU_TOP src apps poorman ; diff --git a/src/apps/mediaplayer/Jamfile b/src/apps/mediaplayer/Jamfile new file mode 100644 index 0000000000..c7af339af4 --- /dev/null +++ b/src/apps/mediaplayer/Jamfile @@ -0,0 +1,15 @@ +SubDir HAIKU_TOP src apps mediaplayer ; + +SetSubDirSupportedPlatformsBeOSCompatible ; + +Application MediaPlayer : + Controller.cpp + ControllerView.cpp + MainApp.cpp + MainWin.cpp + VideoNode.cpp + VideoView.cpp + : be media tracker + : MediaPlayer.rdef +; + diff --git a/src/apps/mediaplayer/MainApp.cpp b/src/apps/mediaplayer/MainApp.cpp index 56fb57601b..02c172622e 100644 --- a/src/apps/mediaplayer/MainApp.cpp +++ b/src/apps/mediaplayer/MainApp.cpp @@ -28,7 +28,7 @@ MainApp *gMainApp; MainApp::MainApp() - : BApplication("application/x-vnd.Haiku-MediaPlayer") + : BApplication("application/x-vnd.Haiku.MediaPlayer") , fFirstWindow(NewWindow()) { } diff --git a/src/apps/mediaplayer/MediaPlayer.rdef b/src/apps/mediaplayer/MediaPlayer.rdef new file mode 100644 index 0000000000..44d69f1ea2 --- /dev/null +++ b/src/apps/mediaplayer/MediaPlayer.rdef @@ -0,0 +1,19 @@ + +resource app_signature "application/x-vnd.Haiku.MediaPlayer"; + +resource app_flags B_SINGLE_LAUNCH; + +resource file_types message { + "types" = "application/ogg", + "types" = "audio", + "types" = "audio/32kadpcm", + "types" = "audio/basic", + "types" = "audio/mpeg", + "types" = "audio/x-aiff", + "types" = "audio/x-riff", + "types" = "audio/x-wav", + "types" = "video", + "types" = "video/mpeg", + "types" = "video/quicktime", + "types" = "video/x-msvideo" +};