![]() |
Re: A couple of Mediabox questions
They do register in MessageBus as they're derived from Component. What shows you that they don't register? The components in components_extra and components_htpc are only loaded if specified on the command line with --plugin-dir, though.
|
Re: A couple of Mediabox questions
Oh, and please ignore SideStrip. It's deprecated and will be removed. :)
|
Re: A couple of Mediabox questions
Quote:
DisplayLight and HeadSet do not register at my desktop pc... I just checked and they do register in the device. IdleDetector wasn't meant to be there, I did not deleted that line before posting... Quote:
|
Re: A couple of Mediabox questions
2 Attachment(s)
With this patch, cummulative with my previous ones, all possible handle_message in trunk are converted to handle_<MESSAGE>
The profiling shows that the time spent in MessageBus.send_event() during 30 min of somafm playback is 1,5 seconds, while in 0.96.5 was 260 seconds. 173 times more efficient. Now, if there are no screen updates, the %cpu is 0.0 during playback much of the time. Also, included, there is another small bugfix patch to AbstractBackend I missed in the previous set of patches. |
Re: A couple of Mediabox questions
Quote:
Quote:
|
Re: A couple of Mediabox questions
Quote:
|
Re: A couple of Mediabox questions
I can't wait for improvements in resource management. :)
Quick question though, I thought MediaBox had support for Portrait mode? Tried it today and nope (text goes off the screen, some UI elements go off screen). Also I'm not sure if this is intentional, a bug, or just a bug on my system. But if your in the player, and fullscreen it. The previous and next arrow are not lined up and are literally right next to the right side of the screen making them hard to hit. |
Re: A couple of Mediabox questions
The next version will have full support for portrait mode, if the OS supports it. Fremantle and Mer ought to support portrait out of the box, and Diablo requires a patched kernel.
|
Re: A couple of Mediabox questions
Quote:
|
Re: A couple of Mediabox questions
Took me a month and a half to try several options for the "right mp3 player". I found mediabox as the only one which is able to go by the filename and where you can browse the directory structure as it is on the SD-Card; this is very useful if you have a mp3-collection with a lot of screwed up tags.
Also the bookmarks are very useful for 90-minute-lectures. So thumbs up for this "heavy weight" mp3 player :-) Thanks for the work |
Re: A couple of Mediabox questions
1 Attachment(s)
pycage,
Two questions for you. First, I believe I read in a thread somewhere that in fullscreen mode, the display snould look like |< album art file info >| However, mine looks like the screenshot below. Second question, is it possible to add fast forward/fast rewind within a track? Bonus question: ow do you embed album art into an mp3 or ogg? I know some of my podcasts (Car Talk, Distrowatch Weekly) have embedded art, but none of the other podcasts nor any of the music I upload from amaroK. Thanks, --vr |
Re: A couple of Mediabox questions
What do you mean looks wrong in your screenshot? Mine looks the same.
Fast forward and rewind are available in 0.96.5 by pressing left and right on the D-pad. It doesn't work well with some media files, however. There is plenty of software available for embedding album art, e.g. albumart-qt. But album art doesn't have to be embedded. You can also put a cover.jpg into the same folder as the music files. |
Re: A couple of Mediabox questions
Quote:
Quote:
Quote:
Thanks, --vr |
Re: A couple of Mediabox questions
Pycage, might i suggest moving the < and > keys (I know they don't look like that) away from the side?
On the n800, it's to close to the bezel making finger operation of it slightly difficult. |
Re: A couple of Mediabox questions
I don't really have a problem with the FF and REW keys being on the same side, I thought they were supposed to be on opposite sides. Maybe you could present them as buttons.
|
Re: A couple of Mediabox questions- A new patchset
1 Attachment(s)
Hi pycage,
I have fixed a few bugs more, most of them noticeable with inet media. This is the changelog: MPlayerBackend.py: - fix high cpu usage when "connecting" - fix high cpu usage when "buffering..." - move busy_loop to a more useful position, since the delay between mplayer loading and start of stream playing can be very large - fix repetitive error dialogs due to temporary server failure, one error dialog at definitive failure is enough (happens often with shoutcast streams) - detect better stream failure AbstractBackend.py: - when a stream failure happens, pressing play again (in the track/player window) doesn't try to reopen the stream. fix. File.py - fix high cpu usage when loading large lists Widget.py - lower cpu usage with animations KineticScroller.py - very noticeable when a stream is "connecting" and using mplayer backend: scrolling a list will scroll for a second, stop for a second, and repeat. fix. Other bugs I've found and will try to fix in the near future: - Can't change stream in certain cases (when stream takes time to fail, when is "connecting" or "buffering") - when the backend changes, starts playing with the wrong volume - shoutcast fails to download genres/stations very very often, should permanently store them and redownload by demand Some features I want to add. - Detect screen status to further reduce cpu usage ("low power mode") - Replaygain support (in the not so near future) |
Re: A couple of Mediabox questions
Hi maacruz,
I'm merging your patches with my code and noticed that you sometimes use code like this: Code:
gobject.timeout_add(1000, lambda : False)Why is this working better than gtk.main_iteration(False) ? Keep up the good work! :) |
Re: A couple of Mediabox questions
1 Attachment(s)
Quote:
main_iteration(False) is a non blocking call, and if there is no event it returns inmediatly, so it becomes a busy loop which pegs the cpu at 100% main_iteration(True) is a blocking call, so if there is no event, it sleeps indefinitely waiting for a event, and while it is sleeping, there is no cpu usage. The gobject.timeout_add is there to provide a timed event (with the lambda function provided which does nothing but inmediatly return) at the moment the loop should end, so making sure the main_iteration(True) doesn't sleeps indefinitely and the event loop ends properly. The 1000 ms in the example is the 1 second check (time.time() < timeout) used later to end the loop. This approach has three advantages: 1- The linux scheduler rewards sleeping (I/O bound) tasks with high priority and punishes cpu hogs with low priority, so mediabox is more responsive/interactive. 2- The tablet as a whole is more responsive, as the cpu is free for other tasks 3- The battery lasts longer By the way, I have attached a little ui bugfix patch: - KineticScroller.py, ImageStrip.py: when using kinetic scroll to reach the end of the list, the scroll stops before reaching the end for a while, then jumps. Most noticeable with fast movements. Fixed. I now... you told me ImageStrip is going to be deprecated, but .... it WAS a bug .... I couldn't stand it... I.... I had to do it... don't you understand? .... I HAD TO DO IT :D |
Re: A couple of Mediabox questions
Quote:
Quote:
Quote:
Some other things have changed as well and parts of the GUI are still missing in the current SVN version. Mainly, the user interface became simpler and better prepared for operation in portrait mode. The next release will support landscape and portrait modes, have automatic screen rotation on the N900, and manual screen rotation (if rotation support was installed) on the other NITs. |
Re: A couple of Mediabox questions
I haven't seen this show up in the feeds, not to rush you guys...pycage, is the version on http://mediabox.garage.maemo.org/download.html newer than the ones in the standard feed?
Also, are there a theme-making howtos? I would like to create a couple of themes. I use your darkbox theme, since I mainly use it in the car, but it seems a little bland for that use. I wanted to try my hand at creating one that matches the instrument panels on my RSX, which is dark with red details. --vr |
Re: A couple of Mediabox questions
Quote:
Quote:
http://pycage.blogspot.com/2009/01/m...-mediabox.html If you have any questions about theme making just ask. :) |
Re: A couple of Mediabox questions
pycage,
For your next release, can you add an option, within the playlist and/or within the media groups (video, audio) to delete the media from the device as well as simply removing from the playlist? Perhaps a pop-up wehn you remove from the playlist? It is a pain to delete from the playlist, then having to open another app (terminal or file manager) to delete the media. |
Re: A couple of Mediabox questions
pycage, another issue. Not sure what is going on with it, but here is my situation.
I have, among other things, in my .sounds directory, Pink Floyd's Is There Anybody Out There, which is a 2 cd set. Originally, the mp3s were named like Code:
01_McAtmos.mp3Well, now, when I try to access the directory through the Albums tab in the browser, the album opens, but none of the tracks. If I try to access it through the Artists tab and drill down to the album, I get each song on the second disc twice, and none from the first disc. Going into Music Folders gives me two Is There Anybody Out There folders, both containing the songs from disc 2. Any ideas? |
Re: A couple of Mediabox questions
Hadn't heard anything on this lately. Whats going on with mediabox?
|
Re: A couple of Mediabox questions
Quote:
See also http://pycage.blogspot.com/2009/10/m...x-on-n900.html for what's going to come soon. The platforms I plan to target are: - Diablo - Mer - Fremantle |
Re: A couple of Mediabox questions
Quote:
I have tried deleting my playlist, could something have gotten corrupted under the .mediabox directory? |
Re: A couple of Mediabox questions
What happens if you remove the two .idx in the .mediabox directory?
|
Re: A couple of Mediabox questions
Quote:
I've had to fsck the card twice now, and both led to issues...Have to remember not to do that again... :) |
Re: A couple of Mediabox questions
Quote:
-jkq |
Re: A couple of Mediabox questions
Quote:
|
Re: A couple of Mediabox questions
Hi All,
Assuming that this is the thread to post MediaBox questions... (1) With the YouTube plugin, is there a way of downloading a video without starting to play it? (2) Is there a way of adjusting the font size? When browsing, the song names look a bit small. (3) When playing a song, as say started from the browser, is there a way of going immediately to the playlist? Or do I have to go through the bottom menu? By the way, it was nice to hear that MediaBox will be developed for Mer. I had thought that Mer would automatically run Diablo applications, but perhaps Mer has extra stuff that MediaBox can take advantage of. I recently got a spare n800 to put Mer on. A while ago, I had another n800 to put Mer on, but when my daughter saw me using MediaBox on my primary n800, she wanted her own. So she got my first spare, and I had to go get another. Jay |
Re: A couple of Mediabox questions
Quote:
Quote:
See here: http://pycage.blogspot.com/2009/01/m...-mediabox.html Themes inherit from the default theme, so making a new theme with just the PREVIEW.png, mb.def and info files would be enough. Quote:
Quote:
Quote:
|
Re: A couple of Mediabox questions
Thanks for the answers!
Quote:
So there goes my spare time... :) |
Re: A couple of Mediabox questions
pycage,
Couple of more stupid questions/bug reports/feature requests. 1. Since I have started using mediabox as my sole mp3/ogg player, I've noticed a couple of things. First, is there a way to have it pick back up where it left off? I mean, I listen to podcasts when I am in the car on my commute. When I get to the train (more on that later), office or whatever, I close down MediaBox to free memory for other apps. When I open it again for the trip home, I would like it to autoresume. Is this possible at some point in the future? 2. I also noticed that if you arrange your playlist, moving items around, then close, then reopen, the play list reverts to the default order. An example: On Sunday night/Monday morning, I download my podcasts using gpodder on my desktop (gpodder is a little too heavy and locks up in my attempts to use it on the N810). I copy them to ~/MyDesktop/.sounds/Podcasts. When I open MediaBox, I import the contents of this directory into the playlist. Then, when time permits, I shuffle the order of play...But when I close MediaBox, the playlist reverts to its original order. 3. If I am playing sound files, and change over to video, then back to sound files, I get strange behavior. When I go back to playing sound files, more often than not, it starts playing the video again. Have you seen this? Perhaps my usage is non-normal, but these are things I have seen with MediaBox. Thanks, --vr |
Re: A couple of Mediabox questions
Quote:
Quote:
This sounds like a bug. I'll check it. Apparently arranging alone does not trigger writing the playlist to file. Quote:
|
Re: A couple of Mediabox questions
Quote:
Quote:
Quote:
|
Re: A couple of Mediabox questions
Quote:
I'm having the same issue as VulcanRidr. I saw you solution for removing the idx files, but don't see these files on either the internal or external media card. |
Re: A couple of Mediabox questions
The idx files are located in /home/user/.mediabox/
|
Re: A couple of Mediabox questions
Thanks, I reinstalled mediabox after not using for a bit. I like the improvements and am looking forward to the new release! Should I have been able to find the location of those in some other thread?
|
Re: A couple of Mediabox questions
stupid question - apologies in advance - Where do I say something like "this is my audio folder" ? I do not see that option anymore ..or is that option not applicable anymore ?
|
| All times are GMT. The time now is 00:12. |
vBulletin® Version 3.8.8