Commit 8b501c49 authored by hartman's avatar hartman
Browse files

* VLC couldn't handle external links since the playlist API changes. FIXED

parent 6b47884b
......@@ -53,11 +53,9 @@
NSURL * o_url;
int i_mode = PLAYLIST_INSERT;
playlist_Add( p_playlist, [o_urlString fileSystemRepresentation],
[[o_urlString fileSystemRepresentation] lastPathComponent],
i_mode, PLAYLIST_END );
[[[NSFileManager defaultManager] displayNameAtPath: o_urlString] UTF8String],
o_url = [NSURL fileURLWithPath: o_urlString];
if( o_url != nil )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment