-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Autoplay Videos

   1  

Amarok Script

Score 73%
Autoplay Videos
zoom


Link:  http://
Downloads:  730
Submitted:  Jan 2 2008
Updated:  Jan 2 2008

Description:

This script automatically starts a video player when a video file is played in Amarok.

Details:
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.

_____ LATEST CHANGES _____
! the volume got wrongly reset when changed during playback
+ added README




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from camico
Report inappropriate content



-

 Nice but late

 
 by eeproms on: Jan 3 2008
 
Score 50%

Considering Amarok 2.0 is around the corner and should have video support thanks to phonon this will be a short lived hack.


Sometimes in this age of high technology the best tool is a rock.
Reply to this

-

 Re: Nice but late

 
 by camico on: Jan 18 2008
 
Score 50%

sure it is only a quick hack...but quoting a recent statement of the amarok founder: "No, 2.0 won't have video support. A later version might integrate rudimentary support for playing music videos and such, but this is not yet decided."


Reply to this

-

 I like it...

 
 by Contrast on: Jan 25 2008
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 30 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Nice idea. I'm wondering how feasible/practical it'd be to add functionality to this so that it would look in a user-defined directory for a video for every song played. The video files would obviously have to be properly named - something like "%artist - %title" - for this to work.


Reply to this

-

 Re: I like it...

 
 by camico on: Jan 27 2008
 
Score 50%

you mean like a kind of visualization plugin? so whenever there is a video, pause the audio and take the video instead? yeah, why not, wouldn't be that difficult to do. maybe i'll include it some time. if anyone wants to help, please go ahead.


Reply to this

-

 Kinda bummed

 
 by the7erm on: Jan 27 2008
 
Score 50%
the7ermthe7erm
n/a
Home
-
Eugene Miller 0

n/a
United States of America, Cheyenne
Last visit Apr 28 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I just got done working a script that was almost exactly like this, but you had a better way of approaching it. Good job. I took mine down because I know a better product when I see it.

I really should have checked the site before I started working on mine ...


always tip the pizza guy he knows where you live.
Reply to this

-

 Re: Kinda bummed

 
 by camico on: Jan 28 2008
 
Score 50%

oh thanks (and sorry ;)
what was your approach then?


Reply to this

-

 Re: Re: Kinda bummed

 
 by the7erm on: Jan 28 2008
 
Score 50%
the7ermthe7erm
n/a
Home
-
Eugene Miller 0

n/a
United States of America, Cheyenne
Last visit Apr 28 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Pretty much the same as yours, but I didn't check to see if the track had changed, or set the volume ... Mine stopped the playing track, and then started playing.

Yours was a better approach.

You might want to consider processing the mplayer thread output and look for === paused === then pause amarok ... just an idea.

I'd do it but I don't know ruby, but looking at your script I like the language.

Thread{} looks like a really useful function.


always tip the pizza guy he knows where you live.
Reply to this

-

 Doesn't work

 
 by prol on: Mar 18 2008
 
Score 50%

It doesnt work for me. Amarok doesnt load video files into the playlist.Pls help


Reply to this

-

 Re: Doesn't work

 
 by camico on: Mar 19 2008
 
Score 50%

you are right, m4v files can't be loaded, but that is a limitation in amarok or the xine-engine...the only solution i can think of currently is to rename the file, for example to .mp4 or .mpg


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.