IPB

Welcome Guest ( Log In | Register )

> Notice!

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.

 
Reply to this topicStart new topic
> Help with Dano's export.mte, Help with Dano's export.mte
mrmax
post 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
Go to the top of the page
 
+Quote Post
dano
post Feb 9 2005, 13:15
Post #2


Moderator


Group: Moderators
Posts: 5651
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.84c



Just add another
CODE
<td>...</td>
under
CODE
<td class="row4" align="center">%_total_size%<br>%_total_files% Files</td>

?


--------------------
Go to the top of the page
 
+Quote Post
mrmax
post Feb 10 2005, 03:01
Post #3


Member


Group: Full Members
Posts: 5
Joined: 7-February 05
Member No.: 1534
Mp3tag Version: 2.28



This DOES NOT work. I already tried that.
What happens, instead of a new line in col 2, then col 3, col 4, etc being produced for each song, a new col is produced for each song. So if a directory has 12 songs you see like 15 columns.

Try it and you will see what I mean.
LOOK very carefully at the output I want in each column.
see "sub display", "I want"
sub page (not main page)
Col 1 = no change
Col 2 = song title/location
Col 3 = bitrate and length
Col 4 = song file size
Col 5 = VBR
QUOTE (dano @ Feb 9 2005, 04:15 AM)
Just add another
CODE
<td>...</td>
  under
CODE
<td class="row4" align="center">%_total_size%<br>%_total_files% Files</td>
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 14:00