mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
gui/movieplayer.cpp: split live url via lua code to be used from other code
This commit is contained in:
@@ -171,7 +171,7 @@ class CMoviePlayerGui : public CMenuTarget
|
||||
std::string Path_local;
|
||||
int menu_ret;
|
||||
bool autoshot_done;
|
||||
std::vector<livestream_info_t> liveStreamList;
|
||||
//std::vector<livestream_info_t> liveStreamList;
|
||||
|
||||
/* playback from bookmark */
|
||||
static CBookmarkManager * bookmarkmanager;
|
||||
@@ -261,6 +261,7 @@ class CMoviePlayerGui : public CMenuTarget
|
||||
bool getBlockedFromPlugin() { return blockedFromPlugin; };
|
||||
void setLuaInfoFunc(lua_State* L, bool func) { luaState = L; haveLuaInfoFunc = func; };
|
||||
void getLivestreamInfo(std::string *i1, std::string *i2) { *i1=livestreamInfo1; *i2=livestreamInfo2; };
|
||||
bool getLiveUrl(const t_channel_id chan, const std::string &url, const std::string &script, std::string &realUrl, std::string &_pretty_name, std::string &info1, std::string &info2);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user