Comments (8)
Yep that fixed it
from memento.
Try this patch and tell me if it fixes it.
diff --git a/src/gui/mpvadapter.cpp b/src/gui/mpvadapter.cpp
index cff4130..7794d03 100644
--- a/src/gui/mpvadapter.cpp
+++ b/src/gui/mpvadapter.cpp
@@ -913,6 +913,7 @@ QString MpvAdapter::tempAudioClip(
NULL
};
+ QByteArray configDir = DirectoryUtils::getConfigDir().toUtf8();
char *script_opts = NULL;
mpv_event *event = NULL;
mpv_handle *enc_h = mpv_create();
@@ -929,7 +930,9 @@ QString MpvAdapter::tempAudioClip(
mpv_set_option_string(enc_h, "sid", "no");
mpv_set_option_string(enc_h, "secondary-sid", "no");
mpv_set_option_string(enc_h, "ytdl", "yes");
+ mpv_set_option_string(enc_h, "config-dir", configDir);
mpv_set_option_string(enc_h, "config", "no");
+ mpv_set_option_string(enc_h, "load-scripts", "yes");
mpv_set_option_string(enc_h, "o", filename);
if (normalize)
{
from memento.
Nope still am getting the same issue
from memento.
Try this one.
diff --git a/src/gui/mpvadapter.cpp b/src/gui/mpvadapter.cpp
index cff4130..8e93c65 100644
--- a/src/gui/mpvadapter.cpp
+++ b/src/gui/mpvadapter.cpp
@@ -521,7 +521,7 @@ int64_t MpvAdapter::getSecondarySubtitleTrack() const
QString MpvAdapter::getPath() const
{
char *path = NULL;
- if (mpv_get_property(m_handle, "path", MPV_FORMAT_STRING, &path) < 0)
+ if (mpv_get_property(m_handle, "stream-open-filename", MPV_FORMAT_STRING, &path) < 0)
{
qDebug() << "Could not get mpv path property";
return "";
from memento.
I'm getting this issue once again while on the latest branch
from memento.
Considering nothing on Memento's end has changed, I'd assume that either zoro, yt-dlp, or mpv changed something. Do zoro videos load? What version of mpv are you using? What version of yt-dlp are you using?
from memento.
Considering nothing on Memento's end has changed, I'd assume that either zoro, yt-dlp, or mpv changed something. Do zoro videos load? What version of mpv are you using? What version of yt-dlp are you using?
Yeah thats true I tested it out with zoro script and it worked (both on latest and other commit).
The issue only arises when I used this animelon script instead. The zoro script worked fine but for whatever reason when using animelon it fails to populate. Videos and subtitles (seems) to load fine its just when populating into anki.
However it seems to load the videos in the exact same way, so I'm not sure whats going on
Versions:
❯ mpv --version
mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
built on Sat Jan 28 04:49:47 2023
FFmpeg library versions:
libavutil 57.28.100
libavcodec 59.37.100
libavformat 59.27.100
libswscale 6.7.100
libavfilter 8.44.100
libswresample 4.7.100
FFmpeg version: 5.1.2
❯ yt-dlp --version
2023.03.04
from memento.
If the Zoro script still works and the Animelon script doesn't, this issue is different. Open a new issue so I can track it.
from memento.
Related Issues (20)
- Subtitle search only works when media is paused HOT 3
- [Feature request] Export only lowest frequency value HOT 1
- Memento fills empty fields with html HOT 1
- Play audio doesn't work HOT 1
- Can't open on MAC M3 Arm HOT 5
- what settings are needed for YouTube links to work? HOT 4
- Kanji Stroke Order font HOT 1
- [Feature Request] Glossary Selection Marker HOT 12
- [Feature Request] Subtitle Delay HOT 3
- MeCab UniDic support HOT 3
- QT6 migration causes subtitle position to shift when on screen controller is shown/hidden HOT 1
- Lack of Styling on Anki Cards Added via Memento HOT 4
- jp mining note support HOT 2
- Setting secondary_sub_visibility to 'auto' within the mpvacious plugin does not work HOT 2
- Any configuration guide? HOT 1
- Jellyfin mpv shim? HOT 1
- Video does not play HOT 4
- Improve popup dictionary styling HOT 3
- Partially visible video when using display scaling HOT 4
- Auto-resume video after finishing hovering over words? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memento.