diff --git a/docs/sphinx/en/python_api/session.rst b/docs/sphinx/en/python_api/session.rst
new file mode 100644
index 000000000..416f5f52d
--- /dev/null
+++ b/docs/sphinx/en/python_api/session.rst
@@ -0,0 +1,5 @@
+Session module
+==============
+
+.. automodule:: mrv2.session
+ :members:
diff --git a/docs/sphinx/es/python_api/session.rst b/docs/sphinx/es/python_api/session.rst
new file mode 100644
index 000000000..9915d0e4c
--- /dev/null
+++ b/docs/sphinx/es/python_api/session.rst
@@ -0,0 +1,5 @@
+Módulo de Sesión
+================
+
+.. automodule:: mrv2.session
+ :members:
diff --git a/mrv2/docs/HISTORY.md b/mrv2/docs/HISTORY.md
index 1a94472b7..145bf826b 100644
--- a/mrv2/docs/HISTORY.md
+++ b/mrv2/docs/HISTORY.md
@@ -27,6 +27,9 @@ v0.8.2
- Made scrubbing automatically switch to playback with audio.
- Fixed coloring of Python functions when they were typed at the start of a
line.
+- There's a new 'session' module to handle everything related to sessions,
+ including saving, loading and setting the metadata.
+- The metadata for sessions has changed API. Now it is a Python dict.
v0.8.1
diff --git a/mrv2/docs/en/_modules/index.html b/mrv2/docs/en/_modules/index.html
index 7bb3c1d1c..2953e51d1 100644
--- a/mrv2/docs/en/_modules/index.html
+++ b/mrv2/docs/en/_modules/index.html
@@ -80,6 +80,7 @@
All modules for which code is available
mrv2.media
mrv2.playlist
mrv2.plugin
+mrv2.session
mrv2.settings
mrv2.timeline
mrv2.usd
diff --git a/mrv2/docs/en/_sources/python_api/session.rst.txt b/mrv2/docs/en/_sources/python_api/session.rst.txt
new file mode 100644
index 000000000..416f5f52d
--- /dev/null
+++ b/mrv2/docs/en/_sources/python_api/session.rst.txt
@@ -0,0 +1,5 @@
+Session module
+==============
+
+.. automodule:: mrv2.session
+ :members:
diff --git a/mrv2/docs/en/genindex.html b/mrv2/docs/en/genindex.html
index c6221c518..e5f775765 100644
--- a/mrv2/docs/en/genindex.html
+++ b/mrv2/docs/en/genindex.html
@@ -162,6 +162,8 @@ C
clamped() (mrv2.TimeRange method)
clearB() (in module mrv2.media)
+
+ clearMetadata() (in module mrv2.session)
close() (in module mrv2.cmd)
@@ -176,11 +178,11 @@ C
Color (class in mrv2.image)
-
- color (mrv2.image.DisplayOptions attribute)
@@ -779,8 +790,6 @@ S
setReadBehind() (in module mrv2.settings)
setRenderOptions() (in module mrv2.usd)
-
- setSessionMetadata() (in module mrv2.cmd)
setSpeed() (in module mrv2.timeline)
diff --git a/mrv2/docs/en/index.html b/mrv2/docs/en/index.html
index 68c5c9f55..4aba0633d 100644
--- a/mrv2/docs/en/index.html
+++ b/mrv2/docs/en/index.html
@@ -105,6 +105,7 @@ Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/objects.inv b/mrv2/docs/en/objects.inv
index a4d342774..48bbb4cd6 100644
Binary files a/mrv2/docs/en/objects.inv and b/mrv2/docs/en/objects.inv differ
diff --git a/mrv2/docs/en/py-modindex.html b/mrv2/docs/en/py-modindex.html
index e925c2e45..764d2c4b7 100644
--- a/mrv2/docs/en/py-modindex.html
+++ b/mrv2/docs/en/py-modindex.html
@@ -130,6 +130,11 @@ Python Module Index
mrv2.plugin
+
+
+
+ mrv2.session
+
diff --git a/mrv2/docs/en/python_api/annotations.html b/mrv2/docs/en/python_api/annotations.html
index 74d344aa0..7021c7cbc 100644
--- a/mrv2/docs/en/python_api/annotations.html
+++ b/mrv2/docs/en/python_api/annotations.html
@@ -62,6 +62,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/cmd.html b/mrv2/docs/en/python_api/cmd.html
index a5c67c410..091c31bb7 100644
--- a/mrv2/docs/en/python_api/cmd.html
+++ b/mrv2/docs/en/python_api/cmd.html
@@ -54,7 +54,6 @@
closeAll()
compare()
compareOptions()
-currentSession()
displayOptions()
environmentMapOptions()
getLayers()
@@ -63,23 +62,17 @@
isMuted()
lutOptions()
open()
-openSession()
prefsPath()
rootPath()
save()
saveOTIO()
savePDF()
-saveSession()
-saveSessionAs()
-sessionMetadata()
setCompareOptions()
-setCurrentSession()
setDisplayOptions()
setEnvironmentMapOptions()
setImageOptions()
setLUTOptions()
setMute()
-setSessionMetadata()
setStereo3DOptions()
setVolume()
stereo3DOptions()
@@ -96,6 +89,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
@@ -156,12 +150,6 @@
Return the current compare options.
-
-
-mrv2.cmd. currentSession ( ) → str
-Returns current session file.
-
-
mrv2.cmd. displayOptions ( ) → mrv2.image.DisplayOptions
@@ -210,12 +198,6 @@
Open file with optional audio.
-
-
-mrv2.cmd. openSession ( file : str ) → bool
-Open a session file.
-
-
mrv2.cmd. prefsPath ( ) → str
@@ -246,36 +228,12 @@
Save a PDF document with all annotations and notes.
-
-
-mrv2.cmd. saveSession ( ) → bool
-Save a session file.
-
-
-
-
-mrv2.cmd. saveSessionAs ( file : str ) → bool
-Save a session file.
-
-
-
-
-mrv2.cmd. sessionMetadata ( ) → str
-Returns the current session metadata.
-
-
mrv2.cmd. setCompareOptions ( options : mrv2.media.CompareOptions ) → None
Set the compare options.
-
-
-mrv2.cmd. setCurrentSession ( file : str ) → None
-Sets the current session file.
-
-
mrv2.cmd. setDisplayOptions ( options : mrv2.image.DisplayOptions ) → None
@@ -306,12 +264,6 @@
Set the muting of the audio.
-
-
-mrv2.cmd. setSessionMetadata ( arg0 : str ) → None
-Sets the current session metadata.
-
-
mrv2.cmd. setStereo3DOptions ( options : mrv2.image.Stereo3DOptions ) → None
diff --git a/mrv2/docs/en/python_api/image.html b/mrv2/docs/en/python_api/image.html
index f3ec2ad86..0efefabbe 100644
--- a/mrv2/docs/en/python_api/image.html
+++ b/mrv2/docs/en/python_api/image.html
@@ -192,6 +192,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/index.html b/mrv2/docs/en/python_api/index.html
index f14258b34..125fd17bb 100644
--- a/mrv2/docs/en/python_api/index.html
+++ b/mrv2/docs/en/python_api/index.html
@@ -59,6 +59,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
@@ -103,7 +104,6 @@
closeAll()
compare()
compareOptions()
-currentSession()
displayOptions()
environmentMapOptions()
getLayers()
@@ -112,23 +112,17 @@
isMuted()
lutOptions()
open()
-openSession()
prefsPath()
rootPath()
save()
saveOTIO()
savePDF()
-saveSession()
-saveSessionAs()
-sessionMetadata()
setCompareOptions()
-setCurrentSession()
setDisplayOptions()
setEnvironmentMapOptions()
setImageOptions()
setLUTOptions()
setMute()
-setSessionMetadata()
setStereo3DOptions()
setVolume()
stereo3DOptions()
@@ -228,6 +222,16 @@
pyFLTK
+Session module
+
settings module
memory()
readAhead()
diff --git a/mrv2/docs/en/python_api/io.html b/mrv2/docs/en/python_api/io.html
index 47e4b555d..60d1adbf1 100644
--- a/mrv2/docs/en/python_api/io.html
+++ b/mrv2/docs/en/python_api/io.html
@@ -71,6 +71,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/math.html b/mrv2/docs/en/python_api/math.html
index 8e99312c6..1accbbed4 100644
--- a/mrv2/docs/en/python_api/math.html
+++ b/mrv2/docs/en/python_api/math.html
@@ -84,6 +84,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/media.html b/mrv2/docs/en/python_api/media.html
index 1afbccef1..097f9fc9b 100644
--- a/mrv2/docs/en/python_api/media.html
+++ b/mrv2/docs/en/python_api/media.html
@@ -88,6 +88,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/mrv2.html b/mrv2/docs/en/python_api/mrv2.html
index 64958b1ee..794d57d6c 100644
--- a/mrv2/docs/en/python_api/mrv2.html
+++ b/mrv2/docs/en/python_api/mrv2.html
@@ -123,6 +123,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/playlist.html b/mrv2/docs/en/python_api/playlist.html
index a911416db..e8972ff37 100644
--- a/mrv2/docs/en/python_api/playlist.html
+++ b/mrv2/docs/en/python_api/playlist.html
@@ -65,6 +65,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/plug-ins-system.html b/mrv2/docs/en/python_api/plug-ins-system.html
index 7556cc2dc..47e9a2502 100644
--- a/mrv2/docs/en/python_api/plug-ins-system.html
+++ b/mrv2/docs/en/python_api/plug-ins-system.html
@@ -62,6 +62,7 @@
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/plug-ins.html b/mrv2/docs/en/python_api/plug-ins.html
index 84db45a1c..acd50ca3d 100644
--- a/mrv2/docs/en/python_api/plug-ins.html
+++ b/mrv2/docs/en/python_api/plug-ins.html
@@ -66,6 +66,7 @@
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
diff --git a/mrv2/docs/en/python_api/pyFLTK.html b/mrv2/docs/en/python_api/pyFLTK.html
index bc7f48a8f..ffc7b394a 100644
--- a/mrv2/docs/en/python_api/pyFLTK.html
+++ b/mrv2/docs/en/python_api/pyFLTK.html
@@ -21,7 +21,7 @@
-
+
@@ -59,6 +59,7 @@
plugin module
Plug-in System
pyFLTK
+Session module
settings module
timeline module
usd module
@@ -111,7 +112,7 @@ pyFLTK
+
+
+
+ mrv2.session
+
diff --git a/mrv2/docs/es/python_api/annotations.html b/mrv2/docs/es/python_api/annotations.html
index df5b7659d..db743cb20 100644
--- a/mrv2/docs/es/python_api/annotations.html
+++ b/mrv2/docs/es/python_api/annotations.html
@@ -62,6 +62,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/cmd.html b/mrv2/docs/es/python_api/cmd.html
index 22428319f..b047239a3 100644
--- a/mrv2/docs/es/python_api/cmd.html
+++ b/mrv2/docs/es/python_api/cmd.html
@@ -55,7 +55,6 @@
closeAll()
compare()
compareOptions()
-currentSession()
displayOptions()
environmentMapOptions()
getLayers()
@@ -64,23 +63,17 @@
isMuted()
lutOptions()
open()
-openSession()
prefsPath()
rootPath()
save()
saveOTIO()
savePDF()
-saveSession()
-saveSessionAs()
-sessionMetadata()
setCompareOptions()
-setCurrentSession()
setDisplayOptions()
setEnvironmentMapOptions()
setImageOptions()
setLUTOptions()
setMute()
-setSessionMetadata()
setStereo3DOptions()
setVolume()
stereo3DOptions()
@@ -96,6 +89,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
@@ -157,12 +151,6 @@
Return the current compare options.
-
-
-mrv2.cmd. currentSession ( ) → str
-Retorna la Sesión actual.
-
-
mrv2.cmd. displayOptions ( ) → mrv2.image.DisplayOptions
@@ -211,12 +199,6 @@
Abrir un archivo con audio opcional.
-
-
-mrv2.cmd. openSession ( file : str ) → bool
-Abrir una Sesión
-
-
mrv2.cmd. prefsPath ( ) → str
@@ -247,36 +229,12 @@
Grabar un dcoumento PDF con todas las anotaciones y notas.
-
-
-mrv2.cmd. saveSession ( ) → bool
-Grabar Sesión.
-
-
-
-
-mrv2.cmd. saveSessionAs ( file : str ) → bool
-Grabar Sesión.
-
-
-
-
-mrv2.cmd. sessionMetadata ( ) → str
-Retorna la metadata de la sesión actual.
-
-
mrv2.cmd. setCompareOptions ( options : mrv2.media.CompareOptions ) → None
Setear las opciones de comparación.
-
-
-mrv2.cmd. setCurrentSession ( file : str ) → None
-Setea el archivo de la sesión actual.
-
-
mrv2.cmd. setDisplayOptions ( options : mrv2.image.DisplayOptions ) → None
@@ -307,12 +265,6 @@
Setea el mutismo del audio.
-
-
-mrv2.cmd. setSessionMetadata ( arg0 : str ) → None
-Setea la metadata de la sesión actual.
-
-
mrv2.cmd. setStereo3DOptions ( options : mrv2.image.Stereo3DOptions ) → None
diff --git a/mrv2/docs/es/python_api/image.html b/mrv2/docs/es/python_api/image.html
index 69bef59c4..e1e84787e 100644
--- a/mrv2/docs/es/python_api/image.html
+++ b/mrv2/docs/es/python_api/image.html
@@ -192,6 +192,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
@@ -675,7 +676,7 @@
softClip = mrv2.image.SoftClip
-Soft Clip options mrv2.image.SoftClip
..
+Opciones de Soft Clip mrv2.image.SoftClip
..
diff --git a/mrv2/docs/es/python_api/index.html b/mrv2/docs/es/python_api/index.html
index 33a1f2c1a..bcf215a0e 100644
--- a/mrv2/docs/es/python_api/index.html
+++ b/mrv2/docs/es/python_api/index.html
@@ -59,6 +59,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
@@ -104,7 +105,6 @@
closeAll()
compare()
compareOptions()
-currentSession()
displayOptions()
environmentMapOptions()
getLayers()
@@ -113,23 +113,17 @@
isMuted()
lutOptions()
open()
-openSession()
prefsPath()
rootPath()
save()
saveOTIO()
savePDF()
-saveSession()
-saveSessionAs()
-sessionMetadata()
setCompareOptions()
-setCurrentSession()
setDisplayOptions()
setEnvironmentMapOptions()
setImageOptions()
setLUTOptions()
setMute()
-setSessionMetadata()
setStereo3DOptions()
setVolume()
stereo3DOptions()
@@ -225,6 +219,16 @@
pyFLTK
+Módulo de Sesión
+
Módulo settings
memory()
readAhead()
diff --git a/mrv2/docs/es/python_api/io.html b/mrv2/docs/es/python_api/io.html
index 015c28cfe..1204247a5 100644
--- a/mrv2/docs/es/python_api/io.html
+++ b/mrv2/docs/es/python_api/io.html
@@ -71,6 +71,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/math.html b/mrv2/docs/es/python_api/math.html
index b9e4c6f42..dab92f49b 100644
--- a/mrv2/docs/es/python_api/math.html
+++ b/mrv2/docs/es/python_api/math.html
@@ -84,6 +84,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/media.html b/mrv2/docs/es/python_api/media.html
index 447c05fa6..661ad2cf7 100644
--- a/mrv2/docs/es/python_api/media.html
+++ b/mrv2/docs/es/python_api/media.html
@@ -88,6 +88,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/mrv2.html b/mrv2/docs/es/python_api/mrv2.html
index 8ccb041fc..397f94ac6 100644
--- a/mrv2/docs/es/python_api/mrv2.html
+++ b/mrv2/docs/es/python_api/mrv2.html
@@ -123,6 +123,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/playlist.html b/mrv2/docs/es/python_api/playlist.html
index 5d9aa12a8..d00472224 100644
--- a/mrv2/docs/es/python_api/playlist.html
+++ b/mrv2/docs/es/python_api/playlist.html
@@ -65,6 +65,7 @@
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/plug-ins.html b/mrv2/docs/es/python_api/plug-ins.html
index 77e25f035..1a066bec0 100644
--- a/mrv2/docs/es/python_api/plug-ins.html
+++ b/mrv2/docs/es/python_api/plug-ins.html
@@ -66,6 +66,7 @@
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
diff --git a/mrv2/docs/es/python_api/pyFLTK.html b/mrv2/docs/es/python_api/pyFLTK.html
index 6076a742a..78290a47b 100644
--- a/mrv2/docs/es/python_api/pyFLTK.html
+++ b/mrv2/docs/es/python_api/pyFLTK.html
@@ -22,7 +22,7 @@
-
+
@@ -59,6 +59,7 @@
Módulo playlist
Módulo de plugin
pyFLTK
+Módulo de Sesión
Módulo settings
Sistema de Plug-ins
Módulo timeline
@@ -112,7 +113,7 @@ pyFLTK