rejetto forum

Testing Thunderchicken_of_Glory

fabnos · 26 · 16915

0 Members and 1 Guest are viewing this topic.

Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Hi at all

I'm testing Thunderchicken_of_Glory with 120 .mp3's songs.

A little Xmas gift for you, it's better if you try the first one -> 0000000_BadToThe Bone  8)

My problem is that in local all work well, but in my lan the other pc don't sing any  >:(

Which should be the error ?

Tnx a lot

http://fabnos.fast-ip.eu
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile

I couldn't get that page to load.  With 120 instances of mp3player.swf trying to load at the same time,  you probably have cpu load problems (constant 100%).  Maybe make 4 or 5 pages out of it.
« Last Edit: December 24, 2006, 06:03:04 PM by maverick »
maverick


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Tnx a lot  ;)
Then, how many songs may be inserted ? There is a method to evalute this number ?
F.
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
I use this method to try and determine how many mp3's I can put on a page and still leave enough cpu to do other things.

What I do is run windows task manager and watch how much cpu load there is while the page loads and more importantly what's left after it loads.  There will be 100% load while the page is loading but once it is loaded the cpu load should drop so other tasks can be run.  If it doesn't drop that tells you that there are still to many mp3's on the page.  I have one page with 25 mp3's and 25 thumbs.  After the page is loaded, my cpu load drops to 80-85%. 

Another thing I should mention.   I came across some mp3's that I just couldn't get any sound from with mp3player.swf.  For the longest time I couldn't figure out why some played and others no audio???  Then I figured out what the problem was --> mp3player.swf needs the mp3 ID3 tag which was missing from those mp3's.  I just added the music name to make a ID3 tag with winamp and now mp3player.swf plays those mp3's no problem.
« Last Edit: December 24, 2006, 07:26:49 PM by maverick »
maverick


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Tnx again
I've made a xmas collection more little so if you have time it's online.
best regards
fabio
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
That's better.  The page loaded fast.

Now the problem you have seems that mp3player.swf can't find the mp3 file.  I looked at your template source and I think that's the problem.  Try this instead of what you have now and see if that helps:

This goes in the [file.mp3] section...

<object>
<param value="http://%host%/mp3player.swf" />
<param name="flashvars"/><embed src="http://%host%/mp3player.swf" width="100" height="19" name="mp3player" flashvars="file=%item-url%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


>>> NEW - this is what I'm using now <<<

<embed src="/mp3player.swf" width="100" height="19" bgcolor="#808080"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=%item-url%" />
« Last Edit: January 11, 2007, 08:58:11 AM by maverick »
maverick


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Yes, i have noticed this problem here, i want a smaller mp3player, one that doesnt support anything except the streaming of 1 single mp3, i am thinking of making my own one, but atm i am at christmas party lol, borrowing aunties computer. So when i get home i will get stuck into this mp3 issue... the problem is the mp3 player looks for a playlist before it becomes a single file mp3 player... which sucks... maybe i could cut away at the source of the one i have... who knows, i will see how i go... Also i cant wait until we can set the amount of files/page like on this forum  :) that will make it much nicer to use ! i think 20/page is good amount but more than that is just confusing...


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
let me try to help, the code i used here, and this one works for me...

i created a section file.mp3 like this bellow:
Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
  <param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
  <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

my hfs root folder is like this here


[attachment deleted by admin]
<<LeDuFe>>


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Well
I will send 3 .tpl in ita I think have putted your MP3 section right.

000..... is default from Thunderchicken_of_Glory
001..... is with Maverick's MP3 section
002..... is with Ledufe's MP3 section

In 000 and 001 all works baut only in local
With 002 don't work also in local  :'(

May be my PC is too poor in resources (CPU, RAM, etc.) ?

Other thing is that mp3 player hide friends when mouse is over their links (address are behind player)

Hi Maverick, a very very nice template those of your site  ;D




[attachment deleted by admin]
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Strange seeing my template in a different language hehe, nice to know its out there  :D, i have 2.2ghz, 2gb ram and i find its working fine on about 20-40 songs, i don't have folders with more than that sort of size so its not much of a problem, i will now look for a better mp3 player, maybe one thats is simply a button! something about 1-3kb would be great... bit tired though, its been a long day lol. I am still tempted to make my own streaming button...

Oh and about the tooltip goin under the player, i also found this happened, i think flash sits on top of the page... cause the tooltips load at z-index:100; i think... maybe try setting a z-index: ?; for the mp3player...

I think making a smaller mp3 player will take the load of the cpu's and ram bit more...

After shower i will get to work!

BTW A NEW VERSION HAS BEEN POSTED NOW, just the latest version, hasn't got this new fixes yet though.
« Last Edit: December 25, 2006, 10:26:40 AM by That_Stevens_Guy »


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
Well
I will send 3 .tpl in ita I think have putted your MP3 section right.

002..... is with Ledufe's MP3 section

With 002 don't work also in local  :'(

your code on [file.mp3] section
Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
          codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
          <param name="movie" value="http://%host%/mp3player.swf" />
          <param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
          <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td>
</tr>

this one works on my [file.mp3]
Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
  <param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
  <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

if you look both codes looks the same, but i thinked in one thing, are your hfs encoding non-ASCII characters?
try disabling and enabling it, cause the generated html may be with
"&amp;" instead "&"...

May be my PC is too poor in resources (CPU, RAM, etc.) ?
from adobe/macromedia page
http://www.adobe.com/products/flashplayer/productinfo/systemreqs/

Quote
Windows     
Intel® Pentium® II 450MHz or faster processor (or equivalent)
128MB of RAM

Other thing is that mp3 player hide friends when mouse is over their links (address are behind player)
i don´t know this one, may be the css....
<<LeDuFe>>


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Tnx Ledufe but don't work.
Is not a very important thing (for me).
As just said I'm only testing and .... translating in italian all what I can and find.
So I see often your HFS server (and now also Maverick's HFS, That_Stevens_Guy, and all others) to bring some new ideas .
I've not a big knowledge about HTTP code and so traducing is a good way to learn something in +

When my HFS will be more up I will put a folder with all the italian .tpl I've already translated (and also all technical documentation, if someone send this to me)

Best regards

fabnos

« Last Edit: December 25, 2006, 11:05:29 AM by fabnos »
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
I am testing a new mp3 player i found, it is only 2.5kb! much nicer, i wish to decompile and remove some un-needed animation and condense the code more, could get it to 2kb if i tried i think... but i need a program to do it... it loads much better than the last one i had!

EDIT: i have edited it down to 1.18kb!!! i also added a real total time, i am still working on showing the position counter in time format instead of a second counter! it has also been coloured like the ToG

Attached is some previews, code example, (fell free to show me an improved version) and the player i have embedded.

Code: [Select]
[file.mp3]
<tr class=off onmouseover="this.className='on'" onmouseout="this.className='off'">
<td class=rw style="border-left:0px;">%new% <a href="%item-url%">&nbsp;<img align=top src="/~img_file" alt=""> %item-name%</a>%comment%<td class=rw align=center>%item-size%</td>
<td class=rw align=center>%item-modified%</td>
<td class=rw align=left width=100 style="background:#EAEDF4;">&nbsp;%item-dl-count%<br>
<object type="application/x-shockwave-flash" width=160 height=20 data="/mp3player.swf?song=%item-url%" bgcolor="#EAEDF4">
<param name="movie" value="/mp3player.swf?song=%item-url%"/>
<param name="bgcolor" value="#EAEDF4"/>
</object>
</td>
</tr>

[attachment deleted by admin]
« Last Edit: May 13, 2010, 06:02:47 AM by TSG »


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin
O thank you  :P
I came across some mp3's that I just couldn't get any sound from with mp3player.swf.  For the longest time I couldn't figure out why some played and others no audio???
Same thing here. I use Opera mainly and i thought i had this odd memory/cache/pagefile problem and did a major cleaning job on my PC. (AMD64x2/1gigRAM) And i didnt get any wiser when i copy/pasted the url into iexplorer and found out that some of the non working songs suddely worked  :-\
So witch song work and who do not, seems to me to be totally random.

When i use Opera and click on filename of the song, it opens in a new window and a slim`n smoot quicktime player appears. So i was thinking about the possibillyties to implent that player into the template since its already a innstalled plugin. So i found some info about it here:
http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_HTML/index.html#//apple_ref/doc/uid/TP40001525

I did manage to implent some kind of a player to, with this code:

<OBJECT
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"
width="320" height="256"
id="movie1">
<PARAM name="src" value="MyMovie.mov"> 
<EMBED HEIGHT=256 WIDTH=320
SRC="MyMovie.mov"
TYPE="video/quicktime"
PLUGINSPAGE="www.apple.com/quicktime/download"
EnableJavaScript="true" /
NAME="movie1"/>
</OBJECT>

But i didnt get it to play ??? So i must admit, java is out of my leage  :'(
But it looked verry nice ;D

My second thought about this, if this could work perfect on mp3, the way to a nice working movieplayer would be shorter.

HAPPY NEW YEAR!

..i think im gonna organize some image dir`s with thumbs now  ;D



GOD CAN READ YOUR MIND


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Ye i dont like the quicktime player much, it stalls up all of my browsers, could be a quicktime issue though, i like the idea of flash because it is usable by almost everbody, in any browser.

I am thinking of removing the one player/ file and inserting a playlists generator i was shown, along with the jiroenwignenedssdfsd player. It appears to work well in all browsers except IE, so work is needed before this ends up in the ToG. Cross browser support is what we aim for ;D

For now it will have my default single player for the time being. It runs ok with about 10 - 50 songs in a folder. Flynsarmy ran a test with 5000 mp3's rofl (He has an almost identical PC to mine, we differ by 20gb hdd space lol). It just constantly chewed up RAM till almost crashing his computer, so just a warning DO NOT USE IT WITH 5000 SONGS! unless you own a super computer lol.  :o

BTW this new mp3player.swf i have made doesnt seem to have the file not play issue. they all play for me.
« Last Edit: January 11, 2007, 04:23:12 AM by That_Stevens_Guy »