144
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
143
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
142
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
141
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
140
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
139
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
138
|
|
Bump to version 0.9.24
Fixed the bug where OpenShot crashes when a non-media file is imported. Dan helped me fix this one. We needed to call mlt.Factory.init() each time we thumbnail a file. Then we can use the is_valid() method. So, now OpenShot just ignores invalid files, and it won't crash & seg fault!
Added in a new "lock" class, that ensures that only 1 instance of OpenShot can be run at a time. This has the following features:
1) Running OpenShot with no command line args (i.e. $ openshot), everything works like normal (the 1st instance of OpenShot to be run will become the "primary instance". 2) If you right click on files in Nautilus and open with "openshot", it will pass each file to the primary instance of OpenShot... and the files will appear in the project tree. This will not create multiple instances of OpenShot
NOTE: You can run multiple version of OpenShot if you don't pass args to the command.
3) If you pass args to $ openshot "file path 1", "file path 2", "etc", it will add each file to the primary instance of OpenShot
4) If you just run "$ openshot" over and over again, it will continue to create new instances of OpenShot, so you could work on multiple projects at the same time. It's only when args are passed along with the "openshot" command that this lock stuff is used.
As part of this new "1 instance" code, there is a new /queue/ folder. A "queue_watcher" thread polls the files in this folder, and when it finds any file (text files), it cracks them open, reads the path of a file to import, imports the file, and then deletes the text file. The name of the text file does not matter.
For example, if you manually create the following files in the /queue/ folder:
abc123.txt (and it contains: /home/jonathan/my_video_1.avi) def456.txt (and it contains: /home/jonathan/my_video_2.avi)
The queue_watcher thread should almost instantly delete these 2 text files, and then import the 2 files into the primary instance of OpenShot. This creates an interesting interface for people to work with, if they want to script with OpenShot.
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
137
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
136
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
135
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
134
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
133
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
132
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
131
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
130
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
129
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
128
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
127
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
126
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
125
|
|
|
Jonathan Thomas |
15 years ago
|
![Diff](/static/images/ico_diff.gif) |
|