Not logged in. · Lost password · Register
Forum: General discussion RSS
BrowseAMP Question
Gortex #1
Member since May 2005 · 10 posts · Location: France
Group memberships: Members
Show profile · Link to this post
hi,
first of all, thank you for this great software :)

I installed it on my PC and everything was OK.
After looking the HTML page (which is a little bit confuse ... comments will be helpfull  :rolleyes: )
I decided to modify them.
My goal was to propose to view and download mp3 which is in my current playlist.

So, playlist_hlrow2.html

  <tr>
  <td nowrap class="highlight"><#playlist_index></td>
  <td nowrap class="highlight" width="100%">  <a href="browser.html?download=<#browser_enc_filename>" title="<#browser_filesize> MB, download with 'save link as'"><font color="#000000"><#playlist_songtitle> ~ <#Metadata field=album></b></a></td>
  <td nowrap class="highlight" align="center"> <#playlist_songlengthmin>:<#playlist_songlengthsec> </a></td>
  </tr>

And playlist_row2.html

  <tr bgcolor="#000033">
  <td nowrap><#playlist_index></td>
  <td nowrap width="100%">  <a href="browser.html?download=<#browser_enc_filename>" title="<#browser_filesize> MB, download with 'save link as'"><#playlist_songtitle> ~ <#Metadata field=album></a></td>
  <td nowrap align="center"> <#playlist_songlengthmin>:<#playlist_songlengthsec> </a></td>
  </tr>

Now, links in the playlist return to the mp3, *Job done*
But, When I click on it, the download file is all the time name browser.html with different size and if I rename it with mp3 extension, everything is OK

I try with original skin and it's the same, it's pretty boring

Is that possible to do in another way ?  :unsure:
Gortex #2
Member since May 2005 · 10 posts · Location: France
Group memberships: Members
Show profile · Link to this post
I can't edit my message ... *oups*  :whistling:

After test, I change the code

  <td nowrap class="highlight" width="100%">  <a href="browser.html?dir=%2E%2E&dir=<#playlist_directory>&download=<#browser_enc_filename>" title="<#browser_filesize> MB, download with 'save link as'"><font color="#000000"><#playlist_songtitle> ~ <#Metadata field=album></b></a></td>

And now the Download start all the time
Gortex #3
Member since May 2005 · 10 posts · Location: France
Group memberships: Members
Show profile · Link to this post
I solve my problem alone  :-p

<a href="<#playlist_songtitle> ~ <#Metadata field=album>.mp3?dir=%2E%2E&dir=<#playlist_directory>&download=<#browser_enc_filename>" title="<#browser_filesize> MB, download with 'save link as'"><font color="#000000"> <#playlist_songtitle> ~ <#Metadata field=album></b></a>

With this code, the download file is named "song name - artist ~ album.mp3"

I Modified playlist_hlrow2.html and playlist_row2.html

And Finally, It do exactly what I need !
Avatar
Azimuth #4
Member since Jan 2003 · 427 posts · Location: Chicago, Illinois - USA
Group memberships: Members
Show profile · Link to this post
Congrats, Gortex, and welcome!

We're still here if you need us!  ;)
Gortex #5
Member since May 2005 · 10 posts · Location: France
Group memberships: Members
Show profile · Link to this post
thank you  :)

After test and opimize it,  I share my skin 'Gortex Base Skin'

My Goal with this skin was :

- share my playlist (show what I'm currently listenning )
- Download my playlist the more easiest way as possible
- Show cover of Current title's Album

And that's all  B)

I don't manage Winamp online
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Page created in 163.4 ms (78.7 ms) · 58 database queries in 66.9 ms
Current time: 2018-12-12, 10:38:45 (UTC +00:00)