Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.
Also make sure you've read the Forum Guidelines before posting in this forum.
Feb 9 2005, 08:46
Post
#1
|
|
|
Member Group: Full Members Posts: 5 Joined: 7-February 05 Member No.: 1534 Mp3tag Version: 2.28 |
First THANKS for a GREAT program, and this forum.
My use is for my home website, running on my home web server. This is a private site for my family only. 2 problems: Problem 1. I'm using the Dano export.mte I have edited the dano.mte file to add another column to split the main column where the folders are listed. Main Screen Main Screen | column1 | column2 |column3|column4| orginal Dano | Counter | (folder ) | Year.. . | Genre .| .. . . .. .. .. | column1 | column . 2 . . |column 3 |column4|column5 | My Edited | Counter | Artist (folder)| Album . .| Year . . | Genre | As you know, click on "folder/artist", and the sub screen opens Sub Screen orginal Dano | column1 | column. . 2 . . . . . . . . . | column 3 . .| column4 | contains . . . .| blank . . |length, bitrate, title/loc. | VBR. .. .. .. . |tot MB, #songs | I want | column1 | column 2 . . . . | column 3 . .. . |column4 |column5 | . . . . . .| blank . .. | Title/location . | length, bitrate| file size | VBR . . | As you can see I want to move "length & bitrate" to the new column col3. In addition I would like a place holder for column5 to put another future formatstring. I have tried several different ways of changing the subscreen loop and syntax, it doesn't ever work. I hope someone can help. Below is the section of my export.mte that needs to be edited. -------------------------------------------- CODE <body> <div id="ipbwrapper"> <div class="tableborder"> <div class="maintitle" align="left">MP3tag Album Overview of "%_workingdir%": $loop(%album%,1)$loopend()%_max_counter% Albums | %_total_size% | %_total_files% Files | %_total_time% Hours</div> <table width="100%%" border="0" cellspacing="1" cellpadding="4"> <tr> <th align="center" width="2%%" class="titlemedium">Counter</th> <th align="left" width="44%%" class="titlemedium">Artist</th> <th align="center" width="35%%" class="titlemedium">Album</th> <th align="center" width="5%%" class="titlemedium">Year</th> <th align="center" width="14%%" class="titlemedium">Genre</th> </tr> $loop(%_folderpath%)<tr> <td class="row2" align="center"><a href="http://mysite.org/music\download\%_directory%" target="_blank">$num(%_counter%, 3)</a></td> <td id="id%_counter%" class="row2"><b><a href="javascript:show(''%_counter%'');">%artist%</a></b></td> <td class="row2" align="center">%album%</td> <td class="row2" align="center">%year%</td> <td class="row2" align="center">%genre%</td> </tr> <tr style="display:none;" id="show%_counter%"> <td class="row4" align="center"><b>-</b></td> <td class="row4">$loop(%_filename_ext%)%_length% min | %_bitrate% kbits | <a href="/music/%_folderpath_rel%%_filename_ext%" title="%comment%">%_filename_ext%</a><br>$loopend()</td> <td class="row4" align="center">%_vbr%</td> <td class="row4" align="center">%_total_size%<br>%_total_files% Files</td> </tr>$loopend() </table> --------------------------------------------------------- Problem 2 Problem #2 (only after problem #1 solved) I would like the subscreen column1 to have a check box [ ]. Here songs can be checked for download, and sent to a download queue. This would probably require a external cgi/perl script, or if the code is short Java could handle it inside the html page. The download script would allow the user to sequentially download multiple files tagged for download, but only transfering 1 at a time. This post has been edited by mrmax: Feb 10 2005, 02:58 |
|
|
|
mrmax Help with Dano's export.mte Feb 9 2005, 08:46
dano Just add another
CODE <td>...</td... Feb 9 2005, 13:15
mrmax This DOES NOT work. I already tried that.
What ha... Feb 10 2005, 03:01![]() ![]() |
|
Lo-Fi Version | Time is now: 7th September 2010 - 06:37 |