Notices


Reply
Thread Tools
Posts: 196 | Thanked: 51 times | Joined on Dec 2009
#11
Originally Posted by wolfs are great!!! View Post
You need to inclube the format of the playlist, usually .m3u or .playlist
but the filename is just "17". I don't see any extension. I mean if I rename it, media player may not see it anymore. Anyway, thanks for the tip. I will try it and see if it works. Thanks.

Just a thought:
Maybe I could create my own playlist instead of using the one made by Media player and try to get media player to auto launch that playlist. Will give this a try later.

Last edited by azz; 2010-04-03 at 05:40.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#12
try 17.wpl or 17.m3u if youre using windows media player
 

The Following User Says Thank You to F2thaK For This Useful Post:
Posts: 196 | Thanked: 51 times | Joined on Dec 2009
#13
thanks but i am using the media player in maemo...maybe i am doing this the wrong way....gotta start over...maybe the problem is media player....
 
chemist's Avatar
Administrator | Posts: 1,036 | Thanked: 2,019 times | Joined on Sep 2009 @ Germany
#14
moved to media
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#15
Originally Posted by azz View Post
So after search around a bit (thanks Patola), I found some information but still unable to get it to run. Here's what I found so far:

"Enable FM Transmitter"
/usr/bin/fmtx_client -p 1

"sample of script to run Media player + radio1_bergen file"
dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"file:////home/user/MyDocs/.sounds/radio1_bergen.ogg" (thanks to Morten-Christian Bernson - found via google)

"Location of Playlist I want Media Player to open"
/home/user/.mafw-playlists/17 (Use openssh for the first time to find the playlist, awesome app..don't know why I never try this app...so much better then the phone file browser...anyway, found my playlist saved under the file "17". Right-click to edit it and all my songs are there. PC software I used to connect to openssh was WinSCP as recommended by the website nokia900applications)

So I combine the sample script with my files (/home/user/.mafw-playlists/17). It open media player as it should but media player doesn't know how to play the file "17". I am not really sure what else to do as I have mentioned in previous post that I don't really no jack *****. If I close media player, it will loop again trying to open the file.

So if you are just interest in having media player play the same audio files over and over again, it is possible to just create that script but I want the playlist. Hope you guys out there (who actually knows these things) can help me. Thanks.
Perhaps the slashes are in the wrong path? For example your playlist files is listing your mp3s as ARTIST\ALBUM instead of ARTIST/ALBUM?

From the sound of it your close, the media player just doesn't know what to do with the playlist. Can you confirm that by clicking on the playlist in the file manager that it plays in the media player?
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#16
This works for me to open the VOA hourly news podcast:

Code:
Exec=dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"http://www.voanews.com/mp3/voa/english/nnow/NNOW_HEADLINES.mp3"
Try changing the string to your playlist location and running it right frm the dang .desktop file.

I use qoles FM-Boost and add a preset frequency by tweaking his file...

Code:
#!/bin/sh
/bin/echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level
/usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.9
exit 0
Then I run Pekka & Juha Rönkkö's FMTX desktop widget v0.5.0 on my desktop with FM-Boost enabled.

So I hit the FMTX button then the Media Player script button and I'm rockin'
My only wish would be for Pekka & Juha to make an actual app button that toggles their FMTX package on and off so I can put it in b0unc3's most excellent Quick Launch and reach it without diving back down to the desktop when I'm using the screen for another app like Sygic or E-mail.

...And speaking about tweakin' files and most excellent efforts... check out thp's Superfly.fm. He's done what you're trying to do with this gem.

BTW, thp and qwerty12 without a doubt, are some of the best resources available...
Just cue up their posts for some good reading one night.

EDIT: I'm also thinkin' you may have to many forward slashes after file:
This file:///home instead of file:////home

EDIT EDIT dude: example attached

Unpack the 2 files and Read Me in the attached zip

Put [yodude.desktop] >> N900:\usr\share\applications\hildon

Put [yodude.png] >> N900:\usr\share\icons\hicolor\64x64

Close up your file manager and now check your apps list and you should now have yodude. It will open Media player to a very good radio station.

Check out the code and adapt it to your needs dude.
Attached Files
File Type: zip yodude.zip (6.4 KB, 120 views)
__________________

SLN member # 009

Last edited by YoDude; 2010-04-20 at 04:40. Reason: you're for your
 

The Following User Says Thank You to YoDude For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#17
I confirm that the "saved" playlist don't get played when called with the above dbus command.
But, you can make an external playlist like in http://talk.maemo.org/showpost.php?p...0&postcount=16
Then you can open it with a shell command:
Code:
dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"file:///home/user/MyDocs/playlist_name.m3u"
You'll also find your playlist in mediaplayer under "imported playlists".

It is also possible to insert the code above in a .desktop file so that one can have an icon on the home screen which starts the playlist.

Last edited by debernardis; 2010-06-21 at 18:01.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:44.