js/dataManager/dataManager.js
function addScene(sceneId, sceneName){

    if (!sceneId && !sceneName){

        logger.warn('SceneId or SceneName is required to starting a new scene session. Aborting');
        return;
        
    }

    // close any previous media
    if (mediaPlaying)
        closeMedia();

    currentSession.addScene(sceneId, sceneName);

}
function addScene(sceneId, sceneName){

    if (!sceneId && !sceneName){

        logger.warn('SceneId or SceneName is required to starting a new scene session. Aborting');
        return;
        
    }

    // close any previous media
    if (mediaPlaying)
        closeMedia();

    currentSession.addScene(sceneId, sceneName);

}
function addScene ( sceneId , sceneName ) { if ( ! sceneId && ! sceneName ) { logger . warn ( 'SceneId or SceneName is required to starting a new scene session. Aborting' ) ; return ; } // close any previous media if ( mediaPlaying ) closeMedia ( ) ; currentSession . addScene ( sceneId , sceneName ) ; }
Functions related to creating and deleting scene sessions and media sessions 
create scene session
@memberof DataManager
@param {string} sceneId id of the new scene [optional - either this or sceneName]
@param {string} sceneName name of the new scene [optional - either this or sceneId]
Functions related to creating and deleting scene sessions and media sessions create scene session