Possible improvements - Potential feature request

everything about the current big update and the latest stable branch

Moderator: Moderator

User avatar
wolfgang18
Posts: 31
Joined: Thu Apr 23, 2009 6:42 am
Location: Germany - Southern Bavaria

Possible improvements - Potential feature request

Postby wolfgang18 » Tue Oct 20, 2009 12:08 pm

Hi all MMS developers and maintainers,

I have enhanced my private MMS branch/copy with some small features which might be of "global interest" - depending on your opinion...
So please comment:
a) individual graphical movie lists (per folder setting). A hidden file (".listview, .iconview") indicates how the folder content shall be displayed. Background: I have some "kids" - folders where my 5-year old junior selects his favorites according to the thumbs. On the other hand I have a rather lagre colelction of films where I want to have them displayed as a list. Would mean some small, local modifications.

b)Radio favorites "hot-keys": For the first 10 radio stations in my private radio station list the user can define a command key in the radio configuration. Background: Using the radio plugin as auto start, MMS could act as a radio box, having 10 stations accessible via the remote (on my S100) without further interation

c) Currently I'm working on a native Youtube plugin for 1.1.0 (not finished). I want this plugin to be shown within the TV section on the startmenu (where it logically should belong to). A small additional method in the module source code enables to add a new plugin to the features of an existing one ....

I'm not sure if these topics a to "special" - please let me know if anybody is interested in such enhancements... They are already implemented and tested locally.

Best regards,

Wolfgang18
S100, 30GB HDD, USB HDD, Debvision_Etchbox_Community_2, MMS 1.1.1
S100, 4GB SD-CARD System with NAS, Debian Lenny, MMS 1.1.1

User avatar
magicamun
master
Posts: 688
Joined: Thu Feb 28, 2008 7:42 am
Location: Germany

Re: Possible improvements - Potential feature request

Postby magicamun » Tue Oct 20, 2009 7:51 pm

sounds good....

you might know that we have feature-freeze on 1.1.x and are close to releasing a 1.1.2.

mms-1.2.0 is more or less a dead branch in regard to features and stuff - we (mainly lorenzo) have established a mms-ng (next-generation) which is under heavy redesign of the architecture.
We welcome every idea and hand on development - even if we currently are not able to provide a stable/reliable architecture - we are in the middle of sth...

Your features a+b are of interest (diffs would be great) c is/will be obsolete, because that is/will be covered by mms-ng in a different manner

show your code and stay tuned

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Possible improvements - Potential feature request

Postby Uatschitchun » Wed Oct 21, 2009 6:50 am

New ideas always are welcome and coders surely, too :P

I, for myself, recognize, how urgent the idea of a working plugin-system is ... castorinop has done some new plugins (rss, series) and enhancements, your ideas, mainly a)+b), are worthy, too! (I do not get the advantage of youtube beeing a plugin instead of beeing a pyglet yet). Completing touch-input is something zeratul has just asked for ...

My fear is, if we don't care well enough, there gonna be multiple branches, based on multiple revisions and all new stuff and ideas will get lost for MMS itself :roll:
Together with that, stability and manpower will get lost (possible).

But maybe these are only "special purpose" cases and my fear is of no reason ... nevertheless, some may find these special purposes usefull ... so getting them onboard would surely help improve MMS, wouldn't it?

I do not really know what to do here :roll: I do know that NG is a good deal of work still, but I also know, that to put people off doesn't work for a long time ...
Maybe it would help making state of development more transparent?
Lg
Roman

User avatar
wolfgang18
Posts: 31
Joined: Thu Apr 23, 2009 6:42 am
Location: Germany - Southern Bavaria

Re: Possible improvements - Potential feature request

Postby wolfgang18 » Wed Oct 21, 2009 11:12 am

Well, thanks for these first statements.
Here are the diffs for a) + b)
diff_w18.zip
(1.97 KiB) Downloaded 144 times


What needs to be done for the input configuration (audio) is to insert key commands for the radio favorites (according to their occurance in the "My radio stations" playlist

Code: Select all

audio_add,favorite1,F1
audio_add,favorite2,F2
audio_add,favorite3,F3

It's up to oneself how many short cuts shall be defined ...

As for the Youtube plugin ("pre alpha"). I don't know much about new concepts for mms-ng. However I will give it a try as soon as I have some time for it. Today I'm not very happy with the youtube pyglet for several reasons
- plugin was not always working
- poor UI for search results
- only download possible (no online streaming)

I tried to integrate the youtube platform in MMS as real plugin - showing a list view with ratings, viewcounts, descriptions, thumbs. The movie streaming itself is based on a publicly available python script called
youtube-dl
which is also maintained in debian (sid).
Perhaps it will indeed be obsolete with mms-ng ... but I wanted to have it now.
Previews:
yt2_Bildgröße ändern.png
yt2_Bildgröße ändern.png (184.64 KiB) Viewed 3179 times
yt3_Bildgröße ändern.png
yt3_Bildgröße ändern.png (160.35 KiB) Viewed 3179 times


the diff for c) ... (add Youtube to movie section) would be btw.

Code: Select all

=== modified file 'plugins/plugin.hpp'
--- plugins/plugin.hpp   2008-05-06 17:09:35 +0000
+++ plugins/plugin.hpp   2009-10-01 13:46:47 +0000
@@ -119,6 +119,8 @@
   Module *module;
 
   const std::list<startmenu_item> items() const { return features; }
+  void addFeature(startmenu_item item){ features.push_back(item);}
+
 protected:
   std::list<startmenu_item> features;
 };
S100, 30GB HDD, USB HDD, Debvision_Etchbox_Community_2, MMS 1.1.1
S100, 4GB SD-CARD System with NAS, Debian Lenny, MMS 1.1.1

User avatar
wolfgang18
Posts: 31
Joined: Thu Apr 23, 2009 6:42 am
Location: Germany - Southern Bavaria

Re: Possible improvements - Potential feature request

Postby wolfgang18 » Wed Oct 21, 2009 11:14 am

Btw: Here is a preview of youtube integration to movies

Code: Select all

Plugins* pl = S_Plugins::get_instance();

    if (pl != NULL){
       FeaturePlugin* movies = (FeaturePlugin*) pl->find(dgettext("mms-movie", "Video"));
       movies->addFeature(startmenu_item(dgettext("mms-youtube", "Youtube Videos"), "youtube", themes->startmenu_youtube, 2, &youtube));
    }


yt1_Bildgröße ändern.png
yt1_Bildgröße ändern.png (148.65 KiB) Viewed 3179 times


Best regards,

wolfgang18
S100, 30GB HDD, USB HDD, Debvision_Etchbox_Community_2, MMS 1.1.1
S100, 4GB SD-CARD System with NAS, Debian Lenny, MMS 1.1.1

User avatar
naicheben
Overlord
Posts: 1332
Joined: Tue Apr 04, 2006 12:50 pm
Location: Germany/Leck
Contact:

Re: Possible improvements - Potential feature request

Postby naicheben » Wed Oct 21, 2009 7:15 pm

Would it be possible to make a wolfgang18-branch so i could just pull his branch with bzr and build a deb out of it by my self? It would be like Ubuntu is to Debian ... just another branch but with a different look and feel ;-)
I like wolfgangs ideas. Youtube has been asked for many times, also in zenega-user forum and via mail, because i can't get it to work anymore.

RadioStation-bottuns is realy great. Every car radio has it, why not my inet-radio?! Realy good! This should defnetly be integrated in MMS!

Parental key - This is something serious. Every receiver from Premiere (now Sky) has this parental key feature. Even my Mascom Alphacrypt ligt has it. We should seriously think about a feature like this. How about a variable "age_18_and_above_dir = /media/movies/18/" and "parental_pin = 12345" in /etc/mms/MovieConfig and ask for the pin/key when entering the directory?
mit Hellseherschein ;.)

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Possible improvements - Potential feature request

Postby Uatschitchun » Thu Oct 22, 2009 6:49 am

naicheben wrote:... just another branch but with a different look and feel ;-)

That's what I feared in my upper post ... it would be the seventh branch (1.1.x, 1.2.0, ng, rss-branch, series-branch, youtube-branch, earos). What is the goal behind it :?:

You don't need no branch, simply put the diffs into debian/patches/ ... get yourself known to dpatch!
Lg

Roman

User avatar
magicamun
master
Posts: 688
Joined: Thu Feb 28, 2008 7:42 am
Location: Germany

Re: Possible improvements - Potential feature request

Postby magicamun » Thu Oct 22, 2009 7:27 am

Uatschitchun wrote:
naicheben wrote:... just another branch but with a different look and feel ;-)

That's what I feared in my upper post ... it would be the seventh branch (1.1.x, 1.2.0, ng, rss-branch, series-branch, youtube-branch, earos). What is the goal behind it :?:


full ack. we need less branches not more...

step 1 : get ng ito a state that it can take features again
step 2 : merge leftovers from 1.2.0 to ng
step 3 : let ng take features again

possible alternative :
release 1.1.2, and then let 1.1.3 take some features (merging them to ng later should not be that difficult). That would enable us to have feature-development AND concentrate on architecture of ng without fr's in the neck...

User avatar
naicheben
Overlord
Posts: 1332
Joined: Tue Apr 04, 2006 12:50 pm
Location: Germany/Leck
Contact:

Re: Possible improvements - Potential feature request

Postby naicheben » Thu Oct 22, 2009 3:18 pm

Uatschitchun wrote:
naicheben wrote: What is the goal behind it :?:

You don't need no branch, simply put the diffs into debian/patches/ ... get yourself known to dpatch!


Because it is NOT that simple, becaus not everybody is a big computerfreak just because he uses Linux and because I'm to lazy to dive into dpatch.... :lol: No no, I understand what you say and I agree in general. But don't we then need a diff everytime something changes in the files wolfgang patched???
mit Hellseherschein ;.)

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Possible improvements - Potential feature request

Postby Uatschitchun » Sat Oct 31, 2009 9:15 am

What about this suggestion:

Open up feature-requests on the topics named here and provide bundles (http://blogs.gnome.org/jamesh/2007/07/3 ... r-bundles/).

Advantage:
* No need to branch
* Easy testing, cause it's more easy to apply a bundle than a diff or pull an extra branch
* No need to branch
* Topics won't get lost
* Adaption to future versions would be easier
...
Lg

Roman

User avatar
wolfgang18
Posts: 31
Joined: Thu Apr 23, 2009 6:42 am
Location: Germany - Southern Bavaria

Re: Possible improvements - Potential feature request

Postby wolfgang18 » Mon Nov 02, 2009 12:42 pm

Honestly, I have to admit that - coming from SVN - I'm within a learning process understanding the bazaar principles. So I cannot vote for the one or the other solution. Bundles sound reasonable - question is, how to update, maintain and publish them over the time (in case bug fixes are necessary)? For non bazaar system builders - how to use them?

In the meantime I have realized that plugin development is somewhat bound to the core system, too - e.g. taking into account that the themes and the related code has to be updated...

I see you all are busy with NG and I don't want to produce any trouble here... :?

Best regards,
Wolfgang
S100, 30GB HDD, USB HDD, Debvision_Etchbox_Community_2, MMS 1.1.1
S100, 4GB SD-CARD System with NAS, Debian Lenny, MMS 1.1.1

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Possible improvements - Potential feature request

Postby Uatschitchun » Mon Nov 02, 2009 2:38 pm

wolfgang18 wrote:In the meantime I have realized that plugin development is somewhat bound to the core system, too - e.g. taking into account that the themes and the related code has to be updated...


That's the reason for NG ;)
Lg

Roman

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Possible improvements - Potential feature request

Postby Uatschitchun » Fri Jan 29, 2010 4:40 pm

Wolgang, have you got a useable version of youtube-plugin?
Lg

Roman

User avatar
naicheben
Overlord
Posts: 1332
Joined: Tue Apr 04, 2006 12:50 pm
Location: Germany/Leck
Contact:

Re: Possible improvements - Potential feature request

Postby naicheben » Fri Jan 29, 2010 5:53 pm

I was able to receive a youtube-feed and extract the urls for the rtsp-3gp-videos in it. Mplayer plays the video but it has no sound and the quality is lousy.

Witch player is able to play SWF? Debian-mplayer will not play the URL i get from youtube....
mit Hellseherschein ;.)

User avatar
naicheben
Overlord
Posts: 1332
Joined: Tue Apr 04, 2006 12:50 pm
Location: Germany/Leck
Contact:

Re: Possible improvements - Potential feature request

Postby naicheben » Fri Jan 29, 2010 11:19 pm

i do have sound when i play a 3gp-file from my cellphone, but if I play from youtube i get:

Code: Select all

etchbox:~# tail -f /tmp/mms.log
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 176 x 144 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [xv] 176x144 => 176x144 Planar YV12  [fs]
V: 119.0 1451/1451  0%  0%  0.0% 0 0 0%

Exiting... (End of file)
Clock::find_next_alarm()
running mplayer with following command:sudo nice -n-2 /usr/bin/mplayer -cache 2048 -autosync 30 -vo xv -fixed-vo -softvol -af volume=-10 -af resample=48000 -fs scale -forcedsubsonly -user-agent QuickTime 7.5 -fs   -ao alsa:device=default -channels 2 "rtsp://v5.cache6.c.youtube.com/CiQLENy73wIaGwkoD9xKbPTmZBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"
MPlayer dev-SVN-r26940
CPU: Mobile Intel(R) Celeron(TM) CPU          733MHz (Family: 6, Model: 11, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Playing scale.


Playing 7.5.


Playing rtsp://v5.cache6.c.youtube.com/CiQLENy73wIaGwkoD9xKbPTmZBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp.
Resolving v5.cache6.c.youtube.com for AF_INET6...
Resolving v5.cache6.c.youtube.com for AF_INET...
Connecting to server v5.cache6.c.youtube.com[74.125.208.180]: 554...
STREAM_LIVE555, URL: rtsp://v5.cache6.c.youtube.com/CiQLENy73wIaGwkoD9xKbPTmZBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp
This stream is non-cacheable
Stream not seekable!
 file format detected.
VIDEO:  [mp4v]  0x0  0bpp  12.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 176 x 144 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [xv] 176x144 => 176x144 Planar YV12  [fs]
V:  54.5 688/688  0%  0%  0.0% 0 0 0%
can anybody help me fix my soundproblem?
mit Hellseherschein ;.)


Return to “1.1.x”

Who is online

Users browsing this forum: No registered users and 3 guests