diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 65446a1565..45c4e0fcda 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -1934,17 +1934,10 @@ static int pf_tcs_retrieve_track_title(int string_index, int disc_num, int track | |||
1934 | if (rb->strcmp(UNTAGGED, tcs.result) == 0) | 1934 | if (rb->strcmp(UNTAGGED, tcs.result) == 0) |
1935 | { | 1935 | { |
1936 | /* show filename instead of <untaggged> */ | 1936 | /* show filename instead of <untaggged> */ |
1937 | if (!rb->tagcache_retrieve(&tcs, tcs.idx_id, tag_filename, | 1937 | if (!rb->tagcache_retrieve(&tcs, tcs.idx_id, tag_virt_basename, |
1938 | file_name, MAX_PATH)) | 1938 | file_name, MAX_PATH)) |
1939 | return 0; | 1939 | return 0; |
1940 | track_title = file_name; | 1940 | track_title = file_name; |
1941 | if (track_title) | ||
1942 | { | ||
1943 | /* if filename remove the '/' */ | ||
1944 | track_title = rb->strrchr(track_title, PATH_SEPCH); | ||
1945 | if (track_title) | ||
1946 | track_title++; | ||
1947 | } | ||
1948 | } | 1941 | } |
1949 | 1942 | ||
1950 | if (!track_title) | 1943 | if (!track_title) |