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
GSoC
GSoC2018
macOS
vlc
Commits
1dbf5e3e
Commit
1dbf5e3e
authored
Jun 10, 2018
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/nowplaying: make sure the album track number is exposed as number
parent
08156148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/gui/macosx/VLCInputManager.m
modules/gui/macosx/VLCInputManager.m
+1
-1
No files found.
modules/gui/macosx/VLCInputManager.m
View file @
1dbf5e3e
...
...
@@ -560,7 +560,7 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
FREENULL
(
psz_album
);
char
*
psz_track_number
=
input_item_GetTrackNumber
(
p_input_item
);
currentlyPlayingTrackInfo
[
MPMediaItemPropertyAlbumTrackNumber
]
=
toNSStr
(
psz_track_number
);
currentlyPlayingTrackInfo
[
MPMediaItemPropertyAlbumTrackNumber
]
=
@
([
toNSStr
(
psz_track_number
)
intValue
])
;
FREENULL
(
psz_track_number
);
[
MPNowPlayingInfoCenter
defaultCenter
].
nowPlayingInfo
=
currentlyPlayingTrackInfo
;
...
...
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