Giter VIP home page Giter VIP logo

bash-itunes's People

Contributors

illusori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bash-itunes's Issues

Shuffle toggle won't work

Since the last update is 5 Months ago, I think is has to do something with a new iTunes version. Toggling shuffle won't work anymore. I'll look into this.

Add command fav

Would be great to have the option to favorite song (the heart added in iTunes 12)

Shuffle command does not work in iTunes 11 and up

I am not able to get the 'itunes shuffle' command to work.

According to several iTunes scripting knowledgeable folks the 'Shuffle' command has change in iTunes 11 and up. This Stack Overflow thread discusses the issue. Below are some basic osascripts that work for version 11 and version 12. Even more difficult due to the menu text and function being different between v11 and v12. Beyond my abilities to jump into your script to see if there is a way to get this to work in 'bash-itunes':

http://stackoverflow.com/questions/14674517/how-to-set-itunes-11-in-shuffle-or-repeat-mode-via-applescript/14679365#14679365

osascript - <<EOF;
tell application "System Events" to tell process "iTunes"'s menu bar 1's menu bar item "Controls"'s menu 1's menu item "Shuffle"'s menu 1
perform action "AXPress" of menu item "On"
end tell
EOF

osascript - <<EOF;
tell application "System Events" to tell process "iTunes"'s menu bar 1's menu bar item "Controls"'s menu 1's menu item "Shuffle"'s menu 1
perform action "AXPress" of menu item "Turn On Shuffle"
end tell
EOF

Song info does not display in iTunes 12.2.2.25

:~/bash-itunes → ./itunes info
Currently playing "" ()

:~/bash-itunes → ./itunes next
Skipping to next track, "" ()

Other than that, it still plays and can skip tracks like normal. I think the structure of the data coming in has changed. I noticed it wasn't able to convert data into a string.

Example of what use to work:
tell application "iTunes" to artist of current track as string'
Output:
Can’t make «class pArt» of «class pTrk» of application "iTunes" into type string. (-1700)

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.