[libbluray-devel] [Git][videolan/libbluray][master] BDJAppProxy: Create organization and disc specific BUDA dirs
Petri Hintukainen
gitlab at videolan.org
Sat May 16 19:25:08 CEST 2020
Petri Hintukainen pushed to branch master at VideoLAN / libbluray
Commits:
c5d4ac3a by hpi1 at 2020-05-16T20:23:32+03:00
BDJAppProxy: Create organization and disc specific BUDA dirs
Fixes #25.
- - - - -
1 changed file:
- src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
Changes:
=====================================
src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
=====================================
@@ -216,6 +216,15 @@ class BDJAppProxy implements DVBJProxy, Runnable {
if (!f.isDirectory() && !f.mkdirs()) {
logger.error("Error creating persistent storage " + persistent);
}
+
+ String buda = System.getProperty("bluray.bindingunit.root") + File.separator +
+ (String)context.getXletProperty("dvb.org.id") + File.separator +
+ org.bluray.ti.DiscManager.getDiscManager().getCurrentDisc().getId();
+ File fb = new File(buda);
+ if (!fb.isDirectory() && !fb.mkdirs()) {
+ logger.error("Error creating BUDA storage " + buda);
+ }
+
xlet.initXlet(context);
state = PAUSED;
return true;
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/c5d4ac3a84ac1184722a9c1333f837a74bc939fc
--
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/c5d4ac3a84ac1184722a9c1333f837a74bc939fc
You're receiving this email because of your account on code.videolan.org.
More information about the libbluray-devel
mailing list