Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2103c812
Commit
2103c812
authored
Sep 30, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Add a link to the playlistitem menu to retrieve Cover Art.
Forward port: [
1a5a6b89
]
parent
4830a583
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
7 deletions
+53
-7
extras/package/macosx/Resources/English.lproj/MainMenu.nib/classes.nib
...e/macosx/Resources/English.lproj/MainMenu.nib/classes.nib
+8
-4
extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
...kage/macosx/Resources/English.lproj/MainMenu.nib/info.nib
+2
-2
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
...osx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+2
-0
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+33
-1
modules/gui/macosx/playlistinfo.h
modules/gui/macosx/playlistinfo.h
+1
-0
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+7
-0
No files found.
extras/package/macosx/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
2103c812
...
@@ -490,17 +490,17 @@
...
@@ -490,17 +490,17 @@
</dict>
</dict>
<dict>
<dict>
<key>
CLASS
</key>
<key>
CLASS
</key>
<string>
ITSlider
</string>
<string>
NSObject
</string>
<key>
LANGUAGE
</key>
<key>
LANGUAGE
</key>
<string>
ObjC
</string>
<string>
ObjC
</string>
<key>
SUPERCLASS
</key>
<string>
NSSlider
</string>
</dict>
</dict>
<dict>
<dict>
<key>
CLASS
</key>
<key>
CLASS
</key>
<string>
NSObject
</string>
<string>
ITSlider
</string>
<key>
LANGUAGE
</key>
<key>
LANGUAGE
</key>
<string>
ObjC
</string>
<string>
ObjC
</string>
<key>
SUPERCLASS
</key>
<string>
NSSlider
</string>
</dict>
</dict>
<dict>
<dict>
<key>
ACTIONS
</key>
<key>
ACTIONS
</key>
...
@@ -727,6 +727,8 @@
...
@@ -727,6 +727,8 @@
<string>
id
</string>
<string>
id
</string>
<key>
deleteItem
</key>
<key>
deleteItem
</key>
<string>
id
</string>
<string>
id
</string>
<key>
downloadCoverArt
</key>
<string>
id
</string>
<key>
playItem
</key>
<key>
playItem
</key>
<string>
id
</string>
<string>
id
</string>
<key>
preparseItem
</key>
<key>
preparseItem
</key>
...
@@ -766,6 +768,8 @@
...
@@ -766,6 +768,8 @@
<string>
id
</string>
<string>
id
</string>
<key>
o_mi_delete
</key>
<key>
o_mi_delete
</key>
<string>
id
</string>
<string>
id
</string>
<key>
o_mi_dl_cover_art
</key>
<string>
id
</string>
<key>
o_mi_info
</key>
<key>
o_mi_info
</key>
<string>
id
</string>
<string>
id
</string>
<key>
o_mi_play
</key>
<key>
o_mi_play
</key>
...
...
extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
View file @
2103c812
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
<integer>
4
</integer>
<integer>
4
</integer>
<key>
IBOpenObjects
</key>
<key>
IBOpenObjects
</key>
<array>
<array>
<integer>
3706
</integer>
<integer>
29
</integer>
<integer>
29
</integer>
<integer>
21
</integer>
<integer>
3706
</integer>
<integer>
3568
</integer>
<integer>
3568
</integer>
<integer>
915
</integer>
<integer>
915
</integer>
<integer>
21
</integer>
</array>
</array>
<key>
IBSystem Version
</key>
<key>
IBSystem Version
</key>
<string>
9F33
</string>
<string>
9F33
</string>
...
...
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
View file @
2103c812
No preview for this file type
modules/gui/macosx/playlist.h
View file @
2103c812
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
IBOutlet
id
o_mi_preparse
;
IBOutlet
id
o_mi_preparse
;
IBOutlet
id
o_mi_revealInFinder
;
IBOutlet
id
o_mi_revealInFinder
;
IBOutlet
id
o_mm_mi_revealInFinder
;
IBOutlet
id
o_mm_mi_revealInFinder
;
IBOutlet
id
o_mi_dl_cover_art
;
IBOutlet
id
o_mi_selectall
;
IBOutlet
id
o_mi_selectall
;
IBOutlet
id
o_mi_sort_name
;
IBOutlet
id
o_mi_sort_name
;
IBOutlet
id
o_mi_sort_author
;
IBOutlet
id
o_mi_sort_author
;
...
@@ -131,6 +132,7 @@
...
@@ -131,6 +132,7 @@
-
(
IBAction
)
playItem
:(
id
)
sender
;
-
(
IBAction
)
playItem
:(
id
)
sender
;
-
(
IBAction
)
revealItemInFinder
:(
id
)
sender
;
-
(
IBAction
)
revealItemInFinder
:(
id
)
sender
;
-
(
IBAction
)
preparseItem
:(
id
)
sender
;
-
(
IBAction
)
preparseItem
:(
id
)
sender
;
-
(
IBAction
)
downloadCoverArt
:(
id
)
sender
;
-
(
IBAction
)
savePlaylist
:(
id
)
sender
;
-
(
IBAction
)
savePlaylist
:(
id
)
sender
;
-
(
IBAction
)
deleteItem
:(
id
)
sender
;
-
(
IBAction
)
deleteItem
:(
id
)
sender
;
-
(
IBAction
)
selectAll
:(
id
)
sender
;
-
(
IBAction
)
selectAll
:(
id
)
sender
;
...
...
modules/gui/macosx/playlist.m
View file @
2103c812
...
@@ -443,7 +443,8 @@
...
@@ -443,7 +443,8 @@
[
o_mi_delete
setTitle
:
_NS
(
"Delete"
)];
[
o_mi_delete
setTitle
:
_NS
(
"Delete"
)];
[
o_mi_recursive_expand
setTitle
:
_NS
(
"Expand Node"
)];
[
o_mi_recursive_expand
setTitle
:
_NS
(
"Expand Node"
)];
[
o_mi_selectall
setTitle
:
_NS
(
"Select All"
)];
[
o_mi_selectall
setTitle
:
_NS
(
"Select All"
)];
[
o_mi_info
setTitle
:
_NS
(
"Information..."
)];
[
o_mi_info
setTitle
:
_NS
(
"Media Information..."
)];
[
o_mi_dl_cover_art
setTitle
:
_NS
(
"Download Cover Art"
)];
[
o_mi_preparse
setTitle
:
_NS
(
"Fetch Meta Data"
)];
[
o_mi_preparse
setTitle
:
_NS
(
"Fetch Meta Data"
)];
[
o_mi_revealInFinder
setTitle
:
_NS
(
"Reveal in Finder"
)];
[
o_mi_revealInFinder
setTitle
:
_NS
(
"Reveal in Finder"
)];
[
o_mm_mi_revealInFinder
setTitle
:
_NS
(
"Reveal in Finder"
)];
[
o_mm_mi_revealInFinder
setTitle
:
_NS
(
"Reveal in Finder"
)];
...
@@ -850,6 +851,37 @@
...
@@ -850,6 +851,37 @@
[
self
playlistUpdated
];
[
self
playlistUpdated
];
}
}
-
(
IBAction
)
downloadCoverArt
:(
id
)
sender
{
int
i_count
;
NSMutableArray
*
o_to_preparse
;
intf_thread_t
*
p_intf
=
VLCIntf
;
playlist_t
*
p_playlist
=
pl_Hold
(
p_intf
);
o_to_preparse
=
[
NSMutableArray
arrayWithArray
:[[
o_outline_view
selectedRowEnumerator
]
allObjects
]];
i_count
=
[
o_to_preparse
count
];
int
i
,
i_row
;
NSNumber
*
o_number
;
playlist_item_t
*
p_item
=
NULL
;
for
(
i
=
0
;
i
<
i_count
;
i
++
)
{
o_number
=
[
o_to_preparse
lastObject
];
i_row
=
[
o_number
intValue
];
p_item
=
[[
o_outline_view
itemAtRow
:
i_row
]
pointerValue
];
[
o_to_preparse
removeObject
:
o_number
];
[
o_outline_view
deselectRow
:
i_row
];
if
(
p_item
&&
p_item
->
i_children
==
-
1
)
{
playlist_AskForArtEnqueue
(
p_playlist
,
p_item
->
p_input
);
}
}
vlc_object_release
(
p_playlist
);
[
self
playlistUpdated
];
}
-
(
IBAction
)
servicesChange
:(
id
)
sender
-
(
IBAction
)
servicesChange
:(
id
)
sender
{
{
NSMenuItem
*
o_mi
=
(
NSMenuItem
*
)
sender
;
NSMenuItem
*
o_mi
=
(
NSMenuItem
*
)
sender
;
...
...
modules/gui/macosx/playlistinfo.h
View file @
2103c812
...
@@ -106,6 +106,7 @@
...
@@ -106,6 +106,7 @@
-
(
IBAction
)
metaFieldChanged
:(
id
)
sender
;
-
(
IBAction
)
metaFieldChanged
:(
id
)
sender
;
-
(
IBAction
)
saveMetaData
:(
id
)
sender
;
-
(
IBAction
)
saveMetaData
:(
id
)
sender
;
-
(
IBAction
)
downloadCoverArt
:(
id
)
sender
;
-
(
void
)
initMediaPanelStats
;
-
(
void
)
initMediaPanelStats
;
-
(
void
)
updatePanelWithItem
:(
input_item_t
*
)
_p_item
;
-
(
void
)
updatePanelWithItem
:(
input_item_t
*
)
_p_item
;
-
(
input_item_t
*
)
item
;
-
(
input_item_t
*
)
item
;
...
...
modules/gui/macosx/playlistinfo.m
View file @
2103c812
...
@@ -425,6 +425,13 @@ error:
...
@@ -425,6 +425,13 @@ error:
_NS
(
"OK"
),
nil
,
nil
);
_NS
(
"OK"
),
nil
,
nil
);
}
}
-
(
IBAction
)
downloadCoverArt
:(
id
)
sender
{
playlist_t
*
p_playlist
=
pl_Hold
(
VLCIntf
);
if
(
p_item
)
playlist_AskForArtEnqueue
(
p_playlist
,
p_item
);
pl_Release
(
VLCIntf
);
}
-
(
input_item_t
*
)
item
-
(
input_item_t
*
)
item
{
{
if
(
p_item
)
vlc_gc_incref
(
p_item
);
if
(
p_item
)
vlc_gc_incref
(
p_item
);
...
...
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