Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Use file name / foder name for unknown tag retrieval.#541

Open
heimoshuiyu wants to merge2 commits intosentriz:master
base:master
Choose a base branch
Loading
fromheimoshuiyu:must-title

Conversation

heimoshuiyu
Copy link

When taglib cannot retrieve the title of the media or the title of the album, use the filename as the track name and the folder name as the album name.

I have a lot of music downloaded from YouTube, which doesn't have recognizable media metadata. After scanning with gonic, all of them turn into empty titles and unknown albums, making it difficult for me to distinguish the music. For example, like this:

Screenshot_20240925_150357

These pieces of music without metadata should be manually managed by the user using filenames and folders. In this way, using the filename and folder as the title and album name is reasonable. For example, like this: (the file is namedaino.opus under foldermiku)

Screenshot_20240925_150148

When taglib get empty or null title from file/album, use file name orfolder name as the tag_title field. It could be confuse to user, but atleaset it is better than tracks/albums can't be search in ID3 mode API.
@sentriz
Copy link
Owner

interesting, i think i'd need to weigh up the pros and cons here. this is what the subsonic "browse by folder" mode is for. have you tried that?

@heimoshuiyu
Copy link
Author

heimoshuiyu commentedSep 25, 2024
edited
Loading

Yes, I know. However, the PC clientSonixd that I use does not support this mode. TheUltrasonic client on Android can choose this mode. The "browser by folder" effect is like this (without this PR):

ultrasonic

I don't think this PR has any drawbacks. It supplements the missing song information in ID3 mode, turning blank titles and Unknown Album into understandable information. At the same time, it does not change the behavior in "browser by folder" mode. I have been using it for two months and think this is a very good improvement.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@heimoshuiyu@sentriz

[8]ページ先頭

©2009-2025 Movatter.jp