[GH-ISSUE #45] Resolve Relative Output Paths for ffmpeg #42

Closed
opened 2026-02-27 15:48:02 +03:00 by kerem · 0 comments
Owner

Originally created by @SmilerRyan on GitHub (Aug 13, 2022).
Original GitHub issue: https://github.com/Rafiuth/Soggfy/issues/45

Since soggfy can be treated as a portable application, it would be nice to save files to a relative path.
When the application launches, i can enter "../Downloads" and jpg/mp4/txt/lrc files export just fine.

It does however seem like ffmpeg (might) not allow for relative paths in the file paths provided.
The Output settings I've tried are the Original OGG and MP3 320K formats, neither get saved.

Would it be possible to have soggfy resolve relative paths to full paths for just ffmpeg?
I've checked the arguments, and the only path that's not resolved is the output path.

Here's an example error I get in the log file for each song it tried to download:

[ERR] Failed to save track Various Artists - Entropy: FFmpeg exited with code 1. Check log for details.
[DBG] Requesting metadata for playback 5814f539187177b87c63290acb4db0f9...
[INF] Saving track Jim Yosef - Passion
[DBG]   stream: playback_5814f539187177b87c63290acb4db0f9.dat
[DBG] [ffmpeg.exe]: ../Downloads/Jim Yosef - Passion.ogg: No such file or directory

And here's how my file structure looks like:

image

Originally created by @SmilerRyan on GitHub (Aug 13, 2022). Original GitHub issue: https://github.com/Rafiuth/Soggfy/issues/45 Since soggfy can be treated as a portable application, it would be nice to save files to a relative path. When the application launches, i can enter "../Downloads" and jpg/mp4/txt/lrc files export just fine. It does however seem like ffmpeg (might) not allow for relative paths in the file paths provided. The Output settings I've tried are the Original OGG and MP3 320K formats, neither get saved. Would it be possible to have soggfy resolve relative paths to full paths for just ffmpeg? I've checked the arguments, and the only path that's not resolved is the output path. Here's an example error I get in the log file for each song it tried to download: ``` [ERR] Failed to save track Various Artists - Entropy: FFmpeg exited with code 1. Check log for details. [DBG] Requesting metadata for playback 5814f539187177b87c63290acb4db0f9... [INF] Saving track Jim Yosef - Passion [DBG] stream: playback_5814f539187177b87c63290acb4db0f9.dat [DBG] [ffmpeg.exe]: ../Downloads/Jim Yosef - Passion.ogg: No such file or directory ``` And here's how my file structure looks like: ![image](https://user-images.githubusercontent.com/14893385/184466855-cc3bbd5c-cb02-4a9e-a2d6-f8232d346ce6.png)
kerem closed this issue 2026-02-27 15:48:02 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Soggfy#42
No description provided.