I would like to know the channel name for the currently playing video.
Because it would be nice to display some more information about the video underneath the thumbnail.
Description, views and so on.
right now i am parsing info from a search on YT from the title alone.
But since a lot of the same songs are uploaded with the same title, i rarely get the info from the right video.
So f i had the channel name i could search/parse:
Artist - Song Channel name
Instead of just:
Artist - Song
Then the top video on the search page would always be the correct one.
Pleease add this small feature.
EDIT 11/12-18
With the artist measure together with the title i can now do a search for the song and get the correct link for parsing more information.
Code is as follows: (Not polished yet, just raw working code)
Code: Select all
[mWnpTitle]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Title
Substitute="":"Loading"
OnChangeAction=[!CommandMeasure mWnpGetLink "Update"]
[mWnpArtist]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Artist
Substitute="":"N/A"
[mWnpGetLinkSpaces]
Measure=String
String=[mWnpArtist] [mWnpTitle]
DynamicVariables=1
Substitute=" ":"+"
[mWnpGetLink]
Measure=Plugin
Plugin=WebParser
URL=https://www.youtube.com/results?search_query=[&mWnpGetLinkSpaces]
RegExp=(?siU)item-id="(.*)"
StringIndex=1
UpdateRate=3600
DynamicVariables=1