android
  #1  
Old 09-03-2010, 04:51 PM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default is it possible to play/pause while not in WPS?

i'd find this function very useful while at the gym (clip in mi pocket). i know that i can pause or stop the playing of the track by pressing exit briefly but pressing it again doesn't restart the track. is there such a key mapping or function in any build?
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 09-03-2010, 05:11 PM
WalkGood's Avatar
WalkGood WalkGood is offline
Moderator
 
Join Date: Aug 2006
Location: FL
Posts: 12,579
Default

Go to the "Now Playing/Resume Playback" and resume ...
__________________
WalkGood,
Ramón

abi >> | Forum Rules | Glossary | Why Rockbox | FLAC or MP3? | irc
Reply With Quote

  #3  
Old 09-03-2010, 06:54 PM
funman funman is offline
Rockbox Developer
 
Join Date: Jul 2008
Posts: 161
Default

home + select
Reply With Quote

  #4  
Old 09-04-2010, 05:01 AM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

Quote:
Originally Posted by funman View Post
home + select
so it's:

exit button = pause
home/select combo = resume

that works, but the combo is a bit tricky when the clip is in my pocket. is it possible for me to "bind" another key (not combo, single key) to the resume function?

if not, maybe one of you geniuses who knows how to code this stuff can make a build for this ...a build for people who wants to pause/resume quickly without having to look at the clip
Reply With Quote

  #5  
Old 09-04-2010, 09:02 AM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

You can change the keybindings without too much trouble - although coming up with a consistent set is more of a nightmare than it would at first appear.

Set up a build environment;

http://www.rockbox.org/wiki/SimpleGuideToCompiling
http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling

and I'll talk you through the rest of it...

-ETA-

In fact, here's a build that does what you want (hold 'home' to start/stop, works almost anywhere... I realise that short power might have been preferable, but sadly it interferes with some apparently hard-wired controls in the plugins ), but I've fiddled around with some of the other controls too. Short home is now hotkey, and quickscreen has moved to short down. Nothing too drastic - you'll probably cope with it if you really don't want to set up a build environment.

[removed dead link]

Last edited by Confuseling; 09-05-2010 at 06:21 PM.
Reply With Quote

  #6  
Old 09-05-2010, 05:00 PM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

thanks man! it works fine, long home. only problem is all other keys are a bit messy now, for example i can't seem to get back to the "main menu" from WPS while still playing...guess i'll have to fiddle around with it to figure it out
Reply With Quote

  #7  
Old 09-05-2010, 06:07 PM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

I think if you hit power it should do it - or you could hit select, then left.

Don't know. It's something of a murky business, trying to fit extra stuff in, as I'm now discovering...

Either of these two should work better...

http://dl.dropbox.com/u/1257491/rock...ate.keymap.zip [this one uses power]

http://dl.dropbox.com/u/1257491/rock...e.keymap.2.zip [this one uses home]

Last edited by Confuseling; 09-05-2010 at 08:07 PM.
Reply With Quote

  #8  
Old 09-06-2010, 03:03 AM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

Quote:
Originally Posted by Confuseling View Post
best one this far! thanks man

only one thing: long up takes me to a tune pitching thing. maybe i haven't understood it correctly but i don't see when i'd ever be in such a hurry to change pitch. maybe it'd be handier to have pitch in the quick menu (long down)? that way pitch would be only two clicks away and long up could be used to turn the backlight on w/o pausing
Reply With Quote

  #9  
Old 09-06-2010, 05:37 AM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

Pitch thing is good for me and anyone who uses podcasts (gives you access to timestretch).

You could try setting 'WPS hotkey' to off, and briefly pressing power? Or, of course, you could just turn 'first button press turns backlight on only' on... That is what it's for...
Reply With Quote

  #10  
Old 09-06-2010, 08:17 AM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

Quote:
Originally Posted by Confuseling View Post
Pitch thing is good for me and anyone who uses podcasts (gives you access to timestretch).

You could try setting 'WPS hotkey' to off, and briefly pressing power? Or, of course, you could just turn 'first button press turns backlight on only' on... That is what it's for...
of course

maybe i'll find pitch useful then, i mostly listen to podcasts/audiobooks
Reply With Quote

  #11  
Old 09-06-2010, 08:30 AM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

It's very useful. Turn on 'timestretch' in the sound settings, and try it then - it's actually surprisingly well implemented (as in, you can still understand it).

I'm not one of these crazy crackers that thinks you can listen to ten podcasts per day at double the speed and still take it all in, but sometimes you do want to speed through a bit without missing it entirely - and some speaking voices are... just... plain... not... designed... for... radio.

What sort of stuff you listening to then? Have you tried the LSE podcasts?

http://www.lse.ac.uk/resources/podca...sAndEvents.htm

It's officially awesome...
Reply With Quote

  #12  
Old 09-06-2010, 10:54 AM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

wow, interesting stuff. i like TTC:s lectures and this seem to be the same concept. i'll definitely try some of them.

i listen to TTC, XFM/ricky gervais show, ripped stand up comedy CD:s, and regular audiobooks.

rockbox isn't optimal for podcasts though, OF is better in some ways. but overall i'd say that rockbox is a winner.
Reply With Quote

  #13  
Old 09-06-2010, 11:29 AM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

I'll have to have a look at TTC, cheers...

I'm curious why you say the OF is better at podcasts in some ways?

Also, redownload from the link above - it's been improved somewhat.
Reply With Quote

  #14  
Old 09-06-2010, 12:50 PM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

Quote:
Originally Posted by Confuseling View Post
I'll have to have a look at TTC, cheers...

I'm curious why you say the OF is better at podcasts in some ways?

Also, redownload from the link above - it's been improved somewhat.
in OF i can access the podcasts quicker, and i find the bookmark function more simple. it's just more adapted to audiobooks and podcasts. in rockbox i have to search for the authors name in the database or fiddle around in the folders, and i haven't got the bookmarks working that well. to be honest i search the file and then use fast forward to where i remember i was the last time i listened...if you got any tips on how to configure this to work easier, i'm thankful for help.
Reply With Quote

  #15  
Old 09-06-2010, 01:24 PM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

I've only just started using it myself, and have never used it in the OF.

But try setting;

Bookmark on stop -> Yes, Recent only
Maintain a list of recent bookmarks -> Unique only

Then at the beginning of the menu is a list of recently listened to files, and where you've got to in them. Only works if you pick things through the filebrowser mind, but other than that it's straightforward...

Last edited by Confuseling; 09-06-2010 at 01:47 PM. Reason: correction - should be 'unique only'
Reply With Quote

  #16  
Old 09-06-2010, 01:46 PM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

Quote:
Originally Posted by Confuseling View Post
I've only just started using it myself, and have never used it in the OF.

But try setting;

Bookmark on stop -> Yes, Recent only
Maintain a list of recent bookmarks -> Yes
yes, i've tried that for some time now and it's a real mess when you listen to music as well..it bookmarks music files, and since i stop a lot when i listen to music it fills the "list of recent bookmarks" with quite a lot of unimportant bookmarks.
Reply With Quote

  #17  
Old 09-06-2010, 01:52 PM
Confuseling Confuseling is offline
Member
 
Join Date: May 2010
Posts: 227
Default

Try;

Bookmark on stop -> No
Update on stop -> Yes
Maintain a list -> Unique only

Then for each thing you want to bookmark, manually create a bookmark while playing it with the context menu (hold select). Now, when you stop that file it'll update the bookmark, but it won't automatically create them. You will need to clean out the bookmark files every so often (deleting them from the 'recent bookmarks' list isn't the same thing as deleting the files), but it looks manageable...

ETA - also, for any directories / playlists that already have a bookmark but shouldn't, you'll have to go and delete them. You could do it manually, or just use a script (really depends how many you've got... )

ETA2 - one approach would be to use this script...

Code:
require "luadir"


exts = { "bmark" }

function clean(path)

    ext = string.gsub(path, "^[^\.]*\.", "")
    for _,e in ipairs(exts) do
        if e == ext then
            rb.remove(path)
            return
        end
    end
end

function recurse(dir)
    for path, isdir in luadir.dir(dir) do
        if isdir then
            if path ~= "." and path ~= ".." then
                recurse(dir .. '/' .. path, func)
            end
        else
            clean(dir .. '/' .. path)
        end
    end
end

recurse('/MUSIC')

-- microSD
if rb.dir_exists('/<microSD1>/') then
    recurse('/<microSD1>/MUSIC')
end
Adapted from something Funman wrote... Save it as a .lua, and 'open with' lua on the Clip, should do the trick. http://anythingbutipod.com/forum/sho...&postcount=792

Last edited by Confuseling; 09-06-2010 at 04:22 PM.
Reply With Quote

  #18  
Old 09-06-2010, 05:24 PM
pechinma pechinma is offline
Junior Member
 
Join Date: Mar 2010
Posts: 31
Default

thanks, i'll try that. think i already removed bookmark on stop because it caused havoc with all the music played and that.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:29 PM.