WebMonkey R10 - 2006/04/07

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: WebMonkey R10 - 2006/04/07

by Lowlander » Thu Sep 21, 2006 11:57 am

A new version has been released.

by Lowlander » Wed Aug 23, 2006 5:41 pm

I'm not a big fan of the read more link as locating the comment with the album is the most logical. Long comments wouldn't work under the album art due to the short width, it does work for short comments.

Longer comments should be located above or under the playlist where I personally consider under the best. If you have suggestion on how to make the text look better when located there I will take that in consideration.

by Rojer » Wed Aug 23, 2006 5:36 pm

Bummer ! I DID check this setting but I passed it when I saw it was set at 0 (which is usually .. yes ) :)

Set at 3 (under album information) : long comments don't fit. At 1, it's a little better for long comments, but still ugly. What do you think of a "...Read more link", after, say... 50 characters?

I tried to revert to en. language. same behaviour.

by Lowlander » Wed Aug 23, 2006 5:23 pm

The album comments need to be turned on in the options, going by the settings you posted you didn't.

Code: Select all

' Show album comments
blnShowAlbumCommentCA = 0  '0 No, 1 On top of tracklist, 2 Under tracklist, 3 Under album information
As you can see it allows various positions you can located the comments. This only works for the albumlistings page.

The alt/title field should work for the buttons, maybe something went wrong in the translations page. The column titles and text that isn't a link doesn't containt a tooltip.

by Rojer » Wed Aug 23, 2006 2:53 pm

Alright, I found that more than one image should be better. I posted a small video file . It will stream just fine in firefox or msIE if you have any version of flash but will have no controls ; the video will resize to the browser window as well, which is bad under 1280 (F11 will enhance size a bit). Better drag the link to media player classic...
If you want to stay in a browser, you can have 1:1 size AND controls (with scrolling) in msIE only using this page which has loads of javascript. This is lousy html and firefox will not pass the container stage.

The video shows concerns with:
  • Alt (title) tags. Including wraping issue.
    Album comments
    Rating graphics inconsistencies with half stars involved
.
I barely edited the file, so sorry for a couple of lengthy parts...

by Lowlander » Wed Aug 23, 2006 10:39 am

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.

by Rojer » Wed Aug 23, 2006 7:45 am

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.

by Rojer » Wed Aug 23, 2006 12:53 am

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...

by Lowlander » Tue Aug 22, 2006 11:20 am

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.

deprecated playlists

by Rojer » Tue Aug 22, 2006 5:53 am

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

french translation

by Rojer » Tue Aug 22, 2006 5:29 am

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

by Lowlander » Tue Aug 08, 2006 7:17 pm

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.

by shagmanx » Tue Aug 08, 2006 6:58 pm

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

by Lowlander » Tue Aug 08, 2006 5:21 pm

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?

by shagmanx » Tue Aug 08, 2006 2:58 pm

here link to txt version of settings.asp

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

See if this has issues

thanks

Shag

Top