~ubuntu-branches/ubuntu/vivid/guayadeque/vivid

« back to all changes in this revision

Viewing changes to src/.svn/text-base/PlayListFile.cpp.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-02-25 11:59:10 UTC
  • mto: (12.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20110225115910-9rxgmtmyjyy0o942
Tags: upstream-0.2.9
ImportĀ upstreamĀ versionĀ 0.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
                            Config->Read( wxString::Format( wxT( "Title%u" ), Index ), &Title );
181
181
 
182
182
                            wxURI Uri( Location );
183
 
                            if( Uri.HasScheme() || path.IsEmpty() )
 
183
                            if( Location.StartsWith( wxT( "/" ) ) || Uri.HasScheme() || path.IsEmpty() )
184
184
                            {
185
185
                                m_PlayList.Add( new guStationPlayListItem( Location, Title ) );
186
186
                            }
256
256
            {
257
257
 
258
258
                wxURI Uri( Lines[ Index ] );
259
 
                if( Uri.HasScheme() || path.IsEmpty() )
 
259
                if( Lines[ Index ].StartsWith( wxT( "/" ) ) || Uri.HasScheme() || path.IsEmpty() )
260
260
                {
261
261
                    m_PlayList.Add( new guStationPlayListItem( Lines[ Index ], ItemName ) );
262
262
                }
460
460
    }
461
461
    else
462
462
    {
463
 
        guLogError( wxT( "Could not open the m3ufile '%s'" ), filename.c_str() );
 
463
        guLogError( wxT( "Could not open the plsfile '%s'" ), filename.c_str() );
464
464
    }
465
465
    return false;
466
466
}