Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music files not opening in iTunes #12

Closed
tluthra opened this issue Feb 26, 2014 · 5 comments
Closed

Music files not opening in iTunes #12

tluthra opened this issue Feb 26, 2014 · 5 comments
Assignees

Comments

@tluthra
Copy link

tluthra commented Feb 26, 2014

I have an S3 Bucket of music files that I'm trying to open with iTunes, and unfortunately none of them are playing.

I can open the files perfectly fine with another player (VLC), so the issue doesn't seem to be on that end. Does iTunes expect something different from the file that other players may not? Is there a way to fix that?

@danilop danilop self-assigned this Feb 26, 2014
@danilop
Copy link
Owner

danilop commented Feb 26, 2014

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.

@tluthra
Copy link
Author

tluthra commented Feb 26, 2014

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.

@tluthra tluthra closed this as completed Feb 26, 2014
@tluthra tluthra reopened this Feb 26, 2014
@danilop
Copy link
Owner

danilop commented Feb 26, 2014

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

@tluthra
Copy link
Author

tluthra commented Feb 26, 2014

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!

@tluthra tluthra closed this as completed Feb 26, 2014
@danilop
Copy link
Owner

danilop commented Feb 26, 2014

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants