tattwamasi / TeslaTunes

Copy your iTunes library, automatically converting Apple Lossless to flac, to a destination for use with your Tesla Model S
https://teslatunes.loci.net
43 stars 5 forks source link

"Load Error" on the Tesla #14

Open kithrup opened 7 years ago

kithrup commented 7 years ago

I've confirmed that all of the files are readable, so this is probably a Tesla bug, but: is anyone else getting this? It seems to consistently be the same songs, but some songs from the same album will play just fine, others won't.

tattwamasi commented 7 years ago

I have not seen something like that. What's the song format (In particular, was it apple lossless that the app converted to FLAC)? Were tags manipulated by the app? If not to those, almost couldn't be the app, but you could copy the original file manually to confirm.

If it is something the app did, then get me some details and maybe the original & converted files and I'll take a look.

kithrup commented 7 years ago

They are all M4A files. I have "Strip Tags in Playlists" checked, as well as "Remap album->artists, etc". When trying to play today, I had three "Load Errors" for these files:

./2017-08-05/Playlists/Randomizable/339-You May Be Right-Billy Joel-Glass Houses.m4a ./2017-08-05/Music/Dave Matthews Band/If Only - Single/01 If Only.m4a ./2017-08-05/Playlists/My Top Rated/223-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a or ./2017-08-05/Playlists/Randomizable/068-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a (I am not sure which one of those two it was)

They are playable from QuickTime on a mac.

./2017-08-05/Playlists/Randomizable/339-You May Be Right-Billy Joel-Glass Houses.m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio ./2017-08-05/Music/Dave Matthews Band/If Only - Single/01 If Only.m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio ./2017-08-05/Playlists/My Top Rated/223-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio ./2017-08-05/Playlists/Randomizable/068-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio

I note that some of the files have an AppleDouble file -- but not all of them (the Billy Joel file, for example, did not). (That said, I just removed all of the AD files from the drive, and will try again, I guess.)

Original files and the thumb drive versions can be made available if you want, but we'll have to do that OOB, of course.

As I said, it's probabkly a Tesla bug, but they really, truly don't care about non-streaming audio, so this is the first place to try.

lraesly commented 7 years ago

I have been consistently getting the "load error" message lately. It seems to be more prevalent when I'm skipping songs in shuffle mode. If I restart the playlist the songs that couldn't load, now load.

My guess is the same as Sean's, this is a Tesla error. I use a 256 gb USB drive and I haven't updated it in while. But I started to get these error messages more frequently when they updated the media app. It feels like it is a caching problem with the media player...

I'm not certain if the songs are lossless or aac but my guess is that it is a mixture of both.

Lee

On Aug 6, 2017, at 8:22 PM, Sean Eric Fagan notifications@github.com wrote:

They are all M4A files. I have "Strip Tags in Playlists" checked, as well as "Remap album->artists, etc". When trying to play today, I had three "Load Errors" for these files:

./2017-08-05/Playlists/Randomizable/339-You May Be Right-Billy Joel-Glass Houses.m4a ./2017-08-05/Music/Dave Matthews Band/If Only - Single/01 If Only.m4a ./2017-08-05/Playlists/My Top Rated/223-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a or ./2017-08-05/Playlists/Randomizable/068-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a (I am not sure which one of those two it was)

They are playable from QuickTime on a mac.

./2017-08-05/Playlists/Randomizable/339-You May Be Right-Billy Joel-Glass Houses.m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio ./2017-08-05/Music/Dave Matthews Band/If Only - Single/01 If Only.m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio ./2017-08-05/Playlists/My Top Rated/223-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio ./2017-08-05/Playlists/Randomizable/068-Spirit in the Sky-Norman Greenbaum-Guardians of the Galaxy: Awesome Mix, Vol. 1 (Original Motion Picture Soundtrack).m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio

I note that some of the files have an AppleDouble file -- but not all of them (the Billy Joel file, for example, did not). (That said, I just removed all of the AD files from the drive, and will try again, I guess.)

Original files and the thumb drive versions can be made available if you want, but we'll have to do that OOB, of course.

As I said, it's probabkly a Tesla bug, but they really, truly don't care about non-streaming audio, so this is the first place to try.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

tattwamasi commented 7 years ago

I was assuming that if you see the error with a file, then you always see the error with that file. If that's not the case, then absent other info, I'd blame the player software.
If you do always see the error with that particular file, then I would test taking that exact file and copying it to another directory on the USB fob, or to another fob and try it.
If it doesn't fail, then would blame the media player software, or the USB fob ( or perhaps the copy/Mac/app but without being able to recreate not sure what one could do about it). If it does fail, then it sounds like something specific about the data in that file. I'd check the filename and tags for odd characters, maybe rename the file to see if it makes a difference.
If name/tags look ok then would try using the app on the file but without the tag strip/remap - or simply try the original file. If the original works on the Tesla but the one copied from the app doesn't, then I'd be happy to take a look to see where the tag field changing, or whatever, is causing an issue.

If Lee is right about the caching, I expect the file will work after copying to another location, or after changing the filename (but I don't really have any idea how their software caches or works in general… :) )

lraesly commented 7 years ago

Just spent 20 minutes in my car and I couldn't reproduce any of the errors in loading that I see on longer trips. I’ve also experienced semi-frequent reloads of my USB drive after I stop the car, on a trip (and pretty random).

I think all of these issues are related to the media player, not the conversion or my USB drive (I’ve swiped out the USB drive twice). I initially thought it was a caching error but it could also be a memory leak or something similar with the media player.

1) Loading errors tend to happen more frequently after longer drives (45 minutes+) 2) Abrupt re-scanning of the USB drive occur after the car is stopped, while listening to music on the USB drive for an extended period (at least it seems). 3) If I restart a playlist with a loading error, the songs that were stopped with a loading error will play. Consistently.

I think that all of this points to problems with the media player. Either caching, memory leaks or god knows something else. Hard to repeat in the garage.

As always, appreciate the hard work of tattwamasi and the great app TeslaTunes.

Lee

On Aug 7, 2017, at 2:26 AM, tattwamasi notifications@github.com wrote:

I was assuming that if you see the error with a file, then you always see the error with that file. If that's not the case, then absent other info, I'd blame the player software. If you do always see the error with that particular file, then I would test taking that exact file and copying it to another directory on the USB fob, or to another fob and try it. If it doesn't fail, then would blame the media player software, or the USB fob ( or perhaps the copy/Mac/app but without being able to recreate not sure what one could do about it). If it does fail, then it sounds like something specific about the data in that file. I'd check the filename and tags for odd characters, maybe rename the file to see if it makes a difference. If name/tags look ok then would try using the app on the file but without the tag strip/remap - or simply try the original file. If the original works on the Tesla but the one copied from the app doesn't, then I'd be happy to take a look to see where the tag field changing, or whatever, is causing an issue.

If Lee is right about the caching, I expect the file will work after copying to another location, or after changing the filename (but I don't really have any idea how their software caches or works in general… :) )

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tattwamasi/TeslaTunes/issues/14#issuecomment-320579363, or mute the thread https://github.com/notifications/unsubscribe-auth/AKvQ3WD5KMdIK-UbPbEvFpAHSfu758R_ks5sVq4LgaJpZM4Ou0Ez.

ozobken commented 6 years ago

Just as a datapoint - I'm gettting load errors too - they're inconsistent and not always on the same files as far as I can tell

tattwamasi commented 6 years ago

I've noticed some too. It is not consistent. A song that didn't load at one point, seems like it will another time after the car does another unrequested reload of the USB storage. Based on everything on this thread, I'm almost certain there's a media player / storage bug that's hitting us all, and would no matter how we got the files on the storage.

lraesly commented 6 years ago

I can confirm. I recently reformatted my USB drive and reloaded the songs. Still get the random Load Error on a song. Seems to happen the longer the media player is playing (like on a trip) or after the car has been stopped.

I’m also seeing random re-loads of the entire USB drive, which is very annoying.

On Sep 19, 2017, at 1:29 AM, tattwamasi notifications@github.com wrote:

I've noticed some too. It is not consistent. A song that didn't load at one point, seems like it will another time after the car does another unrequested reload of the USB storage. Based on everything on this thread, I'm almost certain there's a media player / storage bug that's hitting us all, and would no matter how we got the files on the storage.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tattwamasi/TeslaTunes/issues/14#issuecomment-330433557, or mute the thread https://github.com/notifications/unsubscribe-auth/AKvQ3aJRhIDXS91GKY7im6fcgxIER_BMks5sj1EwgaJpZM4Ou0Ez.