[Player-cvs] mid/desktop realplayer-music.desktop, 1.4, 1.5 realplayer-photo.desktop, 1.5, 1.6 realplayer-video.desktop, 1.4, 1.5

[Player-cvs] mid/desktop realplayer-music.desktop, 1.4, 1.5 realplayer-photo.desktop, 1.5, 1.6 realplayer-video.desktop, 1.4, 1.5

rustyl at helixcommunity.org rustyl at helixcommunity.org
Tue Jun 3 08:54:51 PDT 2008


Update of /cvsroot/player/mid/desktop
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv2228/desktop

Modified Files:
	realplayer-music.desktop realplayer-photo.desktop 
	realplayer-video.desktop 
Log Message:
Description
----------------------------------
This change will enable the MID player to autodetect a running instance
of the application, allowing system utilities and/or command line operations
like:
$ realplayer --uri=file:///some/path/some.mp3
$ realplayer --uri=file:///some/path/some-other.mp3

... where the new uri is loading in the currently running instance.

In order to accomplish this, commandline parsing is being moved to the
toplevel 'realplayer' file, and if a non-null uri is passed in then the
implementation will invoke the DBus interface to play the file.

Because DBus autostarts realplayer to handle the DBus call (if it's not already
running), then the right thing happens regardless if the player is already
running or not.

Files Modified
----------------------------------
player/mid/realplayer
player/mid/desktop/realplayer-music.desktop
player/mid/desktop/realplayer-photo.desktop
player/mid/desktop/realplayer-video.desktop
player/mid/src/app.py
player/mid/src/utils.py

Branches
---------------------------------
HEAD



Index: realplayer-video.desktop
===================================================================
RCS file: /cvsroot/player/mid/desktop/realplayer-video.desktop,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- realplayer-video.desktop	27 Mar 2008 17:39:19 -0000	1.4
+++ realplayer-video.desktop	3 Jun 2008 15:54:49 -0000	1.5
@@ -4,7 +4,7 @@
 Name=Video
 GenericName=Video
 Comment=Play videos
-Exec=realplayer --mode video
+Exec=realplayer --mode video --uri=%U
 Terminal=false
 Type=Application
 Icon=realplayer-video

Index: realplayer-photo.desktop
===================================================================
RCS file: /cvsroot/player/mid/desktop/realplayer-photo.desktop,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- realplayer-photo.desktop	3 Jun 2008 09:11:26 -0000	1.5
+++ realplayer-photo.desktop	3 Jun 2008 15:54:49 -0000	1.6
@@ -4,7 +4,7 @@
 Name=Photos
 GenericName=Photos
 Comment=View Photos
-Exec=realplayer --mode photo 
+Exec=realplayer --mode photo --uri=%U
 Terminal=false
 Type=Application
 Icon=realplayer-photo

Index: realplayer-music.desktop
===================================================================
RCS file: /cvsroot/player/mid/desktop/realplayer-music.desktop,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- realplayer-music.desktop	27 Mar 2008 17:39:19 -0000	1.4
+++ realplayer-music.desktop	3 Jun 2008 15:54:49 -0000	1.5
@@ -4,7 +4,7 @@
 Name=Music
 GenericName=Music
 Comment=Play Music
-Exec=realplayer --mode music
+Exec=realplayer --mode music --uri=%U
 Terminal=false
 Type=Application
 Icon=realplayer-music




More information about the Player-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.