Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PlayWallDesktop
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PlayWall
PlayWallDesktop
Commits
6d6caa37
Commit
6d6caa37
authored
5 years ago
by
Tobias Ullerich
Browse files
Options
Downloads
Patches
Plain Diff
Dump pads into PlayoutLog db async
parent
b0750140
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
PlayWallPlugins/PlayWallPluginPlayoutLog/src/main/java/de/tobias/playpad/plugin/playout/log/LogSeason.java
+2
-1
2 additions, 1 deletion
.../java/de/tobias/playpad/plugin/playout/log/LogSeason.java
with
2 additions
and
1 deletion
PlayWallPlugins/PlayWallPluginPlayoutLog/src/main/java/de/tobias/playpad/plugin/playout/log/LogSeason.java
+
2
−
1
View file @
6d6caa37
package
de.tobias.playpad.plugin.playout.log
;
package
de.tobias.playpad.plugin.playout.log
;
import
de.thecodelabs.utils.threading.Worker
;
import
de.tobias.playpad.pad.Pad
;
import
de.tobias.playpad.pad.Pad
;
import
de.tobias.playpad.pad.mediapath.MediaPath
;
import
de.tobias.playpad.pad.mediapath.MediaPath
;
import
de.tobias.playpad.plugin.playout.log.storage.LogSeasonStorageHandler
;
import
de.tobias.playpad.plugin.playout.log.storage.LogSeasonStorageHandler
;
...
@@ -35,7 +36,7 @@ public class LogSeason {
...
@@ -35,7 +36,7 @@ public class LogSeason {
}
}
public
void
createProjectSnapshot
(
Project
project
)
{
public
void
createProjectSnapshot
(
Project
project
)
{
project
.
getPads
().
forEach
(
this
::
addLogItem
);
Worker
.
runLater
(()
->
project
.
getPads
().
parallelStream
().
forEach
(
this
::
addLogItem
)
)
;
}
}
public
void
addLogItem
(
Pad
pad
)
{
public
void
addLogItem
(
Pad
pad
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment