Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Shortcuts plugin
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Shortcuts plugin  (Read 6043 times)

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Favourites plugin
« Reply #15 on: August 01, 2007, 11:24:48 AM »
Flyspray has been updated again - the plugin now features an option to delete entries from your shortcuts.link file. See FS for details.
Logged

Read The Manual Please

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: Favourites plugin
« Reply #16 on: August 01, 2007, 01:14:55 PM »
Quote from: Llorean on July 31, 2007, 04:56:20 PM
Exactly how is "scrolling through a list of shortcuts in a file" different from "scrolling through a list of individual shortcut files"?
the difference is that you can put the shortcuts wherever you want, so you wouldn't be limited to a list
i mean it like a shortcut on the pc where you can place a shortcutlink in one folder to point to another.
i would like it to have a shortcut file opened with this plugin which will take you to the proper directory.
maybe when you open the contextmenu of a directory and select 'make shortcut' can create one in the root of the player...
you know what i'm trying to say
maybe its possible to have one shortcut.link with several links in it and it shows you a list or when there is only one shortcutline in the file it leads you directly to the destination
just a thought and maybe totally out of place
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Shortcuts plugin
« Reply #17 on: August 01, 2007, 01:21:19 PM »
Well when I chose to write this patch I chose to not go the same way as windows does shortcuts.

If that's the feature you want, you'll have to write one yourself to do it I'm afraid.
Logged

Read The Manual Please

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: Shortcuts plugin
« Reply #18 on: August 01, 2007, 02:11:56 PM »
no I'm happy with what you have done so far and I don't want anything more than the developers give me
btw I don't use windows and I thought every OS handles shortcuts this way. I know rockbox is a mp3-player firmware and I really don't wanted to be misinterpreted here.
so firstly thanks for your effort
this was just a thought and I just wanted to know the benefit of handling it this way
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Shortcuts plugin
« Reply #19 on: August 01, 2007, 02:15:32 PM »
Really, it shouldn't be problematic to have the plugin work as a viewer on a .link file (or whatever the extension is) placed anywhere, with it automatically going to the link if there's one line, showing the list if there's multiline. But leave the adding functionality so that it simply creates, or adds, to one default file, so the behaviour is basic, but allows for complexity if you feel like copying and renaming, or manually creating, your own .links outside the default location?
Logged

Offline gratt

  • Member
  • *
  • Posts: 34
Re: Shortcuts plugin
« Reply #20 on: August 01, 2007, 02:17:06 PM »
@GodEater
The present ability of this plugin is great.

As is it offers a user definable list.
Extending it to use multiple links and act directly,
single click if there is only one line in the link file,
extends it well beyond the simple limits of win lnk files
or even linux soft and hard links, I have no idea how mac operates.

Aside from this further request I think this should be included in SVN
even as is.
GRaTT
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Shortcuts plugin
« Reply #21 on: August 01, 2007, 02:24:53 PM »
Quote from: Llorean on August 01, 2007, 02:15:32 PM
Really, it shouldn't be problematic to have the plugin work as a viewer on a .link file (or whatever the extension is) placed anywhere, with it automatically going to the link if there's one line, showing the list if there's multiline. But leave the adding functionality so that it simply creates, or adds, to one default file, so the behaviour is basic, but allows for complexity if you feel like copying and renaming, or manually creating, your own .links outside the default location?

I could have sworn it was you wanted all the shortcuts in one place!

Ah well - back to the text editor then.
Logged

Read The Manual Please

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Shortcuts plugin
« Reply #22 on: August 01, 2007, 02:27:03 PM »
I wanted the "standard behaviour" to be be a single file, automatically created, where any new favourites get inserted.

But as long as your plugin works as a viewer on any .link files, you get the rest of the behaviour I described "for free" as it were anyway. (Well, except for automatically treating single line link files as an instant link rather than showing the list.)

Or am I mistaken in how it works / would work?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Shortcuts plugin
« Reply #23 on: August 01, 2007, 03:57:01 PM »
Okay - implemented.

New version is on the tracker.
Logged

Read The Manual Please

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: Shortcuts plugin
« Reply #24 on: August 01, 2007, 04:04:18 PM »
yeah this was fast  :)
much appreciated
thank you
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline gratt

  • Member
  • *
  • Posts: 34
Re: Shortcuts plugin
« Reply #25 on: August 03, 2007, 01:09:46 PM »
The latest version works as expected on directories.
Other Bugs.
Single link does work as expected still shows list.
edit: single link only works on user defined link file.
I did not know this was expected behaviour until reading the code.

Different outcomes from running the link file or the plugin
from link file the selection is highlighted and from the plugin
you end up in the directory but on the first item.
This only applies to files or if the ending slash (/) is removed.

GRaTT
« Last Edit: August 04, 2007, 03:51:02 PM by gratt »
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Shortcuts plugin
« Reply #26 on: August 04, 2007, 05:05:03 PM »
Yes - the single link entry behaviour is as intended. It's not possible to do this for the "main" .link file without losing the ability to remove that link.

I cannot explain the other behaviour you're seeing - the path through the code is identical.
Logged

Read The Manual Please

Offline gratt

  • Member
  • *
  • Posts: 34
Re: Shortcuts plugin
« Reply #27 on: August 04, 2007, 08:22:54 PM »
I can not explain it either, I have looked through the code
and as you say it follows the same code paths.??

I am very happy with the present behavior now
and think this should get committed to svn.
GRaTT
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Shortcuts plugin
« Reply #28 on: August 05, 2007, 09:07:44 AM »
Just got committed.
Logged

Read The Manual Please

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Shortcuts plugin
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.086 seconds with 14 queries.