Download Skin

thecheekmaster

10-07-2006 14:16:55

Hi...

I was wondering whether anyone has created a new skin or modified one to enable users to download from the site?

If you have can you please inform either how this is done or a link to the skin in question..

Thanks...

Bllaxx

10-07-2006 16:51:52

Yes, this would be a very interesting feature indeed. Anyone has a possible solution for this?

Phil

10-07-2006 18:35:23

According to siit (Vibe Streamer creator) it is possible. I would be interested in learning a solution for this as well. Can someone please post a solution for this or send me a private message. Obviously Vibe Stream is just that, a music streamer and not a file transfer utility, but this would still be a nice option. ;)

mglukhovsky

10-07-2006 20:29:54

I'm in the midst of a big project at work, but it should be over in a few days, and I'll take a look and see what's required, since I'm interested in the same functionality.

Amish

10-07-2006 21:32:45

hehe thats well easy. I dont know if i should say becasue that may cause some bad business to this site.

thecheekmaster

10-07-2006 22:43:02

then you can always pm me... D

Amish

10-07-2006 22:50:05

Hmm siit seem to be ok with it. So i will go ahead with the project. I will post it soon.

Amish

10-07-2006 23:30:30

the only problem is, i can only return the last streamed song. So if its cached then it wont show up. I would pass it the object ID but that means that its a security risk. S we need a session.CurrentlyPlaying

siit

10-07-2006 23:35:02

First of all, I see no problem in such a modification itself and it's good that users that wants a special functionality can apply it freely to their skin. Vibe Streamer _is_ intended for personal use and this functionality would make it no difference than a standard FTP server.

EDIT
After a bit of thinking I'd like to mention that Vibe Streamer will not add any official file sharing functionality at this time.

I'm not sure either if I'd like to have such skins with those features officially downloadable here on the forum, so for now I'd like to ask of you all to keep it that way and instead handle such communication using private messages or other ways.

I don't know how it will be in the future, but for now I'd like to lay low on associating Vibe Streamer with any file sharing applications, to avoid confusion and focus on the main purpose Vibe Streamer was intended for.

Amish

11-07-2006 10:56:07

Hmm ok man. Thats why i didnt want to post it in the first place.

Amish

11-07-2006 18:04:45

Well just for refrence, I made one to see if i could.

It downlaod the currently playing song, or the currently paused song. Note the "Download" Button next to the Online Users.

[img3uib5dzs]http://img462.imageshack.us/img462/296/download12xz.jpg[/img3uib5dzs]


It works only for one person, the admin, obviously. If your not allowed you see this.

[img3uib5dzs]http://img363.imageshack.us/img363/9708/download24ze.jpg[/img3uib5dzs]


But sadly i wont be releasing the source public.

Check it

~Amish

sox

11-07-2006 18:08:48

cool! Nice work.

/ sox

Amish

11-07-2006 21:30:24

Thanks man now i need something else to make. D

barrett90

21-07-2006 20:43:29

Just wanted to post that I PM'd amish and he sent me instructions and his code within minutes, and it works like a champ! Thanks man.

Timy_T

22-07-2006 16:09:31

Unforunately, this modification is no seperate skin. I need to give some users the right to download songs and some users continue to use the standard skin.
Or can I simply copy the standard skin and make the modifications. I doubt because I have to name the User in the code. Or can I name more than one user?

Tim

Amish

22-07-2006 16:11:12

I gave you the code. You can do what you will with it. im not sure i fyou can chnage it for more than 1 user, give it a shot.

Timy_T

22-07-2006 16:14:40

What would be the right syntax to put more than one User in?

if (session.User.Username == "amish")

I am not familiar with programming.

Tim

Amish

22-07-2006 16:32:53

Too be honest im not too sure, i dont want anyone takign my stuff apart from me, so i cant say. Im not sure if it supports OR's but i do knwo a way to get the script to run with multiple people

Timy_T

22-07-2006 16:37:19

Well, the easiest workaround would be to make serveral copies (one for each User) and put one user in each.

Why don't you remove the user-ckeck? Wouldn't that be possible, so that all users who get the download-skin assigned in VibeStreamer can download. Why use a user-check at all?

Tim

Amish

22-07-2006 16:44:49

Once again I dont want people to downlaod my music. And if i take it off and people download it you are offically a pirate

Timy_T

22-07-2006 16:52:52

But you have to assign the new skin to users (or only to your user). So nobody can download anything who didn't get the download skin assigned in Vibestreamer. Just leave the standard skin to any user who you do not want to download.

Tim

Amish

22-07-2006 17:15:19

Then do it.

Timy_T

22-07-2006 17:27:23

Well, as it seems, the download doesn't wok anyway for me and my friend who tested it. He gets the Save-Window, but nothing is saved.

Tim

Bulo

23-07-2006 18:28:14

I just finished to modify the standard plugin.
One of the features that I have implemented is the ability to download a file.
So if you are interested, just send me a message. I can give you my skin.

Timy_T

25-07-2006 22:43:00

Hey Bulo,

except for the missing 't' in the Logout-Button, I found minor glitch
The 'KB streamed per second' display in VibeStreamer is not workling correctly when downloading.

Tim

squeeky

26-07-2006 15:53:03

that would be a handy feature, i use my vibe to access my media at work and on the road, would be handy to have the ability to download content to create a cd for in the car....... any way i can get my hands on your skin? roll

brady

08-08-2006 20:17:24

I would like to get my hands on this as well, I could download to my work machine and then put songs I want to listen to that day on my ipod for when I'm not near a internet connection, also I think an upload button would be nice so that if I buy a song at work I can imediatly add it to my collection at home that would make it 10x easier to keep my music in sync, can I get a copy of the latest skin?

Amish

08-08-2006 21:26:22

To upload set up an FTP. and point it to you music directory and upload. Set your vibe to reindex every 10 minutes. Im sure Sitt woudl make a built in Index Directory command in the VIBE language.

brady

08-08-2006 21:28:44

that's a great idea so great infact that it's already been done however some times ftp ports are blocked making that a little tough ;o)

Amish

08-08-2006 21:40:02

chnage the port number insted of 21 change to 80
or 443

micha-el

09-08-2006 12:45:16

Can you give more information how to set up this uploading function?
I hope you can help me

brady

09-08-2006 16:55:23

if you are running xp pro I can gladly tell you how to set up an ftp site that you can upload them to, however if you are running home you will have to use a third party ftp server, I haven't tried the server but I'm going to look into filezilla as I think it supports SFTP.

bigflavor

09-08-2006 17:58:16

Serv-U FTP[/url1vmrudbs] is good.

I think you may mean a download skin, the best I've seen is from [url=http://www.vibestreamer.com/forum/privmsg.php?mode=post&u=871vmrudbs]Bulo[/url1vmrudbs], especially since Amish is so secretive about his skin. P

Amish

09-08-2006 19:17:09

not secretive. Siit dosnt want it to be published so i have to PM it to everyone which is annoying as hell. And i havent been here for 3 weeks soo... I havent seen Bulo's But i assume its probably better than mine, since mine was origionally intened for my use only.

brady

09-08-2006 19:25:59

his is a skin which is nice then you don't have to go add
[quote21akitct]
[code21akitct]
if (session.User.Username == "amish" || session.User.Username == "brady")
[/code21akitct]
From Amish's Code
[/quote21akitct]



for every user that is allowed to download files, instead you can just give them that skin o)

Amish

09-08-2006 19:28:19

And i quote it was origionally made only for me. So if other people wanted it they can edit it themselves. If they cant tough crap.

Bulo

09-08-2006 21:31:50

I'm happy that so many people love my download skin! D
However, I also wrote it for my personal use and I want to recall that it was not intensively tested ...
Concerning bugs ... the only reported bug concerns a "clicking noise". But this is a bug coming from the standard skin .... Just take a look at the support forum if you want a hotfix!

brady

09-08-2006 21:54:39

Hope that's better Amish ;o)

Amish

09-08-2006 22:24:58

whats better?

brady

09-08-2006 22:49:22

I added a quote on my post showing it was from you.

Amish

09-08-2006 22:54:16

I still dont understand. Exaplain?

brady

09-08-2006 23:37:17

Never mind I read something wrong and I'm an idot please forgive me and let me hide under my rock...

bigflavor

10-08-2006 00:27:12

heh... nice one brotha. I said NICE ONE BROTHA!

micha-el

10-08-2006 11:11:39

Thanx ser-u is a very easy way to set up an ftp-site.
Do you think this can be a build in feature in the next vibe streamer?

Amish

10-08-2006 11:38:09

VIbe Streamer is solely made for streaming music to listen too. I assume it probably wont be implemented, plus the FTP method works fine. Although Siit might make a button to reindex music so as soon as you up0laod from FTP you can listen to it straight away.

cheshireccat

26-09-2006 00:28:13

Thanx ser-u is a very easy way to set up an ftp-site.
[/quote2yioai1f]

I know the issue was already dealt with, but I have to recommend FileZilla, great and simple FTP server. just a tip.


¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Amish I agree with you guys about the download not being available to every user, would be nice to be able to set who can and can't download. would be glad to try out yours and Bulo's.


I use it at work and I have 5 of my co workers hooked on my server after 1 day.

brady

26-09-2006 00:31:39

I've been using this method and love Filezilla, however a reindex button would be a dream for certain users

BadBoy

29-12-2006 21:56:27

8) he,i see that you can download ore somwone make it nice,how do i get it zo you can download the song from somwhere els.thx P 8) lol idea

Pope

11-01-2007 08:11:12

^^ what the hell did he just say?

anyway, I have a question that may or may not fall under this subject.

If you add a mime file type; say .exe (because I know it does it for .exe)
When opening the .exe file through vibestreamer, you are able to download it. Why is this so?

Also, on the subject of downloading and adding mime types; is there a way to implement an image viewer in the skin so that you don't have to download every picture before you can see what it is?

Just some thoughts for you guys.

~akapope

FishyDave

05-03-2007 15:08:41

Newbie here, so feel free to tell me to get lost if I'm talking rubbish, but has anyone else looked at HFS to allow downloading?

http//www.rejetto.com/hfs/

I've currently got it set to share the same root folder as my VibeStreamer files, so people can stream them on port 8081 or download them through HFS on port 80. It does mean maintaining separate user lists for each program, but it seems to offer an effective alternative to running an FTP server.

Maybe changing the default port from 80 is a good idea though.

alashcraft

05-07-2007 17:48:08

Nice job on the download skin, Amish. Looks sweet.

techgeek27

23-01-2008 08:45:49

my download code...

it might mess up your flash player cause of the code in variable.. oh well i might fix it later...


so in the player.vibe file.. find this area....
[quote3p799yg7] // set artist
var tdArtist = g_objProcessing.childNodes[1];
if ( sArtist.length!=0 )
tdArtist.innerHTML = sArtist;


else
tdArtist.innerHTML = 'Unknown';


[/quote3p799yg7]
then after this enter a couple of lines and put....
[quote3p799yg7]
// DOWNLOAD ICON Code
///////////////////////////////////////////////////////////////////////////////////////
tdArtist.innerHTML = '<a title="Right Click and save me to download." style="cursorhand" href="/virtual/' + url_encode(g_objProcessing.id) + '"><image src="images/downloadme.gif" border="0" height="18"></a> ' + tdArtist.innerHTML ;


///////////////////////////////////////////////////////////////////////////////////////
[/quote3p799yg7]


I just used a simple image for the download icon you can make it whatever you want...

This puts a download icon next to the song you have in your playlist...

enjoy..

CoDEmanX

10-03-2008 21:35:22

hey techgeek,

thanks for sharing the code!

1. It works, but as you mentioned, it totally messes the player and the playlist up

[img2304kjgy]http://img3.imagebanana.com/img/zjoq77c5/thumb/messedup.JPG[/img2304kjgy][/url2304kjgy]
(after i tried to move some entries using right-click + drag)

2. without your code addon i have another problem i'm using firefox, javascript is enabled and deactivation of the context menu is allowd. But when i right-click a playlist entry, move it and release mouse, context menu pops up. Thats really annoying.


how to fix these errors?

1. new row for download icon? i'm new to VibeStreamer, tried it but didn't work (layout messed up)

2. how can i deactivate firefox's context menu? like shown here but with empty menu?
http//luke.breuer.com/tutorial/js_contextmenu.htm
and where to put the code?


//edit i successfully added a new row. only one thing when i right-click the new column and move it, the whole list get messed up (like in the screenshot above). please give me a hint where i find the relevant code (dragging).


[u2304kjgy]what i did[/u2304kjgy]

replaced numbers of childNodes (replace function of a text editor)

childNodes[3] => childNodes[4]
childNodes[2] => childNodes[3]
childNodes[1] => childNodes[2]


new css class
[code2304kjgy].playlistRowItem0
{
width:15px; /* Download */
}[/code2304kjgy]

added new row (playlistRowItem0)
[code2304kjgy] <td class="playlistRowItem1" unselectable="on">&nbsp;</td>
<td class="playlistRowItem0" unselectable="on">&nbsp;</td>
<td class="playlistRowItem2" unselectable="on">Artist</td> [/code2304kjgy]
[code2304kjgy] <td class="playlistRowItem1" unselectable="on" height=0></td>
<td class="playlistRowItem0" unselectable="on" height=0></td>
<td class="playlistRowItem2" unselectable="on" height=0></td> [/code2304kjgy]

add track function (item0)
[code2304kjgy] // item 1
td = document.createElement('TD')
td.className='playlistRowItem1';
td.innerHTML = '&nbsp;';
tr.appendChild(td);

// item 0
td = document.createElement('TD')
td.className='playlistRowItem0';
td.innerHTML = '&nbsp;';
tr.appendChild(td);[/code2304kjgy]

update track function
[code2304kjgy] // set download icon
var tdDownload = g_objProcessing.childNodes[1];
tdDownload.innerHTML = '<a title="Right Click and save me to download." style="cursor:hand" href="/virtual/' + url_encode(g_objProcessing.id) + '"><image src="images/download2.png" border="0"></a> ';
[/code2304kjgy]

//edit2
error messages
[code2304kjgy]
Error: tdTime has no properties
Source file: http://plazmatix.homeftp.net/player.vibe
Line: 594

Error: [Exception... "Node cannot be inserted at the specified point in the hierarchy" code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location: "http://plazmatix.homeftp.net/jscript/functions.js Line: 34"]
Source file: http://plazmatix.homeftp.net/jscript/functions.js
Line: 34
[/code2304kjgy]

[url=http://img3.imagebanana.com/view/bg6rty6g/messedup.png2304kjgy][img2304kjgy]http://img3.imagebanana.com/img/bg6rty6g/thumb/messedup.png[/img2304kjgy][/url2304kjgy]

//edit3
left-click drag operation (even if it showed that "not allowed" sign, a black circle with a line across => nothing should happen, but look)
[url=http://img3.imagebanana.com/view/8ru75jw9/messedup2.png2304kjgy][img2304kjgy]http://img3.imagebanana.com/img/8ru75jw9/thumb/messedup2.png[/img2304kjgy][/url2304kjgy]

CoDEmanX

11-03-2008 02:14:48

ok, tried something different

[code7ph11jur].dl:after
{
content: url('images/download2.png');
}[/code7ph11jur]

[code7ph11jur] // set artist
var tdArtist = g_objProcessing.childNodes[1];
if ( sArtist.length!=0 )
tdArtist.innerHTML = '<a title="Right Click and save me to download." style="cursor:hand" href="/virtual/' + url_encode(g_objProcessing.id) + '"><span class="dl"></span></a>' + sArtist;[/code7ph11jur]

this solution doesn't require a new row. link + graphic working, no display problem with player.


BUT i recognized, that the error with the dragging stuff also happens with the unmodified skin. so is this a general problem, a huge bug? please tell me how this can be fixed.

"The included standard skin supports the latest versions of Internet Explorer, [b7ph11jur]Mozilla Firefox[/b7ph11jur] and Opera."

Thats not true, apart of the dragging stuff there are more bugs text gets highlighted on dragging operations, sometimes dragging is still active after releasing mouse button, frames aren't loaded every time (manual refresh required, especially when accessed locally).
//edit similar with IE6 (

makr

05-04-2008 14:54:11

[brvqq4jly]Made this skin [/brvqq4jly]
[urlrvqq4jly]http://www.vibestreamer.com/forum/viewtopic.php?t=533[/urlrvqq4jly]

Please comment/vote on it
Would love to get some help getting the Search & Download functions implemented

CoDEmanX

06-04-2008 00:22:31

see my post above, it works, only add the download thing too even if sArtists is empty. But the playlist will still mess up when you try to move the entry by dragging the first column, that is a general bug.

makr

06-04-2008 04:09:45

see my post above, it works, only add the download thing too even if sArtists is empty. But the playlist will still mess up when you try to move the entry by dragging the first column, that is a general bug.[/quote1l6vktjo]

got downloads working like a charm now, except for the non evading bugs ofc , but check out
[url1l6vktjo]http://www.vibestreamer.com/forum/viewtopic.php?t=533[/url1l6vktjo]

made some nice gif animations to that someone might want to "steal" twisted

johnniesmith

23-06-2008 04:32:20

Hello all... I am a newbie here... so please... bear with me. I am an Indie Label Owner and I use vibestreamer to test my new songs out on a select group that help with proofing my writing skills etc... I was looking through this string the other day... and was kind of confused... when I listen to the MP3's through Vibestreamer they download to my Temporary Internet files folder so that they can be played by the skin I am using... so... why would I need to use a different skin that will allow me to download the files when the default skin does that already? all I have to do is open the Temporary Internet Files folder and move it where I want it. Now since these people are listening to all new material... I prefer that my files in vibestreamer NOT be downloaded... but I don't think there is a way around this... any suggestions?