| Author | 
         | 
         
      
        
         
         smarty Super User 
          
  
  Joined: May 21 2006 Location: United States
 Online Status: Offline Posts: 729
          | 
        
         
          
           | Posted: April 06 2010 at 11:34 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I am using WinAmp V5.572 (latest as of now).  Commands like below that used to work don't work now (I admit that I have not used PH to control WinAmp in a long time).  
 
 
 ph_winampctrl("playfile",0,"C:\01 Back to Paradise.mp3")
 
 
 Anyone else seeing any WinAmp issues?
 
 My PH .ini file has the right path to WinAmp.  It does launch and close just fine.
 
 
  Edited by smarty - April 06 2010 at 15:46
  __________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         jbbtex Senior Member 
          
 
  Joined: February 15 2007 Location: United States
 Online Status: Offline Posts: 181
          | 
        
         
          
           | Posted: April 06 2010 at 14:02 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Try removing the spaces from your file names.
 
 I don't think this was a problem with earlier versions of 
 WA, however.
 
 
  __________________ Brady
 
 "Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         smarty Super User 
          
  
  Joined: May 21 2006 Location: United States
 Online Status: Offline Posts: 729
          | 
        
         
          
           | Posted: April 06 2010 at 15:43 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Thanks Brady - Removing all the spaces from the file name seems to have made this work.
 
 Dave - Is this bug worthy?
 
 
  __________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         smarty Super User 
          
  
  Joined: May 21 2006 Location: United States
 Online Status: Offline Posts: 729
          | 
        
         
          
           | Posted: April 06 2010 at 16:17 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Update/more info...
 
 When I execute:
 
 ph_winampctrl("playfile",0,"C:\Documents and Settings\SMarty\My Documents\My Music\ACDC\ACDC-Misc\ACDC - Big Guns.mp3")
 
 I see the following text displayed on the WinAmp Status bar:
 
 Documents
 and
 my
 my (displayed twice)
 ACDD
 -
 Big
 Guns
 
 WinAmp seems to display the word of the file path just prior to where an empty space is (in the file path).
 
 
  __________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         andyR Newbie 
          
 
  Joined: April 07 2010
 Online Status: Offline Posts: 15
          | 
        
         
          
           | Posted: April 22 2010 at 22:41 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
It looks like I've gotten this to work with spaces in file names:
 
 ph_winampctrl("playfile",0,'"Z:\music\boston\boston\peace of mind.mp3"')
 
 Basically I added a single quote around the file name for PH and then the double quote for windows to swallow the spaces.  
 Hope that works for you.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         andyR Newbie 
          
 
  Joined: April 07 2010
 Online Status: Offline Posts: 15
          | 
        
         
          
           | Posted: April 22 2010 at 22:44 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
A quick follow up since the font doesn't easily show which quote is which:  The inner quotes around the file name are the double quotes, and the single quotes bracket the double quotes (they are on the outside).  Sorry for the poor formatting.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         smarty Super User 
          
  
  Joined: May 21 2006 Location: United States
 Online Status: Offline Posts: 729
          | 
        
         
          
           | Posted: April 23 2010 at 08:18 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I will give this a try.
 
 Very NICE CATCH !!!!
  __________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |