Extended M3U Playlists: Reading song metadata from MPD's name tag.#103
Open
tkapias wants to merge 1 commit into
Open
Extended M3U Playlists: Reading song metadata from MPD's name tag.#103tkapias wants to merge 1 commit into
tkapias wants to merge 1 commit into
Conversation
Author
|
I named it "Extended M3U Playlists" as in my example and my own usage, but it should work with other playlists formats fetched by MPD because vimpc get's the data from MPD. |
Author
|
I have noted 2 more detail to improve after PR:
But it's still better than without PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request is just an updated copy of @Rio6's PR #93 and related to issue #63.
%Nto%P.&&to||like commented by @Rio6 in his PR, it needs some review.Introduction
My mpd.conf contains the following definitions:
In the playlist_directory I have some playlist files in Extended M3U format.
~/.config/mpd/test.m3u):#EXTM3U,#EXTINFand the URL or filepath are of interest for this PR.But, vimpc does not fetch the information from
EXTINFeven if MPD does provide it.Solution
This PR introduces 2 new tags (name and comment) and modify the songformat.
Differences after this PR:
EXTINF. It's updated from the stream when playing.EXTINF.EXTINFname, and then the metadata fetched from the stream.EXTINF.