how to play a specific file using SetAVTransportUri()

Jun 9, 2012 at 12:02 AM

Hi everyone,

I am having a hard time getting SetAVTransportUri() to work. The required end result is to play a specific mp3 file

 

            Sonority.UPnP.ZonePlayer ZP = new Sonority.UPnP.ZonePlayer("uuid:RINCON_000E58704D9A01400");
            ZP.AVTransport.RemoveAllTracksFromQueue();
            Uri myUri = new Uri("file:///server/Music/1.mp3");
            ZP.AVTransport.SetAVTransportUri(myUri,"");

I get to see 1.mp3 on the Zone player but the zone player cannot play it because "server/Music/1.mp3" cannot be found

 

What am I doing wrong?