WebMonkey R10 - 2006/04/07

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

shagmanx
Posts: 14
Joined: Wed Feb 01, 2006 5:59 pm
Location: the OC (Southern California)

Post by shagmanx »

Album art issue
Here is how it is set;
'Show tracklistings as tracklistings or albumlistings
' Allow users to select tracklisting type
blnTrackListingsType = 0 '0 Yes, 1 No
' Default track listing type
intTrackListingsType = 1 '0 track, 1 album, 2 cover

I've also checked source code for completed page and not seeing and ref to album art or img/album directory


Playlist output issue;
I can download file to desktop (granted it takes a while) but again.. I was able to have playlist and such b4 and it was ver7.

Test here
http://www.actionpcworks.com/music then click on "the list"
user - test
pwd - test

Thanks again for help

Shag
Lowlander
Posts: 59278
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

I can't get on your site to confirm the problem with the album art. Do you see space reserved on the webpage for the album art or the no-album art MediaMonkey logo? Are you sure your are watching the album mode instead of the tracklisting node?

I wanted you to download the now playing playlist to check the song links. Due to changes in the system you might need to configure things differently than previous versions. Please include your setup (where are the music files) and if you can download files or not.
shagmanx
Posts: 14
Joined: Wed Feb 01, 2006 5:59 pm
Location: the OC (Southern California)

Post by shagmanx »

There is no defined space for image area nor the default no-album cover image.

Image

Image

:-?

Thanks

Shag
Lowlander
Posts: 59278
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

Ok, it seems that images are not available. Based on a previous post I think you might have misnamed the folder. It should be in img\albums make sure that the images are in the correct folder. If you WebMonkey installed various times you should make sure you have them in the correct installation.
shagmanx
Posts: 14
Joined: Wed Feb 01, 2006 5:59 pm
Location: the OC (Southern California)

Post by shagmanx »

Checked location and it seems correct .. even all the other buttons and icons work fine.

Image

the albumart.gif in the root of \img is not showing on artists/files with no album art either.

shag
shagmanx
Posts: 14
Joined: Wed Feb 01, 2006 5:59 pm
Location: the OC (Southern California)

Post by shagmanx »

here link to txt version of settings.asp

http://www.actionpcworks.com/settings.txt

See if this has issues

thanks

Shag
Lowlander
Posts: 59278
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

On line 176 of albumlisting.asp you will find the following:

Code: Select all

If objFS.FileExists(strPathAlbumArt & strPathAlbumArt2 & "img\albums\" & RS("IDAlbum") & ".jpg") = True Then
' get width and height of image
	If gfxSpex(strPathAlbumArt & strPathAlbumArt2 & "img\albums\" & RS("IDAlbum") & ".jpg", intImageWidth, intImageHeight, intImageColors, strImageType) = true Then
		Response.Write("<a href=""track.asp?TrackTypeTemp=2&SearchWhere=Album&SearchFor=" & RS("IDAlbum") & """ class=""song""><img src=""img/albums/" & RS("IDAlbum") & ".jpg"" alt=""" & Server.HTMLEncode(RS("Artist") & " - " & RS("Album")) & """ width=""" & intImageWidth & """ height=""" & intImageHeight & """ style=""float: bottom; margin-right:20px; margin-bottom:10px;"" /></a>")
		blnAlbumArt = 1
	End If
End If
Please change that to:

Code: Select all

If objFS.FileExists(strPathAlbumArt & strPathAlbumArt2 & "img\albums\" & RS("IDAlbum") & ".jpg") = True Then
Response.Write("Passes this point")
' get width and height of image
	If gfxSpex(strPathAlbumArt & strPathAlbumArt2 & "img\albums\" & RS("IDAlbum") & ".jpg", intImageWidth, intImageHeight, intImageColors, strImageType) = true Then
		Response.Write("<a href=""track.asp?TrackTypeTemp=2&SearchWhere=Album&SearchFor=" & RS("IDAlbum") & """ class=""song""><img src=""img/albums/" & RS("IDAlbum") & ".jpg"" alt=""" & Server.HTMLEncode(RS("Artist") & " - " & RS("Album")) & """ width=""" & intImageWidth & """ height=""" & intImageHeight & """ style=""float: bottom; margin-right:20px; margin-bottom:10px;"" /></a>")
		blnAlbumArt = 1
	End If
End If
As you can see the following line has been added

Code: Select all

Response.Write("Passes this point")
Now check the website and see if the text appears on the site for albumlistings.

If that works you copy that new line to a new line after

Code: Select all

If gfxSpex(strPathAlbumArt & strPathAlbumArt2 & "img\albums\" & RS("IDAlbum") & ".jpg", intImageWidth, intImageHeight, intImageColors, strImageType) = true Then
This to confirm that these routines work. I'm probably missing something, but I haven't seen a problem with your configuration.

What webserver are you using?
shagmanx
Posts: 14
Joined: Wed Feb 01, 2006 5:59 pm
Location: the OC (Southern California)

Post by shagmanx »

Nope, did not display text.
So is it failing at getimagespec.asp?

Just using IIS on windows XP for now once I get issues worked out I'll move to IIS hosted server.

Shag
Lowlander
Posts: 59278
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

Well if you didn't see any text in the first attempt the objFS.FileExists or objFS = Server.CreateObject("Scripting.FileSystemObject") isn't working.

You could try to see if this method works on your system by trying this method on a file that you know that exists.
Just to make sure you code put the following code ahead of objFS.FileExists line:

Code: Select all

Response.Write(strPathAlbumArt & strPathAlbumArt2 & "img\albums\" & RS("IDAlbum") & ".jpg")
and see if the result makes any sense.

For songs playback you need to configure this variable in the settings:
strWebMonkeyDir
and this will also use the those methods that might not work for you.

I myself haven't head any problems with this on Windows XP Pro with IIS so I'm not sure where your problems stem from.
Rojer
Posts: 65
Joined: Tue Aug 22, 2006 5:06 am

french translation

Post by Rojer »

Hey there,

Quite amazed on this work you've done : it matches MM standards :) Opened a server on an hamachi (http://hamachi.cc) vpn... works flawless. The connection limit trick seems pretty handy.

So only good news for this project on my side. IT WORKS. Couldn't thank you enough.

Slight issues that others may meet or not, not real problem but well worth documenting:
  • * The "tittle" (or is it "alt" ?) attribute does not seem to ALWAYS show in the right frame. Strange enough, it definitely appears for some links, not for others. Can't find a pattern here. IE or firefox the same, it seems.
    * I noticed that updating album arts (newly added images) does not seem to work. Any clue?
    * I guess I should have real or WMP for the player to work. Both are banned, unfortunately ....
When I figure how the whole thing works, I could try to setup an installation guide for the novice user (I am one). Would probably need some help with english but the french one should be OK:)

Meanwhile, may I post this french translation for the lang.asp in 'locale' folder. Works OK, here.

Thanks for the impressive work.

Code: Select all

<%

' index.asp
Dim strMaintenanceMsg
	strmaintenanceMsg = "Le serveur est en maintenance : D&eacute;sol&eacute; pour le d&eacute;rangement. "

' titlebar.asp
Dim strTitleLogo
	strTitleLogo = "MediaMonkey: Mettez de l'ordre dans votre musique!"
Dim strMax
	strMax = "Ouvrir dans une nouvelle fen&ecirc;tre"
Dim strClose
	strClose = "Fermer"

' navigation.asp
Dim strBack
	strBack = "Retour vue pr&eacute;c&eacute;dente"
Dim strForward
	strForward = "R&eacute;avancer &agrave; la vue pr&eacute;c&eacute;dente"
Dim strNavHome
	strNavHome = "R&eacute;duire l'arbre"
Dim strNavUsrPlay
	strNavUsrPlay = "Aller &agrave; la playlist utilisateur"
Dim strNavArtist
	strNavArtist = "Noeud Artiste"
Dim strNavAlbum
	strNavAlbum = "Noeud Album"
Dim strNavGenre
	strNavGenre = "Noeud Genre"
Dim strNavYear
	strNavYear = "Noeud Ann&eacute;e"
Dim strNavPlaylist
	strNavPlaylist = "Noeud PLaylist"

' standard.asp
Dim strStdPrint
	strStdPrint = "Imprimer la liste des Pistes"
Dim strStdLogout
	strStdLogout = "Se d&eacute;connecter"
Dim strStdStats
	strStdStats = "Voir les stats"

' searchbar.asp
Dim strSeaAll
	strSeaAll = "Tout"
Dim strSeaTitle
	strSeaTitle = "Titre"
Dim strSeaArtist
	strSeaArtist = "Artiste"
Dim strSeaAlbum
	strSeaAlbum = "Album"
Dim strSeaGenre
	strSeaGenre = "Genre"
Dim strSeaComposer
	strSeaComposer = "Compositeur"
Dim strSeaSearch
	strSeaSearch = "Chercher"

' trackswitchbar.asp
Dim strTrkSwArtist
	strTrkSwArtist = "Passer &agrave; la vue Piste"
Dim strTrkSwAlbum
	strTrkSwAlbum = "Passer &agrave; la vue album"
Dim strTrkSwCover
	strTrkSwCover = "Passer &agrave; la vue pochette d'album"

' status.asp
Dim strStaFiles
	strStaFiles = "fichiers"
Dim strStaFile
	strStaFile = "fichier"


' explorertree.asp
Dim strExpUserPlaylist
	strExpUserPlaylist = "Playlist utilisateur"
Dim strExpLibraryTT
	strExpLibraryTT = "Noeud Discoth&egrave;que"
Dim strExpLibrary
	strExpLibrary = "Discoth&egrave;que"
Dim strExpTitleTT
	strExpTitleTT = "Noeud Titre"
Dim strExpTitle
	strExpTitle = "Titre"
Dim strExpArtistTT
	strExpArtistTT = "Noeud Artiste"
Dim strExpArtist
	strExpArtist = "Artiste"
Dim strExpAlbumArtist
	strExpAlbumArtist = "Artiste de l'album"
Dim strExpAlbumTT
	strExpAlbumTT = "Noeud Album"
Dim strExpAlbum
	strExpAlbum = "Album"
Dim strExpGenreTT
	strExpGenreTT = "Noeud Genre"
Dim strExpGenre
	strExpGenre = "Genre"
Dim strExpYearTT
	strExpYearTT = "Noeud Ann&eacute;e"
Dim strExpYear
	strExpYear = "Ann&eacute;e"
Dim strExpRatingTT
	strExpRatingTT = "Noeud Classement"
Dim strExpRating
	strExpRating = "Classement"
Dim strExpPlaylistTT
	strExpPlaylistTT = "Noeud Playlist"
Dim strExpPlaylist
	strExpPlaylist = "Playlists"
Dim strExpStatTT
	strExpStatTT = "Noeud Statistiques"
Dim strExpStat
	strExpStat = "Statistiques"
Dim strExpGen
	strExpGen = "General"
Dim strExpTopA
	strExpTopA = "Top Artistes"

' tracklisting.asp /albumlisting.asp /coverlisting.asp
Dim strSrtAsc
	strSrtAsc = "Ordre croissant"
Dim strSrtDesc
	strSrtDesc = "Ordre d&eacute;croissant"
Dim strTrkPlaylistSongOrder
	strTrkPlaylistSongOrder = "Position Playlist"
Dim strTrkArtist
	strTrkArtist = "Artiste"
Dim strTrkSong
	strTrkSong = "Song"
Dim strTrkTrack
	strTrkTrack = "Piste"
Dim strTrkAlbum
	strTrkAlbum = "Album"
Dim strTrkYear
	strTrkYear = "Ann&eacute;e"
Dim strTrkGenre
	strTrkGenre = "Genre"
Dim strTrkRating
	strTrkRating = "Classement"
Dim strTrkTime
	strTrkTime = "Dur&eacute;e"
Dim strTrkBitrate
	strTrkBitrate = "Bitrate"
Dim strTrkFileSize
	strTrkFileSize = "Taille du fichier"
Dim strTrkBPM
	strTrkBPM = "BPM"
Dim strTrkComposer
	strTrkComposer = "Compositeur"
Dim strTrkCustom1
	strTrkCustom1 = "Vocal"
Dim strTrkCustom2
	strTrkCustom2 = "Groupe"
Dim strTrkCustom3
	strTrkCustom3 = "Custom 3"
Dim strTrkPlayCount
	strTrkPlayCount = "D&eacute;j&agrave; Jou&eacute; #"
Dim strTrkPlayDate
	strTrkPlayDate = "Jou&eacute; le"
Dim strTrkDownload
	strTrkDownload = "Cliquez droit et faites enregistrer la cible sous pour enregistrer cette chanson"
Dim strTrkDownloadGroup
	strTrkDownloadGroup = "Cliquez ici pour enregistrer ce fichier au format tarball"
Dim strM3UDownload
	strM3UDownload = "Cliquez droit et faites enregistrer la cible sous pour enregistrer toutes les chansons dans la playlist"
Dim strPrevDownload
	strPrevDownload = "Echantillon, si disponible"
Dim strTrkPlaylist
	strTrkPlaylist = "Cliquez pour ajouter &agrave; la playlist utilisateur"
Dim strTrkPlaylistAlbum
	strTrkPlaylistAlbum = "Cliquez pour ajouter l'ALBUM &agrave; la playlist utilisateur"
Dim strBuy
	strBuy = "Cliquez ici pour acheter"
Dim strNoAlbumArt
	strNoAlbumArt = "Pas de pochette pour cet album"
Dim strAlbumComment
	strAlbumComment = "Commentaire de l'album"

' playlistshow.asp
Dim strStartPlay
	strStartPlay = "Cliquez pour jouer la chanson dans le lecteur"
Dim strDownloadPlaylist
	strDownloadPlaylist = "Cliquez droit et enregistrez la cible pour enregistrer dans une playlist"
Dim strRemovePlaylist
	strRemovePlaylist = "Cliquez droit pour vider la liste de lecture"
Dim strRemoveTrack
	strRemoveTrack = "Cliquez droit pour enlever ces chansons de la liste de lecture"

' play.asp, playreal.asp, playwmp.asp
Dim strNoPlayer
	strNoPlayer = "pas trouv&eacute; de lecteur"
Dim strPlayerPrevious
	strPlayerPrevious = "Morceau pr&eacute;c&eacute;dent"
Dim strPlayerRewind
	strPlayerRewind = "Reculer"
Dim strPlayerPlay
	strPlayerPlay = "Lecture"
Dim strPlayerPause
	strPlayerPause = "Pause"
Dim strPlayerStop
	strPlayerStop = "Stop"
Dim strPlayerForward
	strPlayerForward = "Avancer"
Dim strPlayerNext
	strPlayerNext = "Suivant"

'stats.asp
Dim strStatTotal
	strStatTotal = "Totaux"
Dim strStatSong
	strStatSong = "songs"
Dim strStatArtist
	strStatArtist = "artistes"
Dim strStatAlbumArtist
	strStatAlbumArtist = "album artists"
Dim strStatAlbum
	strStatAlbum = "albums"
Dim strStatFile
	strStatFile = "de taille totale"
Dim strStatDay
	strStatDay = "jours ou"
Dim strStatTTime
	strStatTTime = "de temps total"
Dim strStatAver
	strStatAver = "Moyennes"
Dim strStatATime
	strStatATime = "dur&eacute;e moyenne morceaux"
Dim strStatAArtist
	strStatAArtist = "nombre de piste moyen par artiste"
Dim strStatAAlbumArtist
	strStatAAlbumArtist = "nombre de piste moyen par artiste d'album"
Dim strStatAAlbum
	strStatAAlbum = "nombre de piste moyen par album"
Dim strStatASong
	strStatASong = "ann&eacute;e moyenne de chanson"
Dim strStatARating
	strStatARating = "classement moyen"

'topartist.asp
Dim strTopPlace
	strTopPlace = "Place"
Dim strTopSongs
	strTopSongs = "# morceaux"
Dim strTopArtist
	strTopArtist = "Artiste"
Dim strTopSearch
	strTopSearch = "# d'artistes &agrave; afficher"

' year.asp & genre.asp
Dim strYrYear
	strYrYear = "Ann&eacute;e"
Dim strYrSongs
	strYrSongs = "Morceaux"
Dim strYrRating
	strYrRating = "Notation"
Dim strYrSize
	strYrSize = "Taille"
Dim strYrLength
	strYrLength = "Dur&eacute;e"
Dim strGrGenre
	strGrGenre = "Genre"

' status.asp
Dim strStsLoading
	strStsLoading = "Chargement"

' login.asp
Dim strLgnUser
	strLgnUser = "Utilisateur"
Dim strLgnPassword
	strLgnPassword = "Mot de passe"
Dim strLgnRememberMe
	strLgnRememberMe = "Me m&eacute;moriser"

' rss.asp
Dim strRSSDescription
	strRSSDescription = "Flux des derni&egrave;res pistes ajout&eacute;es"
Dim strRSSLink
	strRSSLink = "Lien vers le flux RSS des derni&egrave;res pistes ajout&eacute;es"
Dim strRSSNoFeed
	strRSSNoFeed = "Pas de flux RSS configur&eacute; sur ce site"
%>
Rojer
Rojer
Posts: 65
Joined: Tue Aug 22, 2006 5:06 am

deprecated playlists

Post by Rojer »

A strange (and usefull for me) feature in MM is the deprecated playlists.

I use them as an organisational tool for covers I play with several musicians. Looks like this:
Image

Nice to see that webmonkey already supports this to some extent :
Image

The 3rd level (in yellow on first image) is masked though. It's OK for me, unless I have DISCOVERED something ?

Roger
Lowlander
Posts: 59278
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

1) Album art needs to be exported with the album art export script. You can modify the script to output directly to the WebMonkey album art directory so images are up to date (make sure browser cache isn't causing problems).

2) Only Real and WMP are supported. You can save the playlists and play them in any local player supporting m3u playlists.

3) At this point only 2 levels of manual playlists are supported.

Glad you liked and even happier that it worked. I will need to check before releasing the next version, but I can probably include the french version in the standard install if you'd like that.
Rojer
Posts: 65
Joined: Tue Aug 22, 2006 5:06 am

Post by Rojer »

Lowlander wrote:1) Album art needs to be exported with the album art export script. You can modify the script to output directly to the WebMonkey album art directory so images are up to date (make sure browser cache isn't causing problems).
forgot to say : I use the script. Check for the path thing :

Code: Select all

strSaveToDir = "G:\Docs\web files\webmonkey\img\albums"
I'll look into the cache thing on next update. As for know, I simply delete the whole album folder and export it all again (30.000 tracks, but this thing works sooo fast...)
I"ll post the solution when I figure out what's wrong with my db.
Lowlander wrote:3) At this point only 2 levels of manual playlists are supported.
Fair enough :)
Lowlander wrote:Glad you liked and even happier that it worked. I will need to check before releasing the next version, but I can probably include the french version in the standard install if you'd like that.
Sure. Let me know if any update to lang. file, I'll be glad to look at it.

Hats down...
Rojer
Posts: 65
Joined: Tue Aug 22, 2006 5:06 am

Post by Rojer »

OK, don't ask how, but I just tested a single album art export, hit F5 in firefox on the client machine : the new album art displayed like magic. This cancels the matter on the art problem...

Otoh I found this problem with the rating stars. Maybe it's only for me, but it looks like 1.5 (3) ratings display 2.5 stars and 3.5 (7)display 4.5. Seems to affect both the tree view and file view.

Image for the tree with album display:

Image


Image for the tree with songlist display:

Image

I'm not sure how the scripts work in that matter so I could do very little investigation. Maybe a problem with a formula?

While playing with webmonkey, I realized that a feature that is barely used in MM could find a convenient use here : artist and album comments. Could these be displayed, or maybe, ofor very long comments, the xx first letters with a "... read more" link to the full comment?
Of course this is a feature request, I know some priorities are there, with skins and such. Looks like a tiny one though :)

Some "title" (or "alt") popups still don't show; most of those in the right pane, which happen to be in the lang file. Might this be a clue?.

This makes it a bit harder to understand how to playback the music . I did try to download a m3u file but it seems to point to "localhost". Probably a setting I did not fix.

Otherwise, the whole thing works amazing on this 30.000 tracks library. For those involved in developement and beta testing, I might setup a dedicated vpn with (very) limited upload capabilities.
Lowlander
Posts: 59278
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

I will look into the explorer tree ratings sort.

I don't understand the ratings display as you have 4 1/2 rating selected in the explorer tree and that's what shows in the list as well. I will need to check this out. As I don't use 1/2 ratings this might be a bug.

Album comments are supported in both the album art and albumlisting views. Artists comments aren't supported at this point, will need to look into a decent way to do this.

The playback mechanism are slightly complicated and will need to be configured in the settings. You can use a local path allthough that hasn't been tested since recent changes to the code.

PS. title/alt tags work for me. I'm not sure which parts you are talking about, maybe a graphic can help explain the problem.
Post Reply