Firefox + (vlc plugIn) + Amarok = FireRok :)

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
atlas

Firefox + (vlc plugIn) + Amarok = FireRok :)

Postby atlas » 16 Jan 2006 18:14

Hi everybody.


I'm currently building an application called (for the moment) FIREROK.
Why FireRok ?

-> Firefox + Amarok = FireRok :)

For those who don't know Amarok, you can see screenshots here: http://amarok.kde.org/index.php?set_alb ... _photo.php

amaroK is a music player for Linux and Unix with an intuitive interface. amaroK makes playing the music you love easier than ever before - and looks good doing it.

When you have already use it, you can't use another one :)


FireRok uses PHP, MYSQL, JAVASCRIPT (AJAX) and the vlc plugin for mozilla. It runs under firefox for the moment.

I'm building it because I love amarok and I can't use it if i'm not under linux or MacOsX.

For the moment, you need a local webserver to access to your music collection but in the future I think that i could use VLS to stream the collection, and control it by FireRok running on a lambda online webserver.
So you could listen you music collection everywhere: at home, at work, at school etc...

You can see a screenshot of Firerok here (the actual version is ALPHA...): http://back2web.com/firerok.png



I have started this project only last week so, a lot of work still to be done. But actually, i'm stuck with few problems.


To select the right song in my playlist (the firerok one, not the vlc one), i need to know which song or which song number (the position) of the vlc playlist is currently playing.

And my second problem: I can't jump directly to a song in the vlc playlist. For example, if i doubleclick on the firerok playslist, on the 14th songs, i would like to directly jump on the 14th song in my vlc playlist.


So i'm looking for function like that in the mozilla plug-in:

Code: Select all

get_playlist_position(); (return INT) play(var INT); //where the int is the song position in the playlist (play() or jump() or something like that :)
In fact, when i started this projet, i believe that i will be able to that using those functions:

Code: Select all

set_int_variable(var_name, value) set_bool_variable(var_name, value) set_str_variable(var_name, value) get_int_variable(var_name) get_bool_variable(var_name) get_str_variable(var_name)

But after a lot of search on the vlc forum, i believe that they don't work in the actual version of vlc :(

Does someone of the vlc team might give me some little help please?

I just want to know if my project have a future :)

Thx a lot
Have a good day

-Atlas-[/code][/url]

Guest

Postby Guest » 02 Mar 2006 14:04

im guessing there isnt a javascript command for either the mozilla or activex plugin that will return the filename (or no. ?) of the playlist item currently being played by the plugin. this would be kind of useful for me as it would enable me to easily emulate windows media url scripting commands so that i can load relevant info (in .swf form) into an adjoining frame.

any help appreciated. alternatively if noone knows what the hell im on about then never mind

luv

vaiz

vaiz
New Cone
New Cone
Posts: 3
Joined: 02 Mar 2006 14:06

Postby vaiz » 02 Mar 2006 14:19

both these posts (above and below) are me (vaiz) - just to clarify :)
Last edited by vaiz on 07 Mar 2006 01:47, edited 1 time in total.

Guest

Postby Guest » 03 Mar 2006 15:29

..well yes okay there are commands that will return certain values but theyre useless for a LIVE STREAM. for what im wanting to do (see above) im guessing the easiest way would be to modify the new "web interface" so that when the filename changes, a line in the "web interface" html copies over the index.htm page (for the info frame) in my web server folder.

i suppose i could then use the getplaylistindex command in the main index page (where the video is embedded) to refresh the info frame at the viewers end when the video clip changes. ive tried getplaylistindex (with a live stream) and it seems to increment by 1 with every vid that axvlc plays.

hope this makes sense to someone (...cos im still not sure it does to me)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests