GithubHelp home page GithubHelp logo

Comments (4)

CDrummond avatar CDrummond commented on August 29, 2024

The reason copy is blocked here is that it interferes with drag'n'drop. However, if I removed drag'n'drop between Browse and Queue I could probably enable copy action in more places.

I've posted a query on the Lyrion forums asking if anyone actually uses this drag'n'drop between Browse and Queue. I suspect nobody does, so should be safe to remove.

from lms-material.

Phil995511 avatar Phil995511 commented on August 29, 2024

That would make me happy, because having to retype the names of artists into a web browser by hand to find information about them is somewhat tedious after a while...

Regards.

from lms-material.

CDrummond avatar CDrummond commented on August 29, 2024

To be honest I'm not 100% sure what to do about this. Material is designed to be an app, so text selection simply cannot work everywhere. To 'fix' your issue I'd have to remove features, which I'm not inclined todo.

However, would the following not suffice?

Save the following as material-skin/actions.json within your LMS's prefs folder:

{
 "album-track":[
  {
   "title":"Copy details",
   "script":"copyTextToClipboard('$TRACKNAME $ARTISTNAME $ALBUMNAME');",
   "icon":"content_copy"
  }
 ],
 "playlist-track":[
  {
   "title":"Copy details",
   "script":"copyTextToClipboard('$TRACKNAME $ARTISTNAME $ALBUMNAME');",
   "icon":"content_copy"
  }
 ],
 "queue-track":[
  {
   "title":"Copy details",
   "script":"copyTextToClipboard('$TRACKNAME $ARTISTNAME $ALBUMNAME');",
   "icon":"content_copy"
  }
 ]
}

...reload Material. Now you should see "Copy details" on the context menus for album tracks, playlist tracks, and queue tracks.

See https://github.com/CDrummond/lms-material/wiki/07-Customisation for more details.

from lms-material.

CDrummond avatar CDrummond commented on August 29, 2024

Added 'Copy details' action to artists, albums, tracks (album, playlist, queue), and other items (such as from apps). Will be in 5.1.0

from lms-material.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.