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>
This commit is contained in:
parent
cc2b27d43f
commit
2541633c17
1 changed files with 4 additions and 1 deletions
|
@ -456,7 +456,10 @@
|
||||||
@dynamic path;
|
@dynamic path;
|
||||||
- (NSString *)path
|
- (NSString *)path
|
||||||
{
|
{
|
||||||
return [[self.URL path] stringByAbbreviatingWithTildeInPath];
|
if ([self.URL isFileURL])
|
||||||
|
return [[self.URL path] stringByAbbreviatingWithTildeInPath];
|
||||||
|
else
|
||||||
|
return [self.URL absoluteString];
|
||||||
}
|
}
|
||||||
|
|
||||||
@dynamic filename;
|
@dynamic filename;
|
||||||
|
|
Loading…
Reference in a new issue