Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Soomin Lee
VLC-iOS
Commits
261e3747
Commit
261e3747
authored
Jan 24, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
library: fix tv show name corruption caused by older MLKit releases (close #10435)
parent
d42f25d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Resources/en.lproj/Localizable.strings
Resources/en.lproj/Localizable.strings
+0
-0
Sources/VLCPlaylistViewController.m
Sources/VLCPlaylistViewController.m
+9
-0
No files found.
Resources/en.lproj/Localizable.strings
View file @
261e3747
B
"CHOOSE_AUDIO_TRACK"="Choose Audio Track";
...
...
Sources/VLCPlaylistViewController.m
View file @
261e3747
...
...
@@ -361,6 +361,15 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
else
if
(
file
.
isShowEpisode
)
{
if
(
file
.
showEpisode
.
show
.
episodes
.
count
<
2
)
[
_foundMedia
addObject
:
file
];
/* older MediaLibraryKit versions don't send a show name in a popular
* corner case. hence, we need to work-around here and force a reload
* afterwards as this could lead to the 'all my shows are gone'
* syndrome (see #10435, #10464, #10432 et al) */
if
(
file
.
showEpisode
.
show
.
name
.
length
==
0
)
{
file
.
showEpisode
.
show
.
name
=
NSLocalizedString
(
@"UNTITLED_SHOW"
,
@""
);
[
self
performSelector
:
@selector
(
updateViewContents
)
withObject
:
nil
afterDelay
:
0
.
1
];
}
}
else
if
(
file
.
isAlbumTrack
)
{
if
(
file
.
albumTrack
.
album
.
tracks
.
count
<
2
)
[
_foundMedia
addObject
:
file
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment