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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Is there a way to create shortcuts within Rockbox?
« previous next »
  • Print
Pages: [1]

Author Topic: Is there a way to create shortcuts within Rockbox?  (Read 3175 times)

Offline cocopugg

  • Member
  • *
  • Posts: 55
Is there a way to create shortcuts within Rockbox?
« on: December 11, 2007, 08:42:18 PM »
I've been searching but can't find the answer. I was wondering if there is anyway to create shortcut files within Rockbox? For example, suppose you have 2 or more albums that contain the exact file, with a shortcut file we can save the extra space of having to duplicate the same mp3. Thanks.
Logged

Offline UnholyNewbkilla

  • Member
  • *
  • Posts: 16
Re: Is there a way to create shortcuts within Rockbox?
« Reply #1 on: December 11, 2007, 09:22:59 PM »
I don't know man. I wonder the same thing. It would make things a lot easier..
Logged
Who is General Failure and why is he trying to access my hardrive?

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Is there a way to create shortcuts within Rockbox?
« Reply #2 on: December 12, 2007, 02:14:02 AM »
Yes - use the shortcuts plugin. This doesn't appear to be in the manual yet, which I should really sort out given I wrote the initial version of it :D

Briefly : Navigate through the file browser to the file / directory you wish to create a shortcut to. Bring up the File Menu (check the manual for your player on how to do this) and choose "Add to shortcuts". This will create a file called "shortcuts.link" (or just shortcuts if you only have "View supported" set) in the root directory of your player. You can perform this step for many files, and all of them will be added to this shortcuts file.

When you later want to use those shortcuts, simply select the shortcuts.link file in the browser, open it, and you'll be presented with a list of the shortcuts you made earlier. Selecting one of them will then drop the filebrowser into the relevant directory, with the file you chose already hilighted. Voila.
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Is there a way to create shortcuts within Rockbox?
« Reply #3 on: December 12, 2007, 02:21:41 AM »
That isn't what the OP wanted, though. His description is more like a symlinked file that you could view from the File Browser in one directory, but actually loaded a music file from another...

...and no, that's not possible...

...ans I personally don't see a use for it, but obviously there are others that do ;)
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Is there a way to create shortcuts within Rockbox?
« Reply #4 on: December 12, 2007, 02:41:50 AM »
Ah yes I see - misread the post.
Logged

Read The Manual Please

Offline fml2

  • Member
  • *
  • Posts: 157
Re: Is there a way to create shortcuts within Rockbox?
« Reply #5 on: December 12, 2007, 04:03:37 AM »
Quote from: bascule on December 12, 2007, 02:21:41 AM
That isn't what the OP wanted, though. His description is more like a symlinked file that you could view from the File Browser in one directory, but actually loaded a music file from another...

Yes, here I agree


Quote from: bascule on December 12, 2007, 02:21:41 AM
...and no, that's not possible...

But here I'd disagree. IIRC, if you create a shortcut file with just one entry but then rename it so that its name is no more the default "shortcuts.link" but, say, "myfile.link", then you'll jump to that location after selecting (='playing') the .link-file in the browser. I.e. the .link file works just as a symlink.

But I can't verify this now -- just out of my head.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Is there a way to create shortcuts within Rockbox?
« Reply #6 on: December 12, 2007, 04:20:47 AM »
You're talking about a feature of Windows here. Windows != Rockbox.
Logged

Read The Manual Please

Offline fml2

  • Member
  • *
  • Posts: 157
Re: Is there a way to create shortcuts within Rockbox?
« Reply #7 on: December 12, 2007, 04:38:29 AM »
Quote from: GodEater on December 12, 2007, 04:20:47 AM
You're talking about a feature of Windows here. Windows != Rockbox.

No, I'm talking about the feature of the shortcuts plugin (viewer part of it, which should be activated when a .link file is 'played').
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Is there a way to create shortcuts within Rockbox?
« Reply #8 on: December 12, 2007, 05:40:27 AM »
Yes - but that still doesn't acheive what the OP wants.
Logged

Read The Manual Please

Offline fml2

  • Member
  • *
  • Posts: 157
Re: Is there a way to create shortcuts within Rockbox?
« Reply #9 on: December 12, 2007, 05:59:32 AM »
Quote from: GodEater on December 12, 2007, 05:40:27 AM
Yes - but that still doesn't acheive what the OP wants.

Yes, I stand corrected. The 'symlinks' are just a feature of the plugin, they are not known at the file system level.
Logged

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: Is there a way to create shortcuts within Rockbox?
« Reply #10 on: December 12, 2007, 06:21:01 PM »
Quote from: bascule on December 12, 2007, 02:21:41 AM
...ans I personally don't see a use for it, but obviously there are others that do ;)

You're kidding? You can't see the benefits of saving tens if not hundreds of megs,  worth of multiple mp3s that exist throughout a complete album collection? It just seems like wasted space that could be better used by the addition of different mp3s, if such a short cut option existed. So what you are  saying is that not only does Rockbox not support such an option, but it would be techinically impossible to create?
Logged

Offline melancholydm

  • Member
  • *
  • Posts: 71
Re: Is there a way to create shortcuts within Rockbox?
« Reply #11 on: December 12, 2007, 07:22:09 PM »
if that annoys you.... you could always use the database for browsing your songs, no need to worry about duplicates
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Is there a way to create shortcuts within Rockbox?
« Reply #12 on: December 12, 2007, 08:58:15 PM »
As far as I know, FAT32 does not support symlinks.  

Could you achieve what you want by having a m3u in directory B pointing at a single track in directory A?
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Is there a way to create shortcuts within Rockbox?
« Reply #13 on: December 13, 2007, 02:53:30 AM »
Yeah, I'm sorry but the way to achieve what you want is through playlists - not through trying to hack some feature into the FAT32 file system.
Logged

Read The Manual Please

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Is there a way to create shortcuts within Rockbox?
 

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

Page created in 0.11 seconds with 14 queries.