Chris Cochrun
58652eafa1
feat: song_model.rs now has a get_lyric_list
...
Now this being made in rust, the rest is much easier.
2023-05-15 06:32:22 -05:00
Chris Cochrun
184ad4fe57
using song_model now
2023-05-12 17:00:23 -05:00
Chris Cochrun
68b30877ed
fixing more of pres model and setting up song model
2023-05-04 09:30:03 -05:00
Chris Cochrun
c33b5af588
basic implementation of having reveal.js slides working
...
There is still a lot of work needed to be done here, but the basics
are laid out.
2023-05-01 06:20:45 -05:00
Chris Cochrun
b05af23ffa
feat: reveal.js presentations are viewable in editor
...
I have gotten reveal.js presentations to be viewable. I'll still need
to work with how to present them, and fix the presenter piece as well,
but for now, it works.
2023-04-29 07:13:04 -05:00
Chris Cochrun
e8b042df54
Preparing to add html as a presentation option
2023-04-27 14:17:59 -05:00
Chris Cochrun
ff680b9549
prepping song_model
...
More todo yet, but the basics seem to be there.
2023-04-26 06:29:47 -05:00
Chris Cochrun
c02336b806
tweaks to service_item_model to be from rust... not finished
2023-04-25 09:24:01 -05:00
Chris Cochrun
1ca9ab5fc4
switching to thumbnails from rust
2023-04-25 09:23:49 -05:00
Chris Cochrun
30e552aa3d
feature: thumbnail based off 1/5 of the duration of video
...
Now we grab the duration threw ffprobe and get the thumbnail from 1/5
of the duration.
2023-04-23 07:07:53 -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
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
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
8c89c49f4a
cleanup lib.rs
2023-04-18 11:15:48 -05:00
Chris Cochrun
29607d954a
adding video times to service item for future
2023-04-18 06:29:08 -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
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
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
0db19df3ea
some tweaks to try and get the slides to move properly...not right
2023-04-14 08:54:00 -05:00
Chris Cochrun
2bed897262
idk what I did.. someone help..
2023-04-13 15:20:23 -05:00
Chris Cochrun
cf20d1aeb7
getting closer to working move function
2023-04-13 15:09:27 -05:00
Chris Cochrun
cf20c94c17
cleaner version by using filters
2023-04-13 09:38:21 -05:00
Chris Cochrun
a2cd7294af
bug: break instead of return
2023-04-13 09:37:58 -05:00
Chris Cochrun
9da9859411
using filter iterator functions instead of if else blocks
2023-04-13 09:19:49 -05:00
Chris Cochrun
ade09bb4e8
user iterater instead of hand made loop
2023-04-13 05:29:22 -05:00
Chris Cochrun
d9dbefcbe5
setup move_item_from_service in slide_model
...
I'll need to keep working on this but a basic sorta working function
of moving the order of items in the Rust model is here.
2023-04-12 19:01:50 -05:00
Chris Cochrun
b2a87b76b6
removing unnecessary functions
2023-04-11 16:47:51 -05:00
Chris Cochrun
5470a5c0a7
removing slides properly
...
By reversing order I'm removing the slides correctly now.
2023-04-11 15:18:38 -05:00
Chris Cochrun
3f87d540e1
incorrectly remove slides
2023-04-11 09:39:02 -05:00
Chris Cochrun
438af89034
skeleton for the service_item_model.rs file
2023-04-11 06:22:50 -05:00
Chris Cochrun
f8ac7feea0
adding the removal of items work on the slides
...
This isn't finished yet, but the core is there. I have yet to fully
remove slides after a service_item is removed.
2023-04-11 06:22:50 -05:00
Chris Cochrun
7a36b70a6d
remove come cruft
2023-04-11 06:22:50 -05:00
Chris Cochrun
f5c4261726
add: update_title in image_model.rs
2023-04-07 07:18:37 -05:00
Chris Cochrun
d3dbc23e60
fix Video struct missing fields
2023-04-07 06:36:39 -05:00
Chris Cochrun
4f58d6e1fd
adding basic presentation_model.rs
2023-04-06 20:44:04 -05:00
Chris Cochrun
a71ead411f
be more clear in variable names in image_model
2023-04-06 20:40:21 -05:00
Chris Cochrun
7ac29e28cd
remove empty stuff in image_model
2023-04-06 20:39:44 -05:00
Chris Cochrun
e83cc71725
be more clear in variable names
2023-04-06 20:39:06 -05:00