IPB

Welcome Guest ( Log In | Register )

11 Pages V  « < 9 10 11  
Reply to this topicStart new topic
> [WS] Import lyrics from websites, web sources scripts
Paul98
post Feb 6 2016, 15:08
Post #151


Member


Group: Full Members
Posts: 7
Joined: 6-February 16
Member No.: 21685
Mp3tag Version: 2.70



Good day.

I use this script:
Attached File  Lyrics_GENIUS.src ( 1.2K ) Number of downloads: 354


My music collection primarily consists of hip-hop or rap songs, so i use this script and therefore genius.com because there are almost all of the lyrics to my songs.

Following problem:
Example:
I want to import the lyrics of "Deep Cover (feat Snoop Doggy Dogg.) - Dr Dre"
Now if I want to import the lyricswith this script, I have the problem.

Now the Scipt search for "Dr. Dre-Deep Cover (Feat. Snoop Doggy Dogg)-lyrics".

But now I have to remove manually "(Feat. Snoop Doggy Dogg)"because otherwise no result is found.

Wrong Search "Dr. Dre-Deep Cover (Feat. Snoop Doggy Dogg)-lyrics"

It would be correct, "Dr. Dre-Deep Cover-lyrics"



How do I have to change the script so it automatically remove the brackets and the content in the brackets (the featuring) ?

This post has been edited by Paul98: Feb 6 2016, 15:10
Go to the top of the page
 
+Quote Post
poster
post Feb 7 2016, 09:09
Post #152


Member


Group: Full Members
Posts: 1387
Joined: 22-March 09
Member No.: 9241
Mp3tag Version: 2.84



ZITAT(Paul98 @ Feb 6 2016, 15:08) *
How do I have to change the script so it automatically remove the brackets and the content in the brackets (the featuring) ?

You have to change the row:
[SearchBy]=$caps(%artist%)-$replace($caps(%title%,'(' ),&,%%26,Feat)-lyrics

to your needs. As the search string depends on the values of your tags ARTIST and TITLE, what you have to change depends on how these both tags are filled.

This post has been edited by poster: Feb 7 2016, 09:10
Go to the top of the page
 
+Quote Post
DetlevD
post Feb 7 2016, 10:38
Post #153


Member


Group: Full Members
Posts: 6637
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.84



QUOTE (Paul98 @ Feb 6 2016, 15:08) *
... remove manually "(Feat. Snoop Doggy Dogg)" because otherwise no result is found. ... How do I have to change the script so it automatically remove the brackets and the content in the brackets (the featuring) ?

Because of the same question in the german forum, you can find additional answers over there ...
https://forums.mp3tag.de/index.php?showtopic=20811

DD.20160207.1038.CET


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Mihawk90
post Mar 12 2016, 15:42
Post #154


Member


Group: Full Members
Posts: 20
Joined: 19-February 08
From: Leipzig, Germany
Member No.: 6509
Mp3tag Version: 2.80



I don't know if it's something that should be added to the lyricWiki script by default, but I had a little issue with the ’ sign in titles (imported from MusicBrainz cause it's the convention there...), so I added another replace in Line 17:

from
QUELLTEXT
[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F'),( '')(\l),$1\u$2)


to
QUELLTEXT
[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F',’,$char(39)),( '')(\l),$1\u$2)


Maybe it helps if anyone else is having the same issue smile.gif

This post has been edited by Mihawk90: Mar 12 2016, 15:43
Go to the top of the page
 
+Quote Post
DetlevD
post Mar 12 2016, 15:55
Post #155


Member


Group: Full Members
Posts: 6637
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.84



QUOTE (Mihawk90 @ Mar 12 2016, 15:42) *
... I had a little issue with the ’ sign in titles (imported from MusicBrainz cause it's the convention there...), so I added another replace in Line 17:
from
[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F'),( '')(\l),$1\u$2) ...

It seems better to be read and understand ...
when writing the problematic character ’ as $char(146) ...

[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F',$char(146),$char(39)),( '')(\l),$1\u$2)
... or ...
[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),'&','%26','?','%3F','’','%27'),( '')(\l),$1\u$2)

... hopefully without colliding with the apostrophe, which is used as the string delimiter within Mp3tag.

DD.20160312.1616.CET

This post has been edited by DetlevD: Mar 12 2016, 16:16


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Mihawk90
post Mar 12 2016, 23:35
Post #156


Member


Group: Full Members
Posts: 20
Joined: 19-February 08
From: Leipzig, Germany
Member No.: 6509
Mp3tag Version: 2.80



Yeah, I used $char(39) because I had some issues with the regular apostrophe. Might as well use the $char function for the first character too, good point.
Go to the top of the page
 
+Quote Post
jonathan99
post Apr 23 2016, 20:31
Post #157


Member


Group: Members
Posts: 1
Joined: 12-January 16
Member No.: 21595
Mp3tag Version: 2.69



The LyricWiki did not work anymore for me.
Looks like the <script> tag is gone.
I made some adjustments which works for me.

This post has been edited by jonathan99: Apr 23 2016, 21:06
Attached File(s)
Attached File  LyricWiki.src ( 1.39K ) Number of downloads: 348
 
Go to the top of the page
 
+Quote Post
marjiea1
post May 5 2016, 07:29
Post #158


Member


Group: Members
Posts: 1
Joined: 13-March 15
Member No.: 20556
Mp3tag Version: 2.68



Update for MetroLyrics

Won't work for multiple artist names, you will have to manually remove one and any separators in the query box that comes up before you search.



Attached File  Lyrics_metrolyrics.src ( 1.06K ) Number of downloads: 307
Go to the top of the page
 
+Quote Post
dweller
post Jun 9 2016, 20:35
Post #159


Member


Group: Members
Posts: 2
Joined: 10-September 13
Member No.: 18363
Mp3tag Version: 2.57



Is there available script or anyone willing/able to make script for AZlyrics.com or sing365.com?
Go to the top of the page
 
+Quote Post
Victor Kostas
post Aug 24 2016, 23:17
Post #160


Member


Group: Full Members
Posts: 189
Joined: 2-March 08
From: Belgium
Member No.: 6578
Mp3tag Version: 2.80c



QUOTE (dweller @ Jun 9 2016, 21:35) *
Is there available script or anyone willing/able to make script for AZlyrics.com or sing365.com?

Here it is AZlyrics for you. Fresh based on dano's scripts.
Attached File(s)
Attached File  Lyrics_AZlyrics.src ( 1.28K ) Number of downloads: 311
 
Go to the top of the page
 
+Quote Post
l0bzt3r
post Oct 21 2016, 16:39
Post #161


Member


Group: Members
Posts: 1
Joined: 21-October 16
Member No.: 22636
Mp3tag Version: 2.79



QUOTE (Kien @ Jan 15 2016, 06:39) *
I have updated the code for Genius.com , replace the <div class="lyrics_container"> in the original script (previously posted by @tbum20) to <div class="song_body"> and seems like it's good to go

[attachment=6395:Lyrics_GENIUS.src]

I have updated the code for Genius.com , replace the "<div class="song_body">" in the original script (previously posted by @Kien) to "<div class="song_body-lyrics">".
Added removal content in div avoid-selection class.
Tested working on 2016-10-21.
Attached File(s)
Attached File  Lyric_s__Genius.com.src ( 1.45K ) Number of downloads: 265
 
Go to the top of the page
 
+Quote Post
Alessander
post Aug 5 2017, 09:52
Post #162


Member


Group: Members
Posts: 1
Joined: 5-August 17
Member No.: 23736
Mp3tag Version: 2.79



Can someone make a script for Musixmatch ?

like this page

https://www.musixmatch.com/lyrics/Cheka/Querida

It has many songs in many different languages tongue.gif
Go to the top of the page
 
+Quote Post

11 Pages V  « < 9 10 11
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2017 - 15:29