Commit 8b501c49 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

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

parent 6b47884b
...@@ -53,11 +53,9 @@ ...@@ -53,11 +53,9 @@
{ {
NSURL * o_url; NSURL * o_url;
int i_mode = PLAYLIST_INSERT;
playlist_Add( p_playlist, [o_urlString fileSystemRepresentation], playlist_Add( p_playlist, [o_urlString fileSystemRepresentation],
[[o_urlString fileSystemRepresentation] lastPathComponent], [[[NSFileManager defaultManager] displayNameAtPath: o_urlString] UTF8String],
i_mode, PLAYLIST_END ); PLAYLIST_INSERT, PLAYLIST_END );
o_url = [NSURL fileURLWithPath: o_urlString]; o_url = [NSURL fileURLWithPath: o_urlString];
if( o_url != nil ) 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