Commit graph

827 commits

Author SHA1 Message Date
Chris Cochrun
12fb5592a7 remove using the old thumbnail creation
Since the rust implementation happens on insertion of slides and
creates a property for it, it's better as we won't need to create it
on the fly. Now we'll just need to move it into a background thread so
things will load while ffmpeg creates thumbnails for us.
2023-04-23 07:06:36 -05:00
Chris Cochrun
7d46382d2e udpate todo.org 2023-04-22 07:23:17 -05:00
Chris Cochrun
529be1a519 adding an ffmpeg.rs and thumbnailing fn
This module adds a bg_from_video function that takes uses the ffmpeg
binary to create thumbnails and adds them to the apps local data directory.
2023-04-22 07:18:05 -05:00
Chris Cochrun
67d7f960ed ytdl now works quite reliably, but...
We still need to handle all errors and possibly handle edge cases of
playlists and non urls better. The UI needs a lot of work too, but
this is a good start of the feature.
2023-04-22 07:17:03 -05:00
Chris Cochrun
666c22ae66 initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
Chris Cochrun
405a310e02 prepare to move to service_item_model.rs 2023-04-20 06:48:12 -05:00
Chris Cochrun
0d88d8c32d update todo.org 2023-04-20 06:29:46 -05:00
Chris Cochrun
16bb72c663 bug: making activeServiceItem text work 2023-04-19 15:09:30 -05:00
Chris Cochrun
3c09565a12 bug: fixed inserting slides in the middle of songs
Since songs had more than one slide, anything inserted after the first
multi-slide item would break the insertion. ServiceItem indexes are
not the same as the slide indexes so we needed to find the right
index, then properly change the other indexes in the right spot.

I think I've done this by using rust iterators better.
2023-04-19 15:03:32 -05:00
Chris Cochrun
a02f55eb0b better PreviewSlideListDelegate 2023-04-19 14:17:44 -05:00
Chris Cochrun
270cb67570 Trying to tweak the image_model for a better count function
Apparently there is a bug in the way these functions are called from
QML so we aren't getting the count of items in the library. All other
functions seem to be working but not this, so I tried a property and
the same situation...
2023-04-19 14:16:38 -05:00
Chris Cochrun
3ce236aefe making some tweaks to the default.nix
My NixOS config builds the app on every update. When we start to do
proper releases and such I'll fix this, but for now I want to change
up the default.nix so my config only builds a certain release.
2023-04-19 14:15:07 -05:00
Chris Cochrun
802f3ffbde bug: fixed presentation not looping 2023-04-19 11:59:05 -05:00
Chris Cochrun
bcfa587d85 bug: adding videos fixed 2023-04-19 11:40:37 -05:00
Chris Cochrun
1dc08d212c adding better footer information and styling 2023-04-19 09:42:13 -05:00
Chris Cochrun
7c2eeb5aa4 RangedSlider now has tray clicking 2023-04-19 09:29:29 -05:00
Chris Cochrun
eb15160201 some small tweaks to the rest of the UI of videoEditor 2023-04-19 06:34:43 -05:00
Chris Cochrun
d9836db18e ensuring that visual position follow initialValues
Since the internal components change visualPosition this will just
setup initialValues properly for anything looking at visualPosition
from the start
2023-04-19 06:33:41 -05:00
Chris Cochrun
81ea712c6b feature: a much nicer qml rangedslider
In order to make start and end time setting far more efficient, I
decided to create my own RangeSlider called RangedSlider. This has a
moved signal for each handle and a released signal for each
handle. This allows us to change the video playback but not set the
value until released. Meaning only one access to the database.
2023-04-19 05:35:52 -05:00
Chris Cochrun
8b231de32b adding a custom rangedslider 2023-04-18 15:32:42 -05:00
Chris Cochrun
8c89c49f4a cleanup lib.rs 2023-04-18 11:15:48 -05:00
Chris Cochrun
455c83b000 make a spot for serviceItem info in the footer 2023-04-18 11:13:49 -05:00
Chris Cochrun
061bf5acb8 bug: triggering presenting on preview switching 2023-04-18 11:00:10 -05:00
Chris Cochrun
4f081acd7a adding footer information 2023-04-18 10:29:31 -05:00
Chris Cochrun
990edf3818 some tweaks to the library components 2023-04-18 06:42:56 -05:00
Chris Cochrun
ecebddf557 add All files to the options 2023-04-18 06:42:43 -05:00
Chris Cochrun
f4c2e1e452 remove commented code 2023-04-18 06:30:44 -05:00
Chris Cochrun
6a3cdfd072 update todo 2023-04-18 06:29:32 -05:00
Chris Cochrun
29607d954a adding video times to service item for future 2023-04-18 06:29:08 -05:00
Chris Cochrun
bc2ff3d4fc update todo 2023-04-17 21:29:05 -05:00
Chris Cochrun
a93aa37d53 adding video_start_time and video_end_time
Both of these properties will be used to track when a video needs to
start and end during the slide show.
2023-04-17 21:27:50 -05:00
Chris Cochrun
90f551edff attempting to modernize the VideoEditor.qml 2023-04-17 17:08:33 -05:00
Chris Cochrun
1a9b7b0bd7 using setup instead of test_database 2023-04-17 11:30:26 -05:00
Chris Cochrun
860469a3d1 use setup instead of test_database 2023-04-17 11:29:19 -05:00
Chris Cochrun
75d959f541 updating todo.org 2023-04-17 11:28:18 -05:00
Chris Cochrun
b037f1a91c initial ability to update properties of video_model.rs
I've made it possible to update the properties of the videos. I'll
need to make sure title, start and end times, and paths all work as
well. Let's make videos really good and then move on to images and
presentations.
2023-04-17 11:22:07 -05:00
Chris Cochrun
2311af3b46 initial adding of song_model.rs 2023-04-16 15:09:45 -05:00
Chris Cochrun
9d05a7e655 using video_model.rs and presentation_model.rs
These are hopefully a better alternative than the cpp counterparts
after some more time
2023-04-16 15:09:09 -05:00
Chris Cochrun
020e812bce some tweaks to the models in rust 2023-04-15 14:37:53 -05:00
Chris Cochrun
ab168af16f remove unnecessary include 2023-04-15 14:37:43 -05:00
Chris Cochrun
c5a94f6d4d update todo.org 2023-04-15 14:37:37 -05:00
Chris Cochrun
343e1ed0bc bug: fixed service_item_id changes
Recorded a dest_count of the destination_index slides in order to
appropriately change the right service_item_id's.
2023-04-15 06:43:30 -05:00
Chris Cochrun
e11e454062 bug: fixed slides moving in both directions
Slides move fine, but the service_item_id is still wrong when moving
an item down.
2023-04-15 06:05:13 -05:00
Chris Cochrun
a8552f272d grrrrr 2023-04-14 17:08:37 -05:00
Chris Cochrun
21e34a1c94 attempting to switch to a rotate method of moving slides 2023-04-14 14:27:50 -05:00
Chris Cochrun
f2b1fdd4a6 updating TODO.org 2023-04-14 08:56:45 -05:00
Chris Cochrun
0db19df3ea some tweaks to try and get the slides to move properly...not right 2023-04-14 08:54:00 -05:00
Chris Cochrun
2c68aa8706 some metadata changes 2023-04-14 08:53:52 -05:00
Chris Cochrun
2bed897262 idk what I did.. someone help.. 2023-04-13 15:20:23 -05:00
Chris Cochrun
ac5bd950c7 removing annoying debug info 2023-04-13 15:20:09 -05:00