MCE My Music Annoyance

Associate
Joined
27 Jun 2005
Posts
214
I set MCE up earlier and added my albums to my music, they all display, this part is fine.

What i'm finding really annoying is the view options you're given. As there is no "sort by name" so it just seems a bit mess of files and folders.

All I want is an option to "Sort by Name" like in MCE My Videos so that i can view the music in alphabetical order like i would in Explorer.

Anyone know a plugin or tweak or utility that i can use to just get My Music to display like i want? i would be forever indebted.
 
Associate
OP
Joined
27 Jun 2005
Posts
214
ok perhaps im not explaining very well.

My mp3 collection isnt tagged all that well and i've found that i've got many albums and mp3s missing as they appear as "Unknown artist", or with the names tagged differently e.g I have many entries like this - "The Stranglers" "Stranglers" "01-Stranglers".


Just would like a view that doesnt use meta, just the listing in alphabetical order from my C:\Audio folder:
 
Last edited:
Associate
OP
Joined
27 Jun 2005
Posts
214
thing is, i've got close to 900gb of audio, i really dread to think how long tagging and renaming would take unless there is some quick fix .bat file type solution.

Why cant they just add a sort by name like in the video section. And ms wonder why people get annoyed at them.
 
Last edited:
Associate
OP
Joined
27 Jun 2005
Posts
214
csmager said:
They might not know what it is, but nearly all of your average users will use it. It doesn't make sense to do it any other way - you wouldn't get your album covers, anyway.

Most of my audio comes from my own rips from vinyl, or just mp3's i've created, when i created them i just gave them a folder name and a filename as creating individual tags would have been so time consuming.

I agree in part, its a good idea to use meta tags for the mce listing as like you say its gives all the album art, info etc, but what i think bugs me and the others is that you arent even givent the option to display it any other way.





I installed Media Portal, its good, anyone familiar with Xbox Media Center views and browsing will feel right at home, just thought i'd take a couple snaps to keep this thread alive.

MP is good, though as usual theres a few probs i've had with compatibility etc, the only prob i have with MCE is the my music sorting.
 
Last edited:
Associate
OP
Joined
27 Jun 2005
Posts
214
starscream said:
That said, there is a plugin that will let you use the folder structure instead of meta data. I'll see if I can find a link.

OMG, you legend. please find :)

i'll look in the meantime, "the green button" has been down almost all weekend.

the only other option i was thinking was programming a link from MCE to open media portals "my music", but im sure they'l lbe problems getting this working really smoothly.
 
Associate
OP
Joined
27 Jun 2005
Posts
214
starscream said:
If your files are named correctly, I shouldn't take too long to do it in tag & rename becase you can sript it to insert the data from the filename into the meta data.

Alternatively, here is a script I found on TheGreenButton that you can fudge with to try and get the metadata in. I would only try this on a backup of your MP3's until you are sure it's working

Code:
' Music Tagger
' Written by Dan Wheeler
' 3/22/04
'
' Purpose/Description:
' Due to the unusual way Windows Media Player (and consequently Media Center)
' allows you to browse and listen to music I found it necessary to write a 
' script that gives me a little more control over my collection's metadata.
' Most people already organize their music by GENRE-ARTIST-ALBUM-SONG using a 
' folder structure.  This script makes sure each song's metadata matches it's 
' place in the folder structure. This is something that could be run nightly or 
' weekly to make sure any changes you make to the file/folder structure are 
' also applied to the metadata.
'
' After running this script you will need to ask Windows Media Player to go
' out and find all your music again.  This is tedious and I am currently looking
' for ways to write directly to the Windows Media Player WMDB file or automate
' the re-discovery process.  You may find that it is easiest to delete the 
' Windows Media library database file which is usually located here:
' C:\Documents and Settings\yournamehere\Local Settings\Application Data\Microsoft\Media Player
' then open media player and re-discover all your music files.
'
' How it works:
' This script will enumerate through a folder specified below (strPath)
' and search for GENRE folders that start with an underscore. (ie "Rock")
' It will then search through each GENRE folder looking for ARTISTS.
' Next it look through each ARTIST folder and look for SONGS that dont
' belong to any particular ALBUM.  Next it will look for ALBUM subfolders
' in the ARTIST folder and find SONGS.
'
' EXAMPLE:
'
' 70s (GENRE / folder)
' Led Zeppelin (ARTIST / folder)
'  Rain Song (SONG / file)
'  In Through the Out Door (ALBUM / folder)
'   Kashmir (SONG / file)
'
' Rain song will be tagged like so:
'
' GENRE: 70s
' ARTIST: Led Zeppelin
' ALBUMARTIST: Led Zeppelin (this is used by Media Center when viewing albums)
' ALBUM: Led Zeppelin - Various
'
' Kashmir will be tagged like so:
' GENRE: 70s
' ARTIST: Led Zeppelin
' ALBUMARTIST: Led Zeppelin (this is used by Media Center when viewing albums)
' ALBUM: Led Zeppelin - In Through the Out Door
'
' This script requires METADATAEDIT.EXE which can be found in the Windows Media Format SDK

on error resume next

'************************************************************************
' VARIABLES
'************************************************************************

 ' Search for music here.  Should contain "genre" subfolders
 strPath = "d:\music"
 

'************************************************************************
' CREATE OBJECTS
'************************************************************************

 set objFSO = CreateObject("Scripting.FileSystemObject")
 Set objShell = CreateObject("Wscript.Shell")


'************************************************************************
' CREATE LOG FILE
'************************************************************************

 objFSO.CreateTextFile("MusicTagger.log")
 set objTSO = objFSO.OpenTextFile("MusicTagger.log",2)
 
 
'************************************************************************
' RUNTIME VARIABLES
'************************************************************************


 

'************************************************************************
' FUNCTIONS
'************************************************************************

 function funcWriteTag(Genre,Artist,Album,Title,FilePath)

   wscript.echo "-----------------------------------------------------------------------------"
   wscript.echo "Genre:  " & Genre  
   wscript.echo "Artist/Band: " & Artist
   wscript.echo "Album:  " & Album
   wscript.echo "Title:  " & Title
   wscript.echo "Date Accessed: " & FilePath.DateLastAccessed
   
   'echo's commands to screen
   'wscript.echo "metadataedit.exe """& FilePath &""" set 0 WM/Genre 1 """& Genre &""""
   'wscript.echo "metadataedit.exe """& FilePath &""" set 0 Author 1 """& Artist &""""
   'wscript.echo "metadataedit.exe """& FilePath &""" set 0 WM/AlbumArtist 1 """& Artist &""""
   'wscript.echo "metadataedit.exe """& FilePath &""" set 0 WM/AlbumTitle 1 """& Album &""""

   'echo's Genre/Artist/Album/Song info to log file
   objTSO.WriteLine("-----------------------------------------------------------------------------")
   objTSO.WriteLine("Genre:  " & Genre)
   objTSO.WriteLine("Artist/Band: " & Artist)
   objTSO.WriteLine("Album:  " & Album)
   objTSO.WriteLine("Title:  " & Title)
   objTSO.WriteLine("Date Accessed: " & FilePath.DateLastAccessed)
   
   'echo's commands to log file
   objTSO.WriteLine("Command Run: metadataedit.exe """& FilePath &""" set 0 WM/Genre 1 """& Genre &"""")
   objTSO.WriteLine("Command Run: metadataedit.exe """& FilePath &""" set 0 Author 1 """& Artist &"""")
   objTSO.WriteLine("Command Run: metadataedit.exe """& FilePath &""" set 0 WM/AlbumArtist 1 """& Artist &"""")
   objTSO.WriteLine("Command Run: metadataedit.exe """& FilePath &""" set 0 WM/AlbumTitle 1 """& Album &"""")
   
   'wscript.echo "File is fresh - modify it"
   objShell.Run("metadataedit.exe """& FilePath &""" set 0 WM/Genre 1 """& Genre &""""),0,True
   objShell.Run("metadataedit.exe """& FilePath &""" set 0 Author 1 """& Artist &""""),0,True
   objShell.Run("metadataedit.exe """& FilePath &""" set 0 WM/AlbumArtist 1 """& Artist &""""),0,True
   objShell.Run("metadataedit.exe """& FilePath &""" set 0 WM/AlbumTitle 1 """& Album &""""),0,True
  
  'end if


 end function


'************************************************************************
' FILE/FOLDER ENUMERATION
'************************************************************************

' ENUMERATE GENRES
 set oRootFolder = objFSO.GetFolder(strPath)
 
 if err.number <> 0 then
   strPath = InputBox(UCase(strPath) &" is not a valid path. Where would you like Music Tagger to search for music?","Path to Music Files (i.e. D:\Music)",UCase(strPath), 100, 100)
   set oRootFolder = objFSO.GetFolder(strPath)
   err.clear
 end if
 
 For Each GenreFolder in oRootFolder.SubFolders

  ' DEFINE THE GENRE
  strGenre = GenreFolder.name
     
  ' ENUMERATE ARTISTS
   For Each ArtistFolder in GenreFolder.SubFolders
    strArtist = ArtistFolder.name
    
   ' ENUMERATE SONGS IN ROOT ARTIST FOLDER WITH NO PARTICULAR ALBUM
    For Each VariousFile in ArtistFolder.files
     If VariousFile.Attributes AND 32 Then
      strVariousAlbum = ArtistFolder.Name & " - Various"
      strExtension = right(UCase(VariousFile.Name),3)
      if strExtension = "WMA" or strExtension = "MP3" then
       funcWriteTag strGenre,strArtist,strVariousAlbum,VariousFile.name,VariousFile
       
       ' turns off the archive bit
       Wscript.Echo "Turning off archive bit for "& VariousFile.Name
       VariousFile.Attributes = 0
      end if
     else
      wscript.echo "-----------------------------------------------------------------------------"
      wscript.echo "Skipping "& VariousFile.Name &". Archive bit not set."
     end if
    Next
   
   ' ENUMERATE ALBUMS
    For Each AlbumFolder in ArtistFolder.SubFolders
     
    ' ENUMERATE SONGS THAT BELONG TO A SPECIFIC ALBUM
     For Each AlbumFile in AlbumFolder.files
      If AlbumFile.Attributes AND 32 Then
       strAlbum = ArtistFolder.Name &" - "& AlbumFolder.name
       strExtension = right(UCase(AlbumFile.Name),3)
       if strExtension = "WMA" or strExtension = "MP3" then
        funcWriteTag strGenre,strArtist,strAlbum,AlbumFile.name,AlbumFile
        
        ' turns off the archive bit
        Wscript.Echo "Turning off archive bit for "& AlbumFile.Name
        AlbumFile.Attributes = 0
       end if
      else
       wscript.echo "-----------------------------------------------------------------------------"
       wscript.echo "Skipping "& AlbumFile.Name &". Archive bit not set/"
      end if
     Next
    Next
   
   Next


 if err.number <> 0 then
  wscript.echo "Music Tagger Error: " & err.description
  err.clear
 end if
 
 Next

objTSO.close


this looks great, could work perfect

do you have the link to the page in TheGreenButton where that was posted

and how do you run that script? save it in notepad as .bat?
 
Associate
OP
Joined
27 Jun 2005
Posts
214
bledd. said:
you could use Tag & Rename to fix all your mp3 tags

yeah.

Thing is, i have many many mp3's and if i do it manaully it will take ages.

The script post looks like its my best option as its all automated.
 
Associate
OP
Joined
27 Jun 2005
Posts
214
Right, i've done it.

Used the script and now everything is ok..ish and sorted.

will make a guide on how to do it clearly if anyone is interested.

and btw, for other windows media player users, windows media player doesnt seem to see the tags for .ogg and .flac files? any ideas?
 
Back
Top Bottom