Commit graph

1008 commits

Author SHA1 Message Date
Chris Cochrun
82466ee6fc bug: fixing some adding and updating issues 2023-05-17 16:38:22 -05:00
Chris Cochrun
f084e6d88d better icon for videos 2023-05-17 11:19:44 -05:00
Chris Cochrun
c0942665a7 todo 2023-05-17 11:14:11 -05:00
Chris Cochrun
4dc4036dda bug: fixing insertion bugs of many items
Videos, images, and presentations were all look at the wrong index. I
needed to look for the count - 1 in order to find the right index from
the model when switching to the editMode
2023-05-17 11:09:21 -05:00
Chris Cochrun
085ede2e04 todo 2023-05-17 10:16:59 -05:00
Chris Cochrun
8efabbdf68 maintenance: adding all models as types for direct access
If each model is registered as a QML type, we can pass the model back
to QML from each proxy model to have more direct access to it. This
enables us to use it's functions and properties better.
2023-05-17 10:11:33 -05:00
Chris Cochrun
3a3c4f9c5c maintenance: cleanup of switching to editMode 2023-05-17 10:11:06 -05:00
Chris Cochrun
a8eec1dee6 condition around getting a song 2023-05-16 21:33:03 -05:00
Chris Cochrun
0288513ba0 a much more organized TODO.org 2023-05-16 21:32:53 -05:00
Chris Cochrun
eb899a9965 tweaks to making songs work 2023-05-16 15:31:09 -05:00
Chris Cochrun
8af7c9bb6d need to change the way page_count is made in presentations 2023-05-16 13:27:53 -05:00
Chris Cochrun
b234795a36 trying to add a way for rust to find number of slides in reveal.js 2023-05-16 09:55:26 -05:00
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
5f2f2a90a2 spelling 2023-05-01 06:43:45 -05:00
Chris Cochrun
a7fefcf29d update todo.org 2023-05-01 06:23:57 -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
dd1ea7454e switching to QGuiApplication
This will help us out by making it less connected to QWidgets and
better for pure QML applications.
2023-04-28 17:05:56 -05:00
Chris Cochrun
fc3042d4d5 tweaks for figuring out windows 2023-04-28 12:12:14 -05:00
Chris Cochrun
df4252e83f add info about windows 2023-04-28 12:11:37 -05:00
Chris Cochrun
a4b3b2256b moving away from cargo2nix as I wasn't using it
May come back to cargo2nix instead, but for now I find this simpler
2023-04-28 12:08:07 -05:00
Chris Cochrun
a7e3cfa39f qml webengine is running
I'll need to figure out the best way to show the html slideshow later
but it's running and can accept html.
2023-04-28 05:46:02 -05:00
Chris Cochrun
c1711f231b Trying to fix adding multiple files 2023-04-27 14:18:43 -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
d8a7888643 updating todo.org 2023-04-26 06:29:36 -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
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