[Player-cvs] mid/src app.py,1.15.4.1,1.15.4.2

[Player-cvs] mid/src app.py,1.15.4.1,1.15.4.2

rustyl at helixcommunity.org rustyl at helixcommunity.org
Mon Jun 16 13:35:02 PDT 2008


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

Modified Files:
      Tag: hxclient_3_4_1_atlas
	app.py 
Log Message:
Description                                                                     
----------------------------------                                              
When pushing a new internet radio (Online music) URL to the MID player          
via the realplayer-helper utility, the player is passed a temporary             
playlist file that the web browser may choose to delete at some arbitrary       
time in the future.  Because of this the player will copy the playlist          
file to a safe location in the media library.                                   
                                                                                
As of version 1.1.0.1, the player is writing the URL of the temporary           
file into the content database instead of the URL to the persisted file         
(i.e. file:///tmp/some.m3u instead of file:///mediasync/onlin/some.m3u).        
As soon as the temp files are cleaned off the device then the online            
music entry stops working.                                                      
                                                                                
https://bugs.helixcommunity.org/show_bug.cgi?id=8381                            
                                                                                
Files Modified                                                                  
----------------------------------                                              
player/mid/src/app.py                                                           
                                                                                
Branches                                                                        
---------------------------------                                               
HEAD, Atlas310, and Atlas341                                                    




Index: app.py
===================================================================
RCS file: /cvsroot/player/mid/src/app.py,v
retrieving revision 1.15.4.1
retrieving revision 1.15.4.2
diff -u -d -r1.15.4.1 -r1.15.4.2
--- app.py	7 Jun 2008 00:20:09 -0000	1.15.4.1
+++ app.py	16 Jun 2008 20:34:58 -0000	1.15.4.2
@@ -874,7 +874,7 @@
         else:
             self.set_video_path(gtk.Button)
             self.view['video'].thumbnail.refresh()
-        url = 'file://' + os.path.join(dest, filepath)
+        url = "file://%s/%s" % (dest, os.path.split(filepath)[1])
         if media_type in ['online']:
             self.view['audio'].radio_add_url(None, url)
             self.view['audio'].play_pl_song(url)




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.