Daniel Schulte
bca774ea2e
Make Channel::save_user_flags const, remove extra Video ctor calls
2021-07-18 23:58:33 +02:00
Daniel Schulte
02519840a6
Introduce ChannelFilter, use it for "All unwatched" virtual channel
2021-07-18 23:57:44 +02:00
Daniel Schulte
0ef7eba6db
Add ability to rename user flags
2021-07-18 23:27:20 +02:00
Daniel Schulte
65cf92298d
Add CHANGELOG.md, update COPYING
2021-07-18 16:52:15 +02:00
Daniel Schulte
eb740f0a8a
Format meson.build
2021-07-18 16:52:12 +02:00
Daniel Schulte
8e7ea28da6
Add database migration for user flags and video publish date
2021-07-18 16:41:36 +02:00
Daniel Schulte
2d1e42ea33
Misc fixes and optimizations (mostly suggestions by clang-tidy)
2021-07-18 16:41:19 +02:00
Daniel Schulte
3ffd1776a0
Re-enable the video information dialog (open with enter or the space bar)
2021-07-18 16:40:25 +02:00
Daniel Schulte
17b8727f62
Use actual video publication date if availiable
...
This commit add usage of the video publication date in addition to the
"Added to playlist" date that was used up to this point. This improves
the video list behavior for channels which upload videos and add them to
the playlists a while before the actual publication date. Before these
published, but old in the playlist videos would show up at their upload
date instead of the publication date which is the relevant one for this
application. The "added to playlist" date is still recorded and being kept.
2021-07-18 16:39:32 +02:00
Daniel Schulte
b77cd9c227
Add support for setting user defined flags per channel
2021-07-18 16:11:51 +02:00
Daniel Schulte
697d09c635
README.md: Fix typos
2021-04-06 17:07:31 +02:00
Daniel Schulte
97f252ce28
Use correct variable type when getting HTTP response code from cURL
2021-04-06 16:42:35 +02:00
Daniel Schulte
c611b70567
Fix crash when pressing backspace in a lineedit at pos 0 with chars left
2021-01-06 20:46:00 +01:00
Daniel Schulte
00281a1a0d
Add Qt5/KDE based "application host" (systray icon, native notifications)
2020-12-21 00:00:01 +01:00
Daniel Schulte
b8bc284c8d
Formatting
2020-12-16 19:56:50 +01:00
Daniel Schulte
fdc597c8d3
Redraw after running auto channel refresh
2020-12-16 19:50:16 +01:00
Daniel Schulte
9ae8dff7d9
Move almost all of main.cpp to application.cpp and add standalone yttui.cpp
2020-12-16 19:41:58 +01:00
Daniel Schulte
507c66bf04
Split TUI init code and prepare for embedded application version
2020-12-16 19:38:31 +01:00
Daniel Schulte
5c43b08b03
Show video channel name column when viewing virtual channels
2020-12-06 19:40:10 +01:00
Daniel Schulte
c3bb1156b5
Ignore virtual channels for notifications
2020-12-04 18:05:59 +01:00
Daniel Schulte
b272f64b2d
Don't crash on API errors while refreshing a channel
2020-12-04 09:01:15 +01:00
Daniel Schulte
d1cdf1eee4
Store next refresh interval after calculating the new value
2020-12-03 09:19:34 +01:00
Daniel Schulte
c1e56f4c14
Clarify README.md regarding configuration file format
2020-12-02 23:24:51 +01:00
Daniel Schulte
1502d70cc9
Add auto refresh support
2020-12-02 23:13:57 +01:00
Daniel Schulte
89f7d320b0
Add support for timeouts in tp_wait_for_event
2020-12-02 23:06:42 +01:00
Daniel Schulte
d4ff88ab17
Return an empty channel object if there is no pageInfo item
...
This usually happens if there are API errors
2020-12-02 22:55:49 +01:00
Daniel Schulte
a6fa67bf5a
Show a message box when parsing the YT API response fails
2020-12-02 21:11:44 +01:00
Daniel Schulte
c41d8f7157
Add wrapfile to fetch get the nlohmann_json library when not installed
2020-12-01 23:23:38 +01:00
Daniel Schulte
a557165850
Report JSON parsing errors inside the application
2020-12-01 23:20:57 +01:00
Daniel Schulte
1d06834848
Allow the user to get notified on new videos
2020-12-01 23:20:10 +01:00
Daniel Schulte
6081b9e542
Factor out config string list reading into a separate function
2020-12-01 22:56:48 +01:00
Daniel Schulte
0f777ef139
Return number of new (unwatched) videos when fetching updates
2020-12-01 20:37:08 +01:00
Daniel Schulte
da84ddce7b
Move process launching (and argument substitution) into separate function
2020-12-01 20:36:14 +01:00
Daniel Schulte
1be6d1ad29
meson.build: Specify minimum required dependency versions
2020-11-28 15:42:31 +01:00
Daniel Schulte
1ca53d1491
Add license
2020-11-28 15:40:46 +01:00
Daniel Schulte
4e0bc327ae
Update .gitignore
2020-11-28 15:12:16 +01:00
Daniel Schulte
fbf41bf142
Disable action to show video description for now
2020-11-28 15:09:53 +01:00
Daniel Schulte
fb9156d632
Use meson/ninja to build instead of qmake
2020-11-28 15:08:28 +01:00
Daniel Schulte
539e51ab0f
Remove references to prerelease termpaint distribution and use pkg-config
2020-11-28 10:49:40 +01:00
Daniel Schulte
88bd2300a9
Update README wording regarding dependencies
2020-11-27 00:33:23 +01:00
Daniel Schulte
b92763b216
Implement a better text wrapping algorithm
2020-11-27 00:32:10 +01:00
Daniel Schulte
eead85d9be
README: Fix filename of the example configuration file
2020-11-26 20:26:22 +01:00
Daniel Schulte
f2a1e8dbdd
Use a diffrent checkmark in the README and finish a sentence
2020-11-26 20:25:09 +01:00
Daniel Schulte
577e0d076d
Add README.md
2020-11-26 20:23:35 +01:00
Daniel Schulte
00d0e6946b
Don't explicitly store the video count in the channel object anymore
2020-11-26 19:44:37 +01:00
Daniel Schulte
fa4fec5f81
Look for configuration file next to the executable not in CWD
2020-11-26 19:41:48 +01:00
Daniel Schulte
a4b59ddb86
Clean up formatting/naming
2020-11-26 19:40:39 +01:00
Daniel Schulte
806e45fc5c
Show configuration file location if the API key isn't specified
2020-11-26 19:40:11 +01:00
Daniel Schulte
9e50c06ceb
Change default database location and name
2020-11-26 19:38:00 +01:00
Daniel Schulte
b4c4fb75c0
Add watchCommand config option
...
watchCommand is specified as a list of strings. The first entry is the
application to run. The rest are arguments. Arguments don't need to be
quoted as the shell is not involved in running the command.
"{{vid}}" will be replaced with the Id of the video to watch.
The default command is still to call xdg-open with the YT URL
2020-11-26 19:30:26 +01:00