mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
gui/movieplayer.cpp: start movies in playlists at start bookmark
This commit is contained in:
@@ -489,6 +489,8 @@ bool CMoviePlayerGui::prepareFile(CFile *file)
|
|||||||
if (filelist_it != filelist.end()) {
|
if (filelist_it != filelist.end()) {
|
||||||
unsigned idx = filelist_it - filelist.begin();
|
unsigned idx = filelist_it - filelist.begin();
|
||||||
p_movie_info = milist[idx];
|
p_movie_info = milist[idx];
|
||||||
|
startposition = p_movie_info->bookmarks.start > 0 ? p_movie_info->bookmarks.start*1000 : -1;
|
||||||
|
printf("CMoviePlayerGui::prepareFile: file %s start %d\n", file_name.c_str(), startposition);
|
||||||
}
|
}
|
||||||
if (isYT) {
|
if (isYT) {
|
||||||
file_name = file->Url;
|
file_name = file->Url;
|
||||||
|
Reference in New Issue
Block a user