Giter VIP home page Giter VIP logo

Comments (5)

danilop avatar danilop commented on August 22, 2024

Hi, I tested iTunes on a Mac (OS X 10.9.2 - just updated) and it worked.
I set up iTunes to not copy files to the iTunes Media folder in order to leave them in the folder backed by yas3fs.
I directly downloaded (directly to the yas3fs folder) a couple of mp3 files from here: http://www.stephaniequinn.com/samples.htm
I then right-clicked on the mp3 files and selected "Open With" -> "iTunes (default)".
The songs where correctly played and added to the iTunes Library, but the actual mp3 files were still on yas3fs, as I could check with "Get Info" form iTunes.
To test local caching, I unmounted the yas3fs folder, removed all files under the cache (I was using the default, so i did "rm -rf /tmp/yas3fs") and restarted yas3fs and iTunes.
Both files played well, there was just a couple of seconds of lag after selecting "play", yas3fs was re-downloading the files again.
I also tried to enable the "copy files to the iTunes Media folder" option and everything worked ok, this time the files where automatically copied to my local iTunes folder when imported.

Can you please give me more details on your setup?

Can you please check file level permissions? In my case the yas3fs folder is owned by the same user/group I use on the Mac.

from yas3fs.

tluthra avatar tluthra commented on August 22, 2024

Hi,
I'm running on OS X 10.9.2 as well, with iTunes 11.1.5 (both newest updates), and I'm still not able to get that to work. I downloaded the mp3 file directly into the yas3fs folder and tried to open it via iTunes, and it didn't work. I reran my drive in debug mode, and here are some of the relevant debug logs that came up, if they help.

2014-02-26 13:14:31,694 DEBUG check_data '/Allegro from Duet in C Major.mp3' data already in place
2014-02-26 13:14:31,694 DEBUG open '/Allegro from Duet in C Major.mp3' '0' '1'
2014-02-26 13:14:31,694 DEBUG read '/Allegro from Duet in C Major.mp3' '4096' '0' '0'
2014-02-26 13:14:31,695 DEBUG read '/Allegro from Duet in C Major.mp3' '4096' '0' '0' no range
2014-02-26 13:14:31,696 DEBUG read '/Allegro from Duet in C Major.mp3' '4096' '0' '0'
2014-02-26 13:14:31,696 DEBUG read '/Allegro from Duet in C Major.mp3' '4096' '0' '0' no range
2014-02-26 13:14:31,697 DEBUG read '/Allegro from Duet in C Major.mp3' '4096' '0' '0'
2014-02-26 13:14:31,697 DEBUG read '/Allegro from Duet in C Major.mp3' '4096' '0' '0' no range

I checked the file level permissions and yas3fs is owned by the same user/group I use on my Mac as well. What version of iTunes are you using? And what command are you using to mount the drive? Maybe these are the only differences and they're messing something up on my end.

If you need any more details let me know.

from yas3fs.

danilop avatar danilop commented on August 22, 2024

I just updated to iTunes 11.1.5 and it works for me.
This is what I see in the log with debug:

2014-02-26 22:32:46,248 DEBUG check_data '/Music/Canon.mp3' data already in place
2014-02-26 22:32:46,248 DEBUG open '/Music/Canon.mp3' '0' '1'
2014-02-26 22:32:46,249 DEBUG read '/Music/Canon.mp3' '65536' '0' '0'
2014-02-26 22:32:46,249 DEBUG read '/Music/Canon.mp3' '65536' '0' '0' no range
2014-02-26 22:32:46,253 DEBUG read '/Music/Canon.mp3' '65536' '65536' '0'
2014-02-26 22:32:46,253 DEBUG read '/Music/Canon.mp3' '65536' '65536' '0' no range
2014-02-26 22:32:46,258 DEBUG read '/Music/Canon.mp3' '1213' '2183168' '0'
2014-02-26 22:32:46,258 DEBUG read '/Music/Canon.mp3' '1213' '2183168' '0' no range
2014-02-26 22:32:46,258 DEBUG read '/Music/Canon.mp3' '1213' '2183168' '0'
2014-02-26 22:32:46,258 DEBUG read '/Music/Canon.mp3' '1213' '2183168' '0' no range

Are you using the latest version of FUSE for OS X? It should be 2.6.2.
Can you give me the full syntax you use with yas3fs?
Can you unmount the yas3fs folder, remove everything in the cache (usually "rm -rf /tmp/yas3fs"), mount again and then retry?
I just updated yas3fs and now you can install the latest version with:

sudo pip install -U yas3fs

Beware that the syntax has changed, now you don't need "--url" anymore, just:

yas3fs S3Path LocalPath

from yas3fs.

tluthra avatar tluthra commented on August 22, 2024

Yea, I was using the latest version of FUSE of OSX, and followed those instructions. As a last ditch effort I completely uninstalled then reinstalled FUSE and that seems to be working now. I'm still not sure of the issue but it's fixed. Thanks so much for your help!

from yas3fs.

danilop avatar danilop commented on August 22, 2024

Ok, you're welcome!
If you have some spare time, please share how you use yas3fs on the wiki, it can help me improve it and others understand what they could do. Just one sentence is enough, thanks!

from yas3fs.

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.