From a94ea06ed8e17177c5aaba609b8e11d70263ddba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 28 Mar 2005 00:14:03 +0000 Subject: [PATCH] * vlc.scriptSuite: updated to the plist-xml-format and fixed a bug in the prev-method * vlc.scriptTerminology: updated to the plist-xml-format and removed the 'localisable'-flag for the terminology in Xcode since we don't localise it and Apple won't support any other AS-dialects than English in the future --> moved out of English.lproj * vlc.pbproj: removed localisable-flag for vlc.scriptTerminology --- extras/MacOSX/Resources/vlc.scriptSuite | 136 +++++++++++------- extras/MacOSX/Resources/vlc.scriptTerminology | 83 +++++++++++ extras/MacOSX/vlc.pbproj/project.pbxproj | 31 ++-- 3 files changed, 181 insertions(+), 69 deletions(-) create mode 100644 extras/MacOSX/Resources/vlc.scriptTerminology diff --git a/extras/MacOSX/Resources/vlc.scriptSuite b/extras/MacOSX/Resources/vlc.scriptSuite index 6cd19ca3b8..fbea7a66a7 100644 --- a/extras/MacOSX/Resources/vlc.scriptSuite +++ b/extras/MacOSX/Resources/vlc.scriptSuite @@ -1,49 +1,87 @@ -{ - "Name" = "vlc"; - "AppleEventCode" = "VLC#"; - - "Commands" = { - "OpenURL" = { - AppleEventClassCode = "WWW!"; - AppleEventCode = "OURL"; - CommandClass = "VLGetURLScriptCommand"; - }; - "GetURL" = { - AppleEventClassCode = "GURL"; - AppleEventCode = "GURL"; - CommandClass = "VLGetURLScriptCommand"; - }; - "play" = { - AppleEventCode = "VLC1"; - CommandClass = "VLControlScriptCommand"; - }; - "stop" = { - AppleEventCode = "VLC2"; - CommandClass = "VLControlScriptCommand"; - }; - "previous" = { - AppleEventCode = "GURL"; - CommandClass = "VLControlScriptCommand"; - }; - "next" = { - AppleEventCode = "VLC3"; - CommandClass = "VLControlScriptCommand"; - }; - "fullscreen" = { - AppleEventCode = "VLC4"; - CommandClass = "VLControlScriptCommand"; - }; - "mute" = { - AppleEventCode = "VLC5"; - CommandClass = "VLControlScriptCommand"; - }; - "volumeUp" = { - AppleEventCode = "VLC6"; - CommandClass = "VLControlScriptCommand"; - }; - "volumeDown" = { - AppleEventCode = "VLC7"; - CommandClass = "VLControlScriptCommand"; - }; - }; -} + + + + + Name + vlc + AppleEventCode + VLC# + Commands + + OpenURL + + AppleEventClassCode + WWW! + AppleEventCode + OURL + CommandClass + VLGetURLScriptCommand + + GetURL + + AppleEventClassCode + GURL + AppleEventCode + GURL + CommandClass + VLGetURLScriptCommand + + play + + AppleEventCode + VLC1 + CommandClass + VLControlScriptCommand + + stop + + AppleEventCode + VLC2 + CommandClass + VLControlScriptCommand + + previous + + AppleEventCode + VLC3 + CommandClass + VLControlScriptCommand + + next + + AppleEventCode + VLC4 + CommandClass + VLControlScriptCommand + + fullscreen + + AppleEventCode + VLC5 + CommandClass + VLControlScriptCommand + + mute + + AppleEventCode + VLC6 + CommandClass + VLControlScriptCommand + + volumeUp + + AppleEventCode + VLC7 + CommandClass + VLControlScriptCommand + + volumeDown + + AppleEventCode + VLC8 + CommandClass + VLControlScriptCommand + + + + \ No newline at end of file diff --git a/extras/MacOSX/Resources/vlc.scriptTerminology b/extras/MacOSX/Resources/vlc.scriptTerminology new file mode 100644 index 0000000000..489d327530 --- /dev/null +++ b/extras/MacOSX/Resources/vlc.scriptTerminology @@ -0,0 +1,83 @@ + + + + + Name + VLC suite + Description + VLC commands. + Commands + + OpenURL + + Name + OpenURL + Description + Open a URL + + GetURL + + Name + GetURL + Description + Get a URL + + play + + Name + play + Description + Start playing the current playlistitem or pause it when it is already playing. + + stop + + Name + stop + Description + Stop playing the current playlistitem + + previous + + Name + previous + Description + Go to the previous item in the playlist or the previous chapter in the DVD/VCD. + + next + + Name + next + Description + Go to the next item in the playlist or the next chapter in the DVD/VCD. + + fullscreen + + Name + fullscreen + Description + Toggle between fullscreen and windowed mode. + + mute + + Name + mute + Description + Mute the audio + + volumeUp + + Name + volumeUp + Description + Bring the volume up by one step. There are 32 steps from 0 to 100% volume. + + volumeDown + + Name + volumeDown + Description + Bring the volume down by one step. There are 32 steps from 0 to 100% volume. + + + + diff --git a/extras/MacOSX/vlc.pbproj/project.pbxproj b/extras/MacOSX/vlc.pbproj/project.pbxproj index c2ff3aec81..69987a1b46 100644 --- a/extras/MacOSX/vlc.pbproj/project.pbxproj +++ b/extras/MacOSX/vlc.pbproj/project.pbxproj @@ -709,7 +709,7 @@ RTSP CFBundleURLSchemes - rtsp + rtsp,rts @@ -750,7 +750,7 @@ 8ED6C29F03E2F32E0059A3A7, 8ED6C2A003E2F32E0059A3A7, 8EBF3FA403F13FFB0059A3A7, - 8EBF3FA803F140A80059A3A7, + DCC9AE9507F77DE600394C42, A0E6B59904407FBD0080DD97, 8EDAC3440440F72D0059A3A7, 8EE1AFA40444660F0059A3A7, @@ -839,7 +839,7 @@ 8ED6C29E03E2F32E0059A3A7, A0E6B59804407FBD0080DD97, 8EBF3FA303F13FFB0059A3A7, - 8EBF3FA703F140A80059A3A7, + 8EBF3FA503F140960059A3A7, 8EDAC3430440F72D0059A3A7, ); isa = PBXGroup; @@ -1862,27 +1862,12 @@ }; 8EBF3FA503F140960059A3A7 = { isa = PBXFileReference; - lastKnownFileType = text; + lastKnownFileType = text.xml; name = vlc.scriptTerminology; - path = Resources/English.lproj/vlc.scriptTerminology; + path = Resources/vlc.scriptTerminology; refType = 2; sourceTree = SOURCE_ROOT; }; - 8EBF3FA703F140A80059A3A7 = { - children = ( - 8EBF3FA503F140960059A3A7, - ); - isa = PBXVariantGroup; - name = vlc.scriptTerminology; - refType = 4; - sourceTree = ""; - }; - 8EBF3FA803F140A80059A3A7 = { - fileRef = 8EBF3FA703F140A80059A3A7; - isa = PBXBuildFile; - settings = { - }; - }; 8ECA7E520563CD9500DFC000 = { children = ( 2A16E07E06C5074F00C87B09, @@ -2213,6 +2198,12 @@ settings = { }; }; + DCC9AE9507F77DE600394C42 = { + fileRef = 8EBF3FA503F140960059A3A7; + isa = PBXBuildFile; + settings = { + }; + }; DCF358B9077F10BA007DB450 = { children = ( DCF358BA077F10BA007DB450, -- 2.39.5