Sign up here and you can log into the forum!

Webplayer Jukebox app.bin

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Re: Webplayer Jukebox app.bin   

Postby Martin_L » Wed Jan 04, 2012 1:59 pm

KAD wrote:finally got around to trying this out, and it sounds like I've got the same issue as pennhaven
all my media is on a mounted NFS share, so I was not able to access any media using this webplayer

@KAD

Thanks for looking at it.
The player can also search for files by browsing the folders tree. Can that be an option for you? The root of the tree can be changed, allowing you to browse your files where you have them.
One other question: Can you access your files using the WD Media Library option? i.e. by author, genre... If not, do you use any other indexing method that work for NFS shares and that could be implemented in the player?

Regards,

Martin
Martin_L
WDTVer
 
Posts: 44
Joined: Mon Mar 28, 2011 3:11 am

Re: Webplayer Jukebox app.bin   

Postby KAD » Wed Jan 04, 2012 3:24 pm

browsing by folder tree would be ideal, since I don't use the media library option on my WD

I did not spend much time last night, so little in fact, I did not notice that I could browse by folder tree
will take another look

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4005
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Webplayer Jukebox app.bin   

Postby KAD » Wed Jan 04, 2012 7:45 pm

ok, I see, must be in catalog view before the file browse option is available

now if I could designate it to start in file mode with a specified starting folder

also would be nice if there was a play button for individual files in file browse mode

KAD

edit: I know this isn't designed to be used with a tv screen, but generating meta would ensure that the info displayed on screen is correct
currently it just shows whatever last meta data available
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4005
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Webplayer Jukebox app.bin   

Postby Martin_L » Sun Jan 15, 2012 5:03 pm

New version of the player out from the oven!!
You can find it in my google site (see first post).

@llucax, the filter of shown files is now configurable as you suggested.

@KAD, now you can designate it to start in file mode, and in a specified starting folder and...
I created the immediate play mode after your petition for a play button for individual files in file browse mode.
Instead of adding a button (that dual button was in the original mozilla's and wondercrow's versions) you can choose your mode, add to playlist or immediate play. The problem with the two buttons is that when you were creating a playlist, there would be the risk of hitting the (wrong) play button and your playlist was deleted!
The immediate play also alows to play whole albums!

    0.6.6
    -----
  • Volume button in the playlist/reproduction control tool bar. Displays an auxiliary screen from where volume can be changed
  • Configs page includes now more options:
    * Endless play: When "on", the playlist goes back to play the first track when the last one ends.
    * Immediate play: When "on", whlie browsing, whenever a folder, or album, or set of tracks or individual tracks are added to the playlist (by pressing "+") these tracks overwrite the playlist and the first one starts to be played (even if the list was previously "stopped").
    * Database origin (still there): select which wdtv.cas (which drive) to use for database browsing. Currently, database only regards sound tracks.
    * Initial catalog browsing page: you can select whether, from the playlist, you switch to folder browsing or database browsing. You can still switch between them afterwards. (please note that this option remain active while browsing the page and it is reset if you close or refresh the browser - it is not stored at the server side)
  • Option to select your own filter for files shown in the browsing folders mode. The player can sequence any kind of file that is acepcted by upnp-cmd. Currently this option can only be changed by creating a config key that is loaded when the daemon is started. You can create it in the Webend (manual creation of a key) or by typing in telnet.
    Default option:
    key not present, or:
    config_tool -c WEBPLAYER_ALLOWED_TYPES=''
    or:
    config_tool -c WEBPLAYER_ALLOWED_TYPES='mp3|flac|avi|wma'
    Restriting to audio files:
    config_tool -c WEBPLAYER_ALLOWED_TYPES='mp3|flac|wma'
    Showing just flv videos:
    config_tool -c WEBPLAYER_ALLOWED_TYPES='flv'
  • Option to select your own initial directory to start the browsing in folders mode. Currently this option can only be changed by creating a config key that is loaded when the daemon is started. You can create it in the Webend (manual creation of a key) or by typing in telnet.
    Default option:
    key not present, or:
    config_tool -c WEBPLAYER_ROOT_DIR=''
    or:
    config_tool -c WEBPLAYER_ROOT_DIR='/tmp/media/usb'
    (remember to save the conf dir globally by typing "config_tool -s")
  • FIXED: Correctly browsing back to root.
Martin_L
WDTVer
 
Posts: 44
Joined: Mon Mar 28, 2011 3:11 am

Re: Webplayer Jukebox app.bin   

Postby Martin_L » Sun Jan 15, 2012 5:14 pm

KAD wrote:edit: I know this isn't designed to be used with a tv screen, but generating meta would ensure that the info displayed on screen is correct
currently it just shows whatever last meta data available

I tried to do this but failed in this version. I have to figure out what is going wrong.
I currently have this perl code:
Code: Select all
  `sudo /usr/bin/upnp-cmd SetAVTransportURI "file://$PLAYLIST[$item]"`;
  `sudo /usr/bin/upnp-cmd Play`;

But I could not make any of these work:
Code: Select all
my $unescapeduri = uri_unescape($PLAYLIST[$item]);
`sudo /usr/bin/play "$unescapeduri"`;

Code: Select all
my $metadata = "'" . `sudo /usr/bin/upnp-meta "$PLAYLIST[$item]"` . "'";
`sudo /usr/bin/upnp-cmd SetAVTransportURI "file://$PLAYLIST[$item]" $metadata`;

Any suggestions why these would be failing?
Martin_L
WDTVer
 
Posts: 44
Joined: Mon Mar 28, 2011 3:11 am

Re: Webplayer Jukebox app.bin   

Postby KAD » Sun Jan 15, 2012 9:50 pm

well, not sure I'm the best, I'm once again today, proving how poor my scripting abilities are :lol: @self

I currently have this perl code:
Code: Select all
`sudo /usr/bin/upnp-cmd SetAVTransportURI "file://$PLAYLIST[$item]"`;
      `sudo /usr/bin/upnp-cmd Play`;



you don't need to both SetAVTransportURI and Play
The Play script will generate meta, set the transport, and start playing the file

maybe something like this
Code: Select all
`sudo /usr/bin/play $PLAYLIST`;


it's also important to note that Play script was added and upnp-cmd was updated in WDLXTV firmware 5.1.1
on prior firmwares the Play script will not work

this is part of a .js script were I used the play script
Code: Select all
res = executeCmd(this.rootPath + "etc/init.d/play \"" + MyScreensaver + "\"", 3);


KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4005
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Webplayer Jukebox app.bin   

Postby Jimble » Tue Jan 17, 2012 1:47 am

Thanks for creating this! It's a great addition to my WDTV. Not having to have the tv and still browse/play my music is brilliant.

One thing i wanted to ask. To browse this on my iphone, what would the web address be?

i'm guessing "IP_adress_of_wdtv/something"

It would be even better if this could be put into an iphone app as well.
Jimble
Donor
 
Posts: 83
Joined: Thu Aug 05, 2010 3:37 am

Re: Webplayer Jukebox app.bin   

Postby Martin_L » Tue Jan 17, 2012 2:57 pm

Jimble wrote:To browse this on my iphone, what would the web address be?
i'm guessing "IP_adress_of_wdtv/something"

IP_adress_of_wdtv:8080

It would be even better if this could be put into an iphone app as well.

You can (sort of, it is a webapp). Just browse to the page (IP_adress_of_wdtv:8080) in Safari, and use the "+" button of Safari. "Add to Home Screen".
Just a tutorial for this process: http://browsers.about.com/od/howtousemobilebrowser1/ss/iphonehomeicons.htm

Enjoy!

Martin
Martin_L
WDTVer
 
Posts: 44
Joined: Mon Mar 28, 2011 3:11 am

Re: Webplayer Jukebox app.bin   

Postby Mormy » Thu Jan 19, 2012 1:51 am

I really thanks you for working at this app. It's exactly what I'm looking for to save my plasma tv while I'm listening my music :)

I would like that my father use it too, but he need the purest audio signal to be processed by an external DAC.

However, now I must understund how to create the playlist, so I could start my favourite or my album from the start screen ;)

Thank you again :)
Mormy
Donor
 
Posts: 22
Joined: Tue Aug 23, 2011 1:43 am

Re: Webplayer Jukebox app.bin   

Postby rgalka » Thu Jan 19, 2012 10:32 am

Mormy wrote:However, now I must understund how to create the playlist, so I could start my favourite or my album from the start screen ;)


This program work for me.... http://www.oddgravity.de/app-opc.php
If you need help using it with the WDTV just ask.

Bob
rgalka
Donor
 
Posts: 100
Joined: Fri Jun 24, 2011 11:37 am

PreviousNext

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 1 guest