Age | Commit message (Collapse) | Author |
|
There was an issue that using different flags wouldn't kill current
playing song.
If user is using the mpv which is the default, this should not be an
issue any more.
|
|
Define & apply `yeetube--mpv-socket`
|
|
Change yeetube-player to use (excutable-find "mpv") and adjust
yeetube-toggle functions
This probably fixes issues like #3
|
|
Seperate the creation of *Yeetube Search* buffer to an "isolated"
function.
Making yeetube-search less complicated.
|
|
Add yeetube--currently-playing variable
Add yeetube--get-title function that gets the context at point
Use yeetube--get-title with yeetube-play & add currenlty playing
info in yeetube-insert-info
|
|
|
|
- Fix integration between yeetube-search and yeetube-results-limit
yeetube-search does not "fail" anymore if yeetube-search does not find enough
video-ids to satisfy yeetube-results-limit.
yeetube-results-limit is now just a limit just like it should have
been from the start.
|
|
Since we don't have to worry about invidious instances that only display 10
results anymore.
|
|
Previously the while loop would run until there are enough video-ids
to satisfy yeetube-results-limit(which was a stupid design by me).
Change to run loop while video-ids < limit & if search-forward
VIDEO-ID succeeds.
This also makes the previous error messages unnecessary.
|
|
|
|
- fix issues with titles
- Use socket for mpv to allow for pause/play functionality
- Add error handlers/warnings
|
|
Who reads the manual anyway?
|
|
Change it so it takes FORMAT as an argument to make it easier to test
|
|
Change to check yeetube-query-url.
|
|
yeetube-toggle functions:
- Throw error to have mpv installed and set it to the default value if
not already done so
- toggle-video just checks if it's not nil(meaning it's installed
assuming user has not changed default value), making it easier to
reset it
yeetube-search
- Throw condition errors if user has set yeetube-search-limits too
high.
|
|
|
|
|
|
|
|
if user plays with --no-video flag and then opens a new url without
--no-video flag, it will not kill previous session.
Not sure if I should fix this with killing all instances of mpv or
just let it be as is.
|
|
Add yeetube-toggle-pause-mpv & yeetube-toggle-video-mpv
|
|
|
|
Play/pause mpv
|
|
Toggle between video on/off for mpv player
|
|
Change this to enable remote control
|
|
rename camel-case variables -> proper lisp names using dashes
|
|
Add new variable: is-youtube?
removing all the repetitive if statements
Renames: rename videoIds videoTitles etc -> video-titles video-ids
Style code
|
|
|
|
Opens documentation.org
|
|
Some invidious instances don't retrieve enough results for certain
queries.
It's recommended to keep it as 10 if you are using invidious.
|
|
Add "duck-tape" function to fix titles that keep "unicode" ='= and ="=
|
|
invidious search does not auto translates spaces to "+".
This fixes the issue ensuring every space in search QUERY is replaced
with +
|
|
|
|
- Add invidious instances support
- Make interface more usable & customizable
|
|
|
|
|
|
Check if url contains localhost, then ask for port
|
|
|
|
Change URL interactively
Add kbindings, update info & variable watchers as well.
|
|
|
|
|
|
Use yeetube-check-if-youtube to seperate searching process.
Adjust yeetube-query-url since both invidious and youtube can use
URL/search?q=
Everything else remains the same since they are almost identical.
|
|
This was used in yeetube-search.
Keeping them seperate to make debugging easier & make it less
spaghetti like
|
|
Check if it's youtube
Will be used to differentiate between invidious/youtube
|
|
This marks version v0.0.1 making it a "usable" package
|
|
|
|
Add yeetube-change-download-audio-format keybinding, making it easier
to change it by default.
|
|
Use push-mark and let a variable for buffer to always switch.
Replace kill-visual-line with kill-region to not mess with the
kill-ring
|
|
Create an interactive function to change download audio format &
watch for its value using variable watchers using yeetube-update-info
|
|
|
|
Add _ for 'operation' and 'where'
Change 'string-equal to 'equal(personal preference)
|