Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
1c4ea6e1
Commit
1c4ea6e1
authored
Jun 27, 2009
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2(Windows): add a command to start the first playlist item
parent
af7bad86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
modules/gui/skins2/commands/cmd_playlist.cpp
modules/gui/skins2/commands/cmd_playlist.cpp
+9
-0
modules/gui/skins2/commands/cmd_playlist.hpp
modules/gui/skins2/commands/cmd_playlist.hpp
+3
-0
No files found.
modules/gui/skins2/commands/cmd_playlist.cpp
View file @
1c4ea6e1
...
...
@@ -120,3 +120,12 @@ void CmdPlaylistSave::execute()
playlist_Export
(
pPlaylist
,
m_file
.
c_str
(),
pPlaylist
->
p_local_category
,
psz_module
);
}
}
void
CmdPlaylistFirst
::
execute
()
{
playlist_t
*
pPlaylist
=
getIntf
()
->
p_sys
->
p_playlist
;
playlist_Lock
(
pPlaylist
);
playlist_Control
(
pPlaylist
,
PLAYLIST_PLAY
,
pl_Locked
);
playlist_Unlock
(
pPlaylist
);
}
modules/gui/skins2/commands/cmd_playlist.hpp
View file @
1c4ea6e1
...
...
@@ -58,6 +58,9 @@ DEFINE_COMMAND( PlaylistNext, "playlist next" )
/// Command to jump to the previous item
DEFINE_COMMAND
(
PlaylistPrevious
,
"playlist previous"
)
/// Command to start the playlist
DEFINE_COMMAND
(
PlaylistFirst
,
"playlist first"
)
/// Command to set the random state
class
CmdPlaylistRandom
:
public
CmdGeneric
...
...
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