![]() |
|
Artwork search request - album.jpg - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=4) +--- Thread: Artwork search request - album.jpg (/showthread.php?tid=6484) Pages: 1 2 |
Artwork search request - album.jpg - edj - 07-01-2022 21:22 According to this page, a file named album.jpg, album.png, etc would not be considered by MS to be artwork. https://minimserver.com/ug-library.html#Artwork Could album.*** be added to the list of files that MS searches for as valid artwork? I would assume this is a fairly common naming convention - and I have thousands of files like it that I don't know how to change at once! RE: Artwork search request - album.jpg - simoncn - 07-01-2022 22:19 To my knowledge, this is not a common naming convention. If you are able to access your library from a Windows PC, I can provide a bulk rename script to help you rename these files. RE: Artwork search request - album.jpg - edj - 07-01-2022 22:35 Hi Simon, yep I manage my music from a Windows computer so a bulk rename script would be most welcome, thank you. RE: Artwork search request - album.jpg - simoncn - 07-01-2022 22:58 The following PowerShell commands should do what you need. You need to replace X:\MyLibrary with the path to your library. This can be a network path in the format \\device\librarypath. Get-ChildItem -Path "X:\MyLibrary" -Recurse -Filter "album.jpg" | Rename-Item -NewName { $_.Name -replace "album.jpg","folder.jpg" } Get-ChildItem -Path "X:\MyLibrary" -Recurse -Filter "album.png" | Rename-Item -NewName { $_.Name -replace "album.png","folder.png" } I suggest you try this first on a copy of a small subset of your library to make sure it is working as intended. RE: Artwork search request - album.jpg - edj - 07-01-2022 22:59 Thank you very much Simon - I'll test it out in the morning! RE: Artwork search request - album.jpg - simoncn - 16-01-2022 21:17 Did this work for you? RE: Artwork search request - album.jpg - edj - 17-01-2022 19:11 Unfortunately not. Running the first command i received this error: Code: PS C:\Users\xxx> Get-ChildItem -Path "D:\mus" -Recurse -Filter "album.jpg" | Rename-Item -NewName { $_.Name -replace "album.jpg","folder.jpg" }The folder it's looking in above has four mp3s and a file called album.jpg. I have absolutely no idea what could be going wrong!! RE: Artwork search request - album.jpg - simoncn - 17-01-2022 20:21 The message seems to be saying the folder D:\mus\1-9\13\1...s EP] already contains a file named folder.jpg. Are you sure this isn't the case? Edit: I tried this myself. If the folder already contains a folder.jpg file, I get the error you have posted. If the folder doesn't contain a folder.jpg file, the command works as expected. RE: Artwork search request - album.jpg - edj - 17-01-2022 22:25 There's definitely not a file called folder.jpg: Code: PS D:\mus\1-9\13\13MUSIC005D [Lightless EP]> dirRE: Artwork search request - album.jpg - edj - 18-01-2022 00:53 If this is a pain to troubleshoot then don't worry, I can do it the manual way! |