Commit a9104034 authored by David Fuhrmann's avatar David Fuhrmann

macosx: Search service discovery playlist node by translated title

This is analogous to the qt intf change in

closes #19514
parent cda6b575
......@@ -1066,9 +1066,12 @@ static const float f_min_window_height = 307.;
} else {
playlist_item_t *pl_item = playlist_ChildSearchName(&p_playlist->root, [[item untranslatedTitle] UTF8String]);
if (pl_item != NULL)
const char *title = [[item title] UTF8String];
playlist_item_t *pl_item = playlist_ChildSearchName(&p_playlist->root, title);
if (pl_item)
[[[[VLCMain sharedInstance] playlist] model] changeRootItem:pl_item];
msg_Err(getIntf(), "Could not find playlist entry with name %s", title);
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