Changeset 27 for branches/v2.9/mediafolder/prog_tutorial
- Timestamp:
- Jul 26, 2020, 5:43:20 AM (5 years ago)
- Location:
- branches/v2.9/mediafolder/prog_tutorial
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v2.9/mediafolder/prog_tutorial/hiddenfeatures.inc
r2 r27 12 12 :p. 13 13 Even if a new program isn't specified in the INI file the classes improve the default 14 behavio ur by not starting the player as part of the WPS process. So if the player crashes15 the WPS doesn't crash anymore .14 behavior by not starting the player as part of the WPS process. So if the player crashes 15 the WPS doesn't crash anymore. 16 16 17 17 … … 30 30 :p. 31 31 Even if a new program isn't specified in the INI file the classes improve the default 32 behavio ur by not starting the editor as part of the WPS process. So if the editor crashes32 behavior by not starting the editor as part of the WPS process. So if the editor crashes 33 33 the WPS doesn't crash anymore. 34 34 … … 47 47 :p. 48 48 Even if a new program isn't specified in the INI file the classes improve the default 49 behavio ur by not starting the player as part of the WPS process. So if the player crashes50 the WPS doesn't crash anymore .49 behavior by not starting the player as part of the WPS process. So if the player crashes 50 the WPS doesn't crash anymore. 51 51 52 52 … … 64 64 :p. 65 65 Even if a new program isn't specified in the INI file the classes improve the default 66 behavio ur by not starting the player as part of the WPS process. So if the player crashes67 the WPS doesn't crash anymore .66 behavior by not starting the player as part of the WPS process. So if the player crashes 67 the WPS doesn't crash anymore. 68 68 69 69 … … 81 81 :p. 82 82 Even if a new program isn't specified in the INI file the classes improve the default 83 behavio ur by not starting the player as part of the WPS process. So if the default player crashes83 behavior by not starting the player as part of the WPS process. So if the default player crashes 84 84 the WPS doesn't crash, too. 85 85 … … 99 99 x=50% width=50% 100 100 group=2 101 .Replace M3U olayer101 .Replace M3U player 102 102 :p. 103 103 The default M3U player may be replaced by adding the … … 108 108 :ent. 109 109 :p. 110 Default behavio ur is to create a new MEdia folder and fill it with the tracks specified in the111 M3U file. Using this setting it's possible to use another M P3player.110 Default behavior is to create a new Media folder and fill it with the tracks specified in the 111 M3U file. Using this setting it's possible to use another M3U player. 112 112 113 113 … … 126 126 :p. 127 127 Even if a new program isn't specified in the INI file the classes improve the default 128 behavio ur by not starting the editor as part of the WPS process. So if the editor crashes129 the WPS doesn't crash anymore. 128 behavior by not starting the editor as part of the WPS process. So if the editor crashes 129 the WPS doesn't crash anymore. 130 130 131 131 -
branches/v2.9/mediafolder/prog_tutorial/mediafldrprog.ipf
r2 r27 3 3 :docprof. 4 4 5 :title.Programming tutorial for Multimedia classes 5 :title.Programming tutorial for Multimedia classes 6 6 7 7 :h1 res=100.Introduction … … 13 13 For use of the REXX interface 14 14 :p. 15 :link reftype=launch 16 object='netscape.exe' 17 data='http://www.os2world.com/cdwriting'. 18 WPS-Wizard V0.2.0:elink. (http&colon.//www.os2world.com/cdwriting) 19 :p. 20 or above must be installed. 15 WPS-Wizard V0.2.0 (http&colon.//www.os2world.com/cdwriting) 16 :p. 17 or above must be installed. 21 18 22 19 :h1 res=200 … … 29 26 :li.:link reftype=hd res=211.MEDIAFLDRPLAY:elink. Start playing 30 27 :li.:link reftype=hd res=215.MEDIAFLDRPLAYFIRST:elink. Start first track 31 :li.:link reftype=hd res=212.MEDIAFLDRPREV:elink. Skip to previ us track32 :li.:link reftype=hd res=216.MEDIAFLDRREPEAT:elink. Set repeat .28 :li.:link reftype=hd res=212.MEDIAFLDRPREV:elink. Skip to previous track 29 :li.:link reftype=hd res=216.MEDIAFLDRREPEAT:elink. Set repeat 33 30 :li.:link reftype=hd res=213.MEDIAFLDRSTOP:elink. Stop playing 34 31 :li.:link reftype=hd res=214.MEDIAFLDRVOLUME:elink. Set volume … … 146 143 :p. 147 144 Set the track name of the audio file. This information is saved in the EA of the file. For 148 MP3 files this information i dalso saved in the ID3 tag.145 MP3 files this information is also saved in the ID3 tag. 149 146 :xmp. 150 147 /* REXX - This command adds the track name to the audio file */ … … 225 222 Reread the audio information from the file and update internal object data. 226 223 :xmp. 227 /* REXX - This command adds the genreof the audio file */224 /* REXX - This command rereads the information of the audio file */ 228 225 229 226 rc=SysSetObjectData('x&colon.\path_to_folder\audio_file.ext','MMREFRESH=1') … … 234 231 group=2 235 232 .MMAUDIOCOPYTAGTO 236 :p. 237 Reread the audio information from the file and update internal object data. 238 :xmp. 239 /* REXX - This command adds the genre of the audio file */ 233 234 Read the audio information from the file tag and copies it to another file. 235 236 :xmp. 237 /* REXX - This command copies the file tag information to another audio file */ 240 238 241 239 rc=SysSetObjectData('x&colon.\path_to_folder\audio_file.ext','MMAUDIOCOPYTAGTO=x&colon.\path_to_folder\another_file.ext') … … 311 309 param2 /* Second method parameter */ 312 310 :p. 313 rc=MFldrCallFunc(methodName, Object, 311 rc=MFldrCallFunc(methodName, Object, 314 312 param1, param2, ...); 315 313 :exmp. … … 421 419 param2 /* Second method parameter */ 422 420 :p. 423 rc=MMCallFunc(methodName, Object, 421 rc=MMCallFunc(methodName, Object, 424 422 param1, param2, ...); 425 423 :exmp. -
branches/v2.9/mediafolder/prog_tutorial/newmethods.inc
r2 r27 121 121 .cwPauseAudioFile - Remarks 122 122 :p. 123 The frame handle of the media folder is given to the s kript as a parameter123 The frame handle of the media folder is given to the script as a parameter 124 124 when started. 125 125 … … 177 177 .cwPlayAudioFile - Remarks 178 178 :p. 179 The frame handle of the media folder is given to the s kript as a parameter179 The frame handle of the media folder is given to the script as a parameter 180 180 when started. The flag parameter may have one of the following values. 181 181 … … 292 292 .cwSetStatusLineText - Remarks 293 293 :p. 294 If the text parameter is 0 the folder shows it 's standard294 If the text parameter is 0 the folder shows its standard 295 295 status line text. 296 296 … … 348 348 .cwStopAudioFile - Remarks 349 349 :p. 350 The frame handle of the media folder is given to the s kript as a parameter350 The frame handle of the media folder is given to the script as a parameter 351 351 when started. 352 352 … … 407 407 .cwmmQueryTrackInfo - Remarks 408 408 :p. 409 The object must be an instance of :hp2.CWAudio:ehp2. or of one of it 's409 The object must be an instance of :hp2.CWAudio:ehp2. or of one of its 410 410 subclasses (:hp2.CWMP3:ehp2., :hp2.MMWAV:ehp2....). This method was introduced 411 411 by :hp2.CWAudio:ehp2.. Since V0.2.5 of the classes the class names are :hp2.MMAudio:ehp2. … … 446 446 :li.IDINFO_BITRATE 11 447 447 .br 448 Bitrate in Hz (numeric value). This flag is only valid for instances of class MMMP3 and 449 MMOGG. For other classes the return value is undefined. New with V0.2.7. 448 Bitrate in KB per second (numeric value). This flag is only valid for instances 449 of class MMMP3 and MMOGG. For other classes the return value is undefined. New 450 with V0.2.7. 450 451 :eul. 451 452 … … 524 525 :pd.Image format. 525 526 :eparml. 526 :pt.:hp2.info:ehp2. (numeric)527 :pd.The queried information as a string.528 527 :eparml. 529 528 530 531 532 533
Note:
See TracChangeset
for help on using the changeset viewer.