Autoplay Videos is an Amarok script that will automatically start a video player when a video file is played in Amarok.
Version: 0.1Autoplay Videos is an Amarok script that will automatically start a video player when a video file is played in Amarok.
Operating System: Linux
Videos are detected by the file extension. For streamed videos, Amarok is paused to avoid double bandwidth use. For local videos, Amarok is also paused, but playback is restarted after 5 seconds with volume set to zero. This way the play is simulated in Amarok to allow scoring (and, for taggable video formats like asf, mkv or mp4, scrobbling...yes, you can add music videos to your collection). Unfortunately it is still not possible to control the video from Amarok, but hey, Amarok is not a video player.
When another file is played, the external player will be killed and the volume restored.
By default the script uses mplayer (You have to edit the script to choose another player). To achieve the impression that the video is played in the context browser, you can use kwin's special window settings (enable "No Border" and "Keep Above"... "Remember position" doesn't seem to work...but you can enter a line like "geometry=WxH+x+y" in ~/.mplayer/config).
Also this script only works with files supported by the engine used in Amarok (ironically)...But with xine this should be almost anything.