xbmc on atv2 via apple file share playing wrong file
#1
Hi.

I have a problem...
My setup is an atv2, accessing files from my server via apples file sharing protocol.

If i choose "Videos" from main screen and then "files" I can see the movie files in the moviefolder (eg. some_title.mkv)
but if I choose "Movies" from main screen and then select a movie it tries to play the file in the folder instead.
This procedure is ok but it tries to play the wrong file it seems.

If I choose "get info" on the movie I can see that the file its trying to play is not the mkv but instead a video_ts.ifo file and it fails every time.

Why is there a difference in the way of playing files... (from Videos vs Movies)?
And what is a "video_ts.ifo" file? Its not a real file in my folder...

Reply
#2
xbmc.log (wiki)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Code:
21:46:29 T:94019584  NOTICE: DVDPlayer: Opening: afp://xxxx:[email protected]/Filmer/An Enemy to Die For (2012)/VIDEO_TS.IFO
21:46:29 T:94019584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:46:29 T:174907392  NOTICE: Creating InputStream
21:46:29 T:174907392   ERROR: Error on dvdnav_open
21:46:29 T:174907392   ERROR: CDVDPlayer::OpenInputStream - failed to open [afp://xxxx:[email protected]/Filmer/An Enemy to Die For (2012)/VIDEO_TS.IFO] as DVD ISO, trying Bluray
21:46:29 T:174907392   ERROR: CDVDInputStreamBluray::Open - failed to get title info
21:46:29 T:174907392   ERROR: CDVDPlayer::OpenInputStream - error opening [afp://xxxx:[email protected]/Filmer/An Enemy to Die For (2012)/VIDEO_TS.IFO/BDMV/index.bdmv]
21:46:29 T:174907392  NOTICE: CDVDPlayer::OnExit()
21:46:29 T:174907392  NOTICE: CDVDPlayer::OnExit() deleting input stream
21:46:29 T:94019584   ERROR: Playlist Player: skipping unplayable item: 0, path [afp://xxxx:[email protected]/Filmer/An Enemy to Die For (2012)/VIDEO_TS.IFO]
21:46:29 T:94019584  NOTICE: CDVDPlayer::CloseFile()


Its a .mkv file btw

this is when I open from "Videos/files":

Code:
21:44:22 T:94019584  NOTICE: DVDPlayer: Opening: afp://xxxx:[email protected]/Filmer/Battleship (2012)/battleship.2012.720p.bluray.x264-sparks.mkv
21:44:22 T:94019584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:44:22 T:166678528  NOTICE: Creating InputStream
21:44:37 T:166678528  NOTICE: Creating Demuxer
21:44:37 T:166678528  NOTICE: Opening video stream: 0 source: 256
21:44:37 T:166678528  NOTICE: Creating video codec with codec id: 28
21:44:37 T:166678528  NOTICE: Open - using avcC atom of size(40), ref_frames(5)
21:44:37 T:166678528  NOTICE: Creating video thread
21:44:37 T:192516096  NOTICE: running thread: video_thread
21:44:37 T:166678528  NOTICE: Opening audio stream: 1 source: 256
21:44:37 T:166678528  NOTICE: Finding audio codec for: 86020
21:44:37 T:166678528  NOTICE: Creating audio thread
21:44:37 T:193048576  NOTICE: running thread: CDVDPlayerAudio::Process()
21:44:37 T:166678528  NOTICE: Opening Subtitle stream: 0 source: 1024
21:44:38 T:193048576  NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
21:44:38 T:192516096  NOTICE:  fps: 23.976024, pwidth: 1280, pheight: 535, dwidth: 1277, dheight: 535
21:44:38 T:192516096 WARNING: CRenderManager::Configure - timeout waiting for previous frame
21:44:38 T:192516096  NOTICE: Display resolution DESKTOP : 1280x720 (12)
21:44:38 T:94019584  NOTICE: Using GL_TEXTURE_2D
21:44:38 T:94019584  NOTICE: GL: Using CoreVideoRef RGBA render method
21:44:38 T:94019584  NOTICE: GL: NPOT texture support detected
21:44:42 T:94019584  NOTICE: CDVDPlayer::CloseFile()
Reply
#4
http://wiki.xbmc.org/index.php?title=Xbm...s_thing.3F

Mainly we need debugging turned on (Settings -> System -> Debugging) and the full log via a paste site like pastebin.
Reply
#5
How can I attach the log file?

Dont see any button for that
Reply
#6
No offense, but it says it very clearly in the link that we've given you twice now:

Quote:Use a pastesite such as http://xbmclogs.com , http://pastebin.com , or http://pastebin.ca on when posting on the forums. Simply visit one of these sites, paste or upload your log and hit submit. After a few seconds you'll have a nice short URL to paste in your post.
Reply
#7
(2012-09-22, 13:35)Ned Scott Wrote: No offense, but it says it very clearly in the link that we've given you twice now:

Quote:Use a pastesite such as http://xbmclogs.com , http://pastebin.com , or http://pastebin.ca on when posting on the forums. Simply visit one of these sites, paste or upload your log and hit submit. After a few seconds you'll have a nice short URL to paste in your post.

I am sorry but I thought I was given directions on ---where to find--- the log file and didnt read the entire page on the link.

either way... here is my log

http://pastebin.com/yrgmQJdx
Reply
#8
For some reason it works when i switched to nfs instead of afp.

Problem not solved but not relevant for me anymore.
Reply
#9
yeah nfs rocks Wink *ducks and runs*
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#10
I've got the exact same problem with AFP. Switched to NFS also. But I'd like to know why all of a sudden AFP stopped working. I can update the mediatheque, the film info.... but as soon as I try to view a film, it tries to load a DVD ISO file which doesn't exist.
Reply
#11
This issue still exists and it's actually kind of a big problem in Frodo. Frodo often struggles playback video smoothly over WiFi, as many have mentioned. However yesterday I re-created my mysql library using AFP. While videos take longer to load, they play smoothly with no stuttering. Maybe it just uses a larger buffer. Maybe NFS transfers fast bursts and slow dips, screwing up XBMC's auto buffer size logic, while AFP shows a more consistent throughput. All I know is that AFP works well. Then I went back to NFS and back to AFP again to confirm my finding.

This would be welcome news if not for the problem mentioned in this thread. The TV library works fine but it seems to think all movies are a VIDEO_TS.ifo file even if its an mkv or avi. This has to be some stupid simple piece of errant code that has nothing to do with Netatalk or whatever XBMC uses for AFP, right? It's not like my server fabricating non-existent .ifo files.

I should also mention something else strange that may be related. If I add videos and browse to find the folder, I cannot select "NFS" in the menu. I first have to go through the Zeroconf browser. In case it wasn't obvious, I have a Mac server (10.8.3) and I just use OSX's built in NFS capabilites.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc on atv2 via apple file share playing wrong file0