HI
I am new to the site and have just created my jukebox. I have a mp3 collection that has been merged from my own and a friends and I am keen to get fanart , logos etc working, however I am quite lazy so have created a script to help make life easier, appologies if this has already been done
I have been using a media scraper call " Mediaelch" this enables me to quickly choose the fanart and logos but this saves them into the main MP3 directory
I have folder formats like so
001 # 1967 - The Beatles - Sgt. Peppers Lonely Hearts Club Band
Beautiful South - Solid Bronze great hits
and want directories like so
The Beatles
Beautiful South
In order to create the correct directory structure under the program directory I have created the following script, it creates the directories in a test area then copies the relevant jpg / png files into them. There is no error checking so if you run it twice it will complain about directories already there.
comments / improvments welcome
# J Hearse create fanart, logos etc under prog directory
# initialize the items variable with the
# contents of a directory
$items = Get-ChildItem -Path "D:\andy\mp3\"
# set Vars
$source = "D:\andy\mp3\"
$dest = "D:\Output\"
$logo = "logos\"
$fanart = "fanart\"
$banner = "Banners\"
$minus = " - "
$count = 0
# enumerate the items array
foreach ($item in $items)
{
# count how many - there are
$count = ($item.name.ToCharArray() | Where-Object {$_ -eq '-'} | Measure-Object).Count
write-host $count
# if the item is a directory and has only one seperator, then process it.
if ($item.Attributes -eq "Directory" -And $count -eq 1)
{
$a,$b = $item -split (' - ',2)
Write-Host $item.Name
New-Item -Path "$($dest)$($logo)$($a)" -ItemType directory
New-Item -Path "$($dest)$($fanart)$($a)" -ItemType directory
New-Item -Path "$($dest)$($banner)$($a)" -ItemType directory
Write-Host "$($source)$($item.name)\logo.png" "$($dest)$($logo)$($a)\"
Copy-Item "$($source)$($item.name)\fanart.*" "$($dest)$($fanart)$($a)\"
Copy-Item "$($source)$($item.name)\logo.png" "$($dest)$($logo)$($a)\"
Copy-Item "$($source)$($item.name)\banner.*" "$($dest)$($banner)$($a)\"
}
# if the item is a directory and has two seperator, then process it.
Elseif ($item.Attributes -eq "Directory" -And $count -eq 2)
{
$a,$b,$c = $item -split (' - ',3)
Write-Host $item.Name
New-Item -Path "$($dest)$($logo)$($b)" -ItemType directory
New-Item -Path "$($dest)$($fanart)$($b)" -ItemType directory
New-Item -Path "$($dest)$($banner)$($b)" -ItemType directory
Write-Host "$($source)$($item.name)\logo.png" "$($dest)$($logo)$($b)\"
Copy-Item "$($source)$($item.name)\fanart.*" "$($dest)$($fanart)$($b)\"
Copy-Item "$($source)$($item.name)\logo.png" "$($dest)$($logo)$($b)\"
Copy-Item "$($source)$($item.name)\banner.*" "$($dest)$($banner)$($b)\"
}
}
I hate to say this, but you can already grab fanart just by using the config9 program.
Creation tools
---------------
Grab artist info from AudioDB
Generate image thumbnails
Edit tools
----------
Grab similar last fm
Grab audioDB info
The program downloads banners, logos, fanart etc etc
Regards
Mark
Hi Mark
yea i see that now ... oh well needed the PS practice
but the fan art I am getting is corrupted, I am seeing multiple JPGs but unable to view them logos and bios are fine
Is a nice script and who knows Barry give it a try and decide that you might be on to something. I however am anti fanart when it comes to this program I have seen screen shots of skins that use fanart and it all looks like a jumbled mess to myself.
I'm not sure if you have heard of www.fanart.tv before? It is a pretty good site, but it has got a virus somewhere lurking but it comes as a pop up so you can deny it. I think it is a better system and the graphics are regulated e.g the covers and other art are usually 1,000 x 1,000 giving better scanned artwork rather than some of the crap that audiodb gives you at 500x500.
I do use Media Elch but only for movies and not music, I gave it a try but found that it was failing and I didn't have the time to mess around with new things. I actually use Ember Media Manager to scrape my movies, but then I use Media Elch to put them into sets, for music I use MP3 Tag.
Automating can be a good thing, but also it can be a bad thing in that you do not get the quality. I have OCD when it comes to things such as this, and I have started again with music and music videos so that I can get better graphics and more complete graphics for the album art etc.
Anyway I am waffling and going off on a tangent, still last day of 2015.
thanks I will give the other sraper a try, certainly with Mediaelch you get to choose the fanart and it dumps it into the root of the artist thats why i wrote tthe script it will then copy it out ready to be placed in the right place so still of some use to me =)