maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] Alpha release of Open Media Player (https://talk.maemo.org/showthread.php?t=72156)

fatcobrah 2011-04-14 20:21

Re: [ANNOUNCE] Alpha release of Open Media Player
 
/home/user # ./install_mediaplayer.sh --desktop-file
--23:17:06-- http://mohammadag.xceleo.org/mediaplayer
=> `/usr/local/bin/mediaplayer'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 640,728 (626K) [text/plain]

100%[================================================== ====>] 640,728 64.89K/s ETA 00:00

23:17:19 (54.99 KB/s) - `/usr/local/bin/mediaplayer' saved [640728/640728]

--23:17:19-- http://mohammadag.xceleo.org/entertainmentview.qml
=> `/opt/mediaplayer/qml/entertainmentview.qml'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14,164 (14K) [text/plain]

100%[================================================== ====>] 14,164 44.36K/s

23:17:20 (44.35 KB/s) - `/opt/mediaplayer/qml/entertainmentview.qml' saved [14164/14164]

--23:17:21-- http://mohammadag.xceleo.org/Slider.qml
=> `/opt/mediaplayer/qml/Slider.qml'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,372 (3.3K) [text/plain]

100%[================================================== ====>] 3,372 --.--K/s

23:17:22 (120.56 KB/s) - `/opt/mediaplayer/qml/Slider.qml' saved [3372/3372]

./install_mediaplayer.sh: line 49: cannot create /usr/share/applications/hildon: Is a directory
Open MediaPlayer, version: 0.1 Running with PID:8701
Copyright (C) 2010-2011 Mohammad Abu-Garbeyyeh
Licensed under GPLv3
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; visit http://www.gnu.org/licenses/gpl.txt for details.
MediaPlayer startup took 441 ms
/home/user #

MohammadAG 2011-04-14 20:23

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by ScarCow (Post 988510)
Nice Job! Just before trying it out - is there a way to revert back to stock mediaplayer, if i ever want to?

-sc

It runs alongside it, the stock player will work fine with it since they both talk to mafw.

Bratag 2011-04-14 20:31

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Looks great MAG. Is it just me or no portrait for entertainment view?

fabfour 2011-04-14 20:31

Re: [ANNOUNCE] Alpha release of Open Media Player
 
wow thanks for this preview
the flipping side in entairtainment view is funny
very nice gui
thanks

MohammadAG 2011-04-14 20:34

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by Bratag (Post 988519)
Looks great MAG. Is it just me or no portrait for entertainment view?

Nah it's not you, it actually disables portrait mode (but if you have forcedrotation active in the CSSU, then that's ignored anyway :p)
My QML skills suck, it was a first attempt and less than a day's work.

Keneraali 2011-04-14 20:36

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by MohammadAG (Post 988509)
Yeah, right, sorry, rm install_mediaplayer.sh and rerun the steps.

Now there's no error message, but still no desktop icon is seen in the menu.

Looked at the omp.desktop and noticed that the file misses [Desktop Entry] at the beginning, after adding that the desktop file appeared in the menu.

The install_mediaplayer.sh should be

Code:

...
if [ "$1" = "--desktop-file" ]; then
        echo "[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=OMP
X-Text-Domain=mediaplayer
Exec=/usr/local/bin/mediaplayer
Icon=tasklaunch_media_player
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
MimeType=video/quicktime;video/x-msvideo;audio/x-mp3;video/mpeg;audio/x-wav;audio/x-m4a;audio/mp4;audio/x-amr;audio/AMR;video/mp4;video/x-mp4;video/3gpp;audio/mp2;audio/x-mp2;audio/x-ms-wma;audio/x-ms-asx;video/x-ms-asx;video/x-ms-wmv;video/x-ms-wm;audio/x-mpegurl;audio/mpegurl;audio/x-mpeg;audio/x-scpls;video/x-ms-asf;video/x-ms-asf-plugin;application/x-ms-asx;audio/x-ms-wax;video/x-ms-wvx;video/x-ms-wax;video/x-ms-wmx;application/vnd.ms-wpl;application/pls;application/smil;application/m3u;audio/mp3;video/avi;audio/wav;audio/mpeg;application/x-mplayer2;audio/AMR-WB" >> /usr/share/applications/hildon/omp.desktop
...


fatcobrah 2011-04-14 20:38

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by MohammadAG (Post 988509)
Yeah, right, sorry, rm install_mediaplayer.sh and rerun the steps.

still no icon :(

SalmanAbbas 2011-04-14 20:40

Re: [ANNOUNCE] Alpha release of Open Media Player
 
MAG i guessing that you are left handed...am i right?

Bratag 2011-04-14 20:41

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by MohammadAG (Post 988522)
Nah it's not you, it actually disables portrait mode (but if you have forcedrotation active in the CSSU, then that's ignored anyway :p)
My QML skills suck, it was a first attempt and less than a day's work.

Hey dont get me wrong man - I love it ... just wanted to be sure I wasnt being thick :)

MohammadAG 2011-04-14 20:43

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by SalmanAbbas (Post 988530)
MAG i guessing that you are left handed...am i right?

Nope :P
Why?


All times are GMT. The time now is 02:04.

vBulletin® Version 3.8.8