Use FLASH MP3 PLAYER in MediaBrowser 4.x and wan access

General discussion about the media server. Feature requests. Hints, tips and tricks.
Post Reply
HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Use FLASH MP3 PLAYER in MediaBrowser 4.x and wan access

Post by HaPe » Sat May 26, 2007 4:38 pm

Hi,

i changed the MediaBrowser.js of TwonkyMedia 4.x again. It uses the FLASH MP3 PLAYER to play mp3 and m3u files.

Here is the list of changes from the readme:
- Fixed problem with loading in IE6 and IE7
- Now also works for m3u playlists lists
- updated to FLASH MP3 PLAYER 3.8
- added "no cover" image
- added cover support for mp3 files

Here is a screenshot:
Image

You can download the changed version here: Flash MP3 Player for TwonkyMedia 4.x

P.s.: I had to recreate the code from scratch. Even if the fronted is the same the code works totally different internally. So if you find any problems leave a message.

I hope you enjoy it
Hape
Last edited by HaPe on Sat May 26, 2007 10:27 pm, edited 2 times in total.

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Access over wlan

Post by HaPe » Sat May 26, 2007 10:15 pm

Hi,

I missed the most important change in my last post.
The streaming over wan is working now!!
My code replaces the IP address of the link that is generated form the server with the one that the browser points to on the fly before passing it to the player (even inside play lists!).

I only had time to do some basic testing. I'm interested in your results.

Good luck

HaPe

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

New verison V070604

Post by HaPe » Mon Jun 04, 2007 8:00 pm

Hi all,

I fixed a small timing problem. The playlist should now be loaded without problems.
In the old version you needed to select the shuffle on or off to load the playlist sometimes. The problem was that the script tried to load the titles into the player before it was ready.

The download link is the same. You can take the one from the first post.

HaPe

k1200rs
Posts: 340
Joined: Wed Jul 27, 2005 9:24 pm
AV Hardware: Does no longer attend this forum.
Location: Somewhere in the French Alps

Post by k1200rs » Mon Jun 04, 2007 8:40 pm

Impressive.
How do you tell Twonkyvision to use your player? Where is the setting we need to change?
Regards

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Post by HaPe » Tue Jun 05, 2007 7:23 am

Hi k1200rs,

you do not need to change any settings. Simply copied the filed that are in the resources folder of the zip archive to the resources folder inside your Twonky installation folder. That's it.

You do not need to restart the server, simply point to the MediaBrowser and it will us the player

HaPe

jensm
Posts: 3
Joined: Thu Jun 08, 2006 11:30 am

Great - thanks a lot

Post by jensm » Tue Jun 05, 2007 8:40 am

Hi,

Thanks a lot for the great work - it works perfectly! How about suggesting that Twonky incorporate it into the official release?

/Jens

NSLU
Posts: 4
Joined: Tue Jun 05, 2007 9:24 am

Wan access easy

Post by NSLU » Tue Jun 05, 2007 9:38 am

For me I finished all experiments with the Twonky and Wan-access!
On my NSLU2 I installed 'python' - it runs on every system, I think, even on a windows system...
As a wan music-Server I use 'edna' http://edna.sourceforge.net/.
It's easy to configure (edit a small and easy to understand conf-file), it even has a password-protection.
Of course I use Twonky in my home-network for the NOXON2 and NetgearMP101!
If you need more infos (installing on NSLU...) feel free to repost!

The prog is very fast and it really streams (works good with winamp)
Image

ogre_x
Posts: 75
Joined: Tue Sep 05, 2006 7:12 am
AV Hardware: ClearOS 5.1 Linux server (4.4.18)
ClearOS 5.1 Linux server (5.1.3)
PS3
HDX-HD1000
Location: Stockholm, Sweden
Contact:

Album Art

Post by ogre_x » Thu Jun 07, 2007 7:29 am

Hi,

I've been using this for a few days now and it seems to work very well.

I don't understand how albumart is supposed to work though. What kind of file (name, type, place) should be used to show the album art?

zooman
Posts: 3
Joined: Mon Jun 04, 2007 1:13 pm

Post by zooman » Thu Jun 14, 2007 11:14 am

Add a "cover"-tag with an image embedded in the mp3-file. Nice free utility:
"Mp3Tag" http://www.mp3tag.de/

Bartek
Posts: 14
Joined: Sat Jun 09, 2007 9:44 am

Post by Bartek » Thu Jun 14, 2007 5:42 pm

Hey,

@HaPe
I have downloaded it, unzipped to resource folder in Twonky installation folder, then going to http://10.2.0.1:9001/webbrowse and when I choose any mp3 file to play windows pop's up asking what should I do with this file.

What should I set to open it using Flash MP3 Player?

EDIT

I installed version 4.3 and it works fine, does not works with latest beta, at least for me, any1 can confirm it?

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Post by HaPe » Sun Jun 17, 2007 3:12 pm

Bartek wrote: I have downloaded it, unzipped to resource folder in Twonky installation folder, then going to http://10.2.0.1:9001/webbrowse and when I choose any mp3 file to play windows pop's up asking what should I do with this file.
Hi,

webbrowse is not supported at the moment. I will try to intigrate it, but at the moment i have no idea how. As the htm is now generated by twonkymedia in the fly.
If you take the current beta and open http://10.2.0.1:9001/Mediabroeser the it should still work.

Hanspeter

Sianth
Posts: 8
Joined: Thu Aug 18, 2005 11:35 am

Post by Sianth » Tue Jun 19, 2007 7:03 pm

This works just fine. I can now use my wii as a media player!
THANK YOU :-) :D

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Post by HaPe » Wed Jun 20, 2007 9:14 am

Sianth wrote:This works just fine. I can now use my wii as a media player!
THANK YOU :-) :D
How do you use it on an WII?
With a web browser?

HaPe

Sianth
Posts: 8
Joined: Thu Aug 18, 2005 11:35 am

Post by Sianth » Wed Jun 20, 2007 3:26 pm

Yeps - with a web browser.
The wii has an internet channel - I just direct the browser to the twonky media browser as I would normally do and "hey presto" there it is just like on a PC or Mac!

amp
Posts: 1
Joined: Wed May 30, 2007 12:32 pm

Re: wan access easy

Post by amp » Mon Jul 02, 2007 4:17 pm

NSLU wrote:
For me I finished all experiments with the Twonky and Wan-access!
On my NSLU2 I installed 'python' - it runs on every system, I think, even on a windows system...
As a wan music-Server I use 'edna' http://edna.sourceforge.net/.
It's easy to configure (edit a small and easy to understand conf-file), it even has a password-protection.
Of course I use Twonky in my home-network for the NOXON2 and NetgearMP101!
If you need more infos (installing on NSLU...) feel free to repost!
Thanks for that tip---I hadn't come across edna before.

I've put edna in a folder on my unslung NSLU2, started it from a shell and tried streaming mp3s over port 8080 to an external connection, with success. So now I'd like to do a

Code: Select all

make install-daemon
for edna. Did you successfully hack the edna init.d stuff to work on an unslung NSLU2?

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Twonkymedia 4.4 and MediaBrowser

Post by HaPe » Sat Jul 07, 2007 5:16 pm

denon_fan wrote:What about the new Version 4.4? There is no JS anymore :-(
Yes you are right. I'm searching for a way to make it possible.

Until that you can continue to use the MediaBrowser. To do that in 4.4 you need to do the following:
1.) You need to have version 4.3 somewhere.
2.) Copy the MediaBrowser.html from the resources folder of version 4.3 and my files into the resources folder of version 4.4.
3.) Now you can access the MediaBrowser with: http://x.x.x.x:9000/configpage/MediaBrowser.html

It will still work like it did in 4.3

HaPe

kabubu
Posts: 8
Joined: Wed Apr 11, 2007 7:34 am

4.4 with Flash Mp3 Player

Post by kabubu » Tue Jul 10, 2007 6:06 am

Hi HaPe

Any news about your great tool Flash MP3 Player and Twonky 4.4?

Regards, KaBuBu

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Re: 4.4 with Flash Mp3 Player

Post by HaPe » Thu Jul 12, 2007 1:23 pm

kabubu wrote:Hi HaPe

Any news about your great tool Flash MP3 Player and Twonky 4.4?

Regards, KaBuBu
I'm still searching for a way to make it possible, but until know I do not have a working solution. In the next weeks I'm on holiday, so do not expect anything before mid of August.

HaPe

HaPe
Posts: 58
Joined: Wed Sep 06, 2006 11:04 pm

Re: 4.4 with Flash Mp3 Player

Post by HaPe » Thu Aug 16, 2007 2:43 pm

kabubu wrote:Hi HaPe

Any news about your great tool Flash MP3 Player and Twonky 4.4?

Regards, KaBuBu
Hi folks,

it is done. you can find the version for Twonky 4.4.1 here: http://www.twonkyforum.com/viewtopic.php?p=14077#14077

Thanks again to twonky-christian for making it possible.

HaPe

Post Reply