Playlist Entry: Display full URL for remotes
For Playlist Entries that are not File URLs, return the full absolute URL for path queries, so the playlist path column will show the full URL instead of a useless reduced path string. Fixes #214. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
cc2b27d43f
commit
2541633c17
|
@ -456,7 +456,10 @@
|
|||
@dynamic path;
|
||||
- (NSString *)path
|
||||
{
|
||||
return [[self.URL path] stringByAbbreviatingWithTildeInPath];
|
||||
if ([self.URL isFileURL])
|
||||
return [[self.URL path] stringByAbbreviatingWithTildeInPath];
|
||||
else
|
||||
return [self.URL absoluteString];
|
||||
}
|
||||
|
||||
@dynamic filename;
|
||||
|
|
Loading…
Reference in New Issue