Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mayibongwe

Pages: 1 ... 41 42 4344 45 ... 70
631
Questions / Re: [Linux] Album covers not appearing after restarting
« on: September 27, 2022, 03:59:23 PM »
Hi venusor, welcome to the forum.

This probably won't fix it, but you can try resetting the artwork cache and rescanning the music files in Tools > Advanced.
If that doesn't work, you can try some of the other suggestions mentioned in the following threads:
If that won't do it as well, then it's probably a Linux issue as you suspect.

https://getmusicbee.com/forum/index.php?topic=27758.0
https://getmusicbee.com/forum/index.php?topic=25758.0
https://getmusicbee.com/forum/index.php?topic=24254.0

632
Bug Reports / Re: Preview script
« on: September 26, 2022, 05:15:19 PM »
I think they might be referring to the preview button in the virtual tag template editor.
Do you get the same error with every/any formula that you try out? (if it's just that one, post it here)
And in which tab or panel are you accessing the template editor from?

I myself have been lazy to report that the virtual tag template editor in the Now Playing configuration panel also produces an error upon clicking on preview.
And it appears to be the same as the one you got.


633
Questions / Re: How to set Album Art view on library?
« on: September 26, 2022, 04:23:17 PM »
Hello and welcome to the forum, sageroulade.
Change your display to the Album Covers view.


634
Plugins / Re: LyricsReloaded (Latest)
« on: September 25, 2022, 01:50:13 PM »
Could you make a tut about customizing the provider files? There are many sites that I want to try.
I'll try to come up with a more detailed explanation the coming weekend.
Let's have a look at this website: https://www.lyrics.com/
We'll be using the song How Do I Live by artist Trisha Yearwood as an example.
The lyrics for it are hosted here: https://www.lyrics.com/lyric/20949555/Trisha+Yearwood/How+Do+I+Live

Code
name: Lyrics
loader: search
name >> this is the provider name that will show up in Preferences / Tags (2) / Lyrics.
loader >> I've already explained in post #165 the different types of loaders, and the reason why we'll be working with the search loader for this website.

Code
variables:
    artist:
        type: artist
        filters:
        - lowercase
        - [replace, ' ', '%2B']

    title:
        type: title
        filters: artist
The variables section is optional. This is where we can format the tags (artist, title and album) received from MusicBee. If for instance, the website you are dealing with throws a 404 error whenever the url contains a period (.) , then you would have to remove/replace every occurrence of that character in your tags before the plugin can conduct the search - otherwise you would never get results for such songs.

For this provider, I have converted the artist and title tags into lower case (probably not necessary but it's just a habit of mine).
I have also replaced whitespaces with a %2B. This is absolutely necessary for this provider as you'll see in a moment.

Code
config:
    identity url: "https://www.google.com/search?q=lyrics.com+{title}+{artist}"
    identity pattern: ['(?<identity>https://www.lyrics.com/lyric/.*?/{artist}.*?)["&]', 's']
identity url >> the plugin will first conduct this search: https://www.google.com/search?q=lyrics.com+how%2Bdo%2Bi%2Blive+trisha%2Byearwood
Then on that webpage, it will look for the first url that matches the defined identity pattern.

In order to know the kind of pattern you have to construct, you'll have to inspect the source code of the webpage.
Don't know about other web browsers but in Chrome, I do that by pressing <Ctrl>+<U> and the resultant html page looks like this for the above google search:



At this point, I usually just copy all of that into Notepad++ as it supports regex searching which will be important in my testing.
So in all that clutter, the identity pattern will go and grab only this part:
Also note how the search would have failed had I not converted trisha yearwood into trisha%2Byearwood.



Code
lyrics url: ""
lyrics pattern: ['<pre id="lyric-body-text".*?>(?<lyrics>.*?)</pre>', 's']
So after the plugin has captured the content (identity) that I'm interested in, it'll go on to combine that with the lyrics url:
lyrics url >> I've left this part blank because we've already captured the entire url needed to take us to the lyrics webpage.

So the plugin actually interprets this lyrics url as <blank> + captured content, which equates to:
<blank> + https://www.lyrics.com/lyric/20949555/Trisha%2BYearwood/How%2BDo%2BI%2BLive

If we had only captured this part: 20949555/Trisha%2BYearwood/How%2BDo%2BI%2BLive
Then the yml would need to have << lyrics url: "https://www.lyrics.com/lyric/" >> so that the next conducted search is:
https://www.lyrics.com/lyric/ + 20949555/Trisha%2BYearwood/How%2BDo%2BI%2BLive

So now that we've finally gotten to our lyrics page, all that's left is to create another pattern which will only capture the lyric portion.
That's what the lyrics pattern is for. Same as the identity thingy, you'll have to inspect the page source and then formulate the necessary pattern.

Code
post-filters:
- strip_html
- utf8_encode
- entity_decode
- clean_spaces
- trim
The post-filters section is also optional.
When included, it serves the purpose of polishing and refining the captured lyrics right before the plugin can send them back to MusicBee.

635
Plugins / Re: LyricsReloaded (Latest)
« on: September 25, 2022, 10:32:52 AM »
Thanks sveakul. It's really nice knowing that I haven't butchered the great work that many people have put behind this project over the years.
We truly have <quick_wango> to thank for the manner in which he designed the plugin - granting users the ability to add any website they so desired was genius (pun intended).

636
Is there a program or an option in Musicbee itself to batch compress every image in every audio file down to a specific resolution?
Yes, there is an option in MusicBee to do so. But it only becomes available when performing a sync operation between your pc and a device.
In the device settings under Artwork Storage, you can tell MusicBee what resolution to embed the artwork at.

After doing the sync, you would have to retransfer (and overwrite) the device music files back to your pc originals, and then ensuring that you rescan all of them in MB afterwards.
(select all > right-click > send to > file rescan).

And all this is assuming you already have the original hi-res album covers stored somewhere else other than in the music files themselves before doing all this!
It'd be perfect if they were already stored along with your pc music files as cover.* or whatever naming syntax you've chosen for them.
But in case they aren't, then you'll first have to convert them to "organised copies" through a sync and using the "copy" options under the same Artwork Storage device settings.

All that would be left after rescanning your library is:
- going to your Preferences screen > Tags (1) > under artwork...edit list.
- choosing the naming template that your image files are stored as.
- then hitting "rescan artwork".

Try this on an album or two before working on the whole library.
And you said you have a backup of your library...which is good, in case things don't work out for whatever reason.

That's not a proper and straightforward "guide" as such, but it's how I personally would do it in MusicBee.
I'd also like to be corrected on anything I may be mistaken about in the steps I've provided (to what I think should do what you're asking).
Please also mention if there's a step you need clarity on before making an attempt.

637
Plugins / Re: LyricsReloaded (Latest)
« on: September 23, 2022, 04:25:42 PM »
Alright. It's cool, no worries.
In any case, the issue's been resolved.

638
Plugins / Re: LyricsReloaded (Latest)
« on: September 23, 2022, 02:23:54 PM »
Just for the record, I updated lyrics on 28 tracks this morning with Genius as the source, and not one of them had the reported "you might also like" in them.
I wonder if it's happening with specific geographic areas.
I think it's unlikely to have been a geographical issue.
I did a Genius test on two songs this morning and the line wasn't so easy to spot at first glance, but it was indeed appearing in both of them.
(and at different locations depending on the length of the lyrics as SkyZippr had mentioned).

If you had a second look, I'm sure you'd spot it somewhere. But in case it truly won't be there, please state one track from the 28 for me to try out with (for curiosity's sake).

639
Plugins / Re: LyricsReloaded (Latest)
« on: September 23, 2022, 10:34:52 AM »
Hadn't noticed, but that's been taken care of now - redownload the plugin.
And thanks for bringing it to attention!

...........

For people using Metal Archives, there was a minor change I made to that provider.
So you'll need the latest yml from the providers zip to get it working with newer plugin versions.

640
Questions / Re: Customizing the Edit screen
« on: September 21, 2022, 08:23:38 PM »
As phred mentioned, you cannot rearrange the tag order in the Tag Editor pop up.
But you can, however, do so with the Vertical Tag Editor panel - you would first have to enable it from view > arrange panels.

641
Questions / Re: Disable error message?
« on: September 21, 2022, 07:51:15 PM »
Welcome to the forum, fiso64.

Other than the plugin author, I doubt there is anyone else here who can help you get rid of that error.
So instead of posting this here in the general questions board, you should be reporting this in the plugin thread so that the author sees it.

Is this the add-on you are referring to? https://getmusicbee.com/addons/visualizer/368/classic-spectrum-analyzer/
If so, then try reporting the error here: https://getmusicbee.com/forum/index.php?topic=36642.0

or here (I'm not sure which one between the two is the right thread for it): https://getmusicbee.com/forum/index.php?topic=23345.0

642
Questions / Re: Special Characters in Custom Web Links
« on: September 21, 2022, 07:35:15 PM »
Glad that works. But I think something like this should be handled internally. Hopefully, Steven will come across this thread and decide whether or not these special characters are worth handling within MusicBee itself so that users don't have to do this themselves.

Edit: And if we are lucky, perhaps also get a quick explanation as to why $Replace isn't working there. To my understanding, it should be doing the same job as that $RxReplace.

643
Questions / Re: Special Characters in Custom Web Links
« on: September 21, 2022, 06:56:51 PM »
This seems to work for some reason:
(Idk why $Replace isn't doing the job)

Code
$RxReplace($RxReplace(<Origin>,%3A,:),%2F,/)

644
Plugins / Re: LyricsReloaded (Latest)
« on: September 19, 2022, 07:06:19 PM »
Have you checked out this documentation post? https://getmusicbee.com/forum/index.php?topic=25406.msg145769#msg145769
I'll try to come up with a more detailed explanation the coming weekend (breaking down the contents of one or two providers).
For now, here's the basic gist of it:

1. A user needs to have a good understanding of regular expressions.

2. They also need to know the difference between the loaders (static and search).
     Deciding on which one to use is entirely dependent on the structure of the website.

     - The static loader only runs a single web search.
     - The search loader runs two.

e.g
Title: Simple and Clean
Artist: Hikaru Utada

The provider <Genius> has the lyrics for this song on this url: https://genius.com/hikaru-utada-simple-and-clean-lyrics
Here we are able to use the static loader (single search) because we can directly inject the artist and title into the url that leads straight to the lyrics webpage.

..............................

The provider <Deezer> has the lyrics for this song on this url: https://www.deezer.com/en/track/435815932
Here we cannot use the static loader because the URL of the webpage on which these lyrics are contained does not reference the artist or title in any way.
So what we need to do is use the search loader that can run two searches at a time, where:

- the first search is used to find the ID (435815932). This can be done with any search engine, including that of the website.
  Google has been my best friend on this note: https://www.google.com/search?q=deezer+simple+and+clean+hikaru+utada+lyrics

- lastly, using the first google search result, we are able to obtain the song ID which will then connect us to the lyrics webpage: https://www.deezer.com/en/track/435815932

645
Questions / Re: Artwork changing when dragging and dropping or copying
« on: September 17, 2022, 11:44:13 AM »
Not sure I have the entire picture of what's going on, but it sounds to me like you are reporting a strange bug.

first track - Bob Dylan second image i have have copied and pasted to the track via music bee's edit mode
second track - Lynyrd Skynrd primary image i have copied and pasted to the track via music bee's edit mode

The result on the original files
The original bob dylan track's second image has changed to the lynryd skynrd's track newly pasted primary image
The original Lynyrd Skynrnrd track all images are correct
I have double checked original tracks in the same folder
out of 17 tracks 14 have the lynrynd skynrd image (the last pasted image) is embedded somewhere most of which are the last image
1 actually has the first bob dylan pasted image as the second embedded image
You embedded an image by copying & pasting it to one song, and the result was that some of the album songs (14/17) got that same image embedded to them as well.
Have I got that right? Is that what's going on?

I'm not sure how that would happen if you were editing a single track at a time.
Is this still happening when you try it out now?

Pages: 1 ... 41 42 4344 45 ... 70