raptorjr 9 Posted June 6, 2015 Share Posted June 6, 2015 I've tried to search but had a hard time to find anything useful to help solve my problem. I have Emby on Ubuntu, and the Kodi client running Ubuntu works fine. But then I thought I should install Kodi on a Windows client to be able to test things. Syncing works fine, but playback dont work. This is what I get in the Kodi log: 17:52:00 T:14848 NOTICE: PLAY Called17:52:00 T:13848 NOTICE: DVDPlayer: Opening: /media/multimedia/movies/Shade (2003)/Shade.2003.mkv17:52:00 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED17:52:00 T:16884 NOTICE: Thread DVDPlayer start, auto delete: false17:52:00 T:16884 NOTICE: Creating InputStream17:52:00 T:16884 ERROR: CDVDPlayer::OpenInputStream - error opening [/media/multimedia/movies/Shade (2003)/Shade.2003.mkv]17:52:00 T:16884 NOTICE: CDVDPlayer::OnExit()17:52:00 T:13848 ERROR: Playlist Player: skipping unplayable item: 0, path [/media/multimedia/movies/Shade (2003)/Shade.2003.mkv]17:52:00 T:13848 NOTICE: CDVDPlayer::CloseFile()17:52:00 T:13848 NOTICE: DVDPlayer: waiting for threads to exit17:52:00 T:13848 NOTICE: DVDPlayer: finished waiting17:52:00 T:13848 NOTICE: CDVDPlayer::CloseFile()17:52:00 T:13848 NOTICE: DVDPlayer: waiting for threads to exit17:52:00 T:13848 NOTICE: DVDPlayer: finished waiting17:52:00 T:14392 NOTICE: EMBY Player -> onPlayBackStopped17:52:03 T:13848 ERROR: Playlist Player: skipping unplayable item: -1, path [plugin://plugin.video.emby/movies/547edda62e0993ff21ed10969d883801/?id=547edda62e0993ff21ed10969d883801&mode=play]17:52:03 T:13848 WARNING: Attempt to set unplayable index -1 I do understand that the direct path to the file dont work, but shouldn't the file be streamed to the client if that fails? Maybe there is some setting i'm missing? But I guess that it should be possible to have Kodi on different clients/OS and all could use Emby server as the provider for files? Link to comment Share on other sites More sharing options...
xnappo 1593 Posted June 6, 2015 Share Posted June 6, 2015 (edited) No - you need to fix your path setup in Emby Server or you can turn on 'Play from HTTP instead of SMB' as a work-around. Edited June 6, 2015 by xnappo Link to comment Share on other sites More sharing options...
raptorjr 9 Posted June 6, 2015 Author Share Posted June 6, 2015 Ok, so I should use path substitution to fix that? Anyway, tried to enable HTTP instead, and got this in the log: 18:51:14 T:20524 NOTICE: -->Python Interpreter Initialized<--18:51:14 T:20524 NOTICE: Parameter string: ?id=dc5156e65490a6d9d4a95015aadce854&mode=play18:51:14 T:20524 NOTICE: PLAY Called18:51:14 T:13848 NOTICE: DVDPlayer: Opening: http://192.168.1.10:8096/mediabrowser/Videos/dc5156e65490a6d9d4a95015aadce854/stream?static=true&AudioStreamIndex=118:51:14 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED18:51:14 T:20248 NOTICE: Thread DVDPlayer start, auto delete: false18:51:14 T:20248 NOTICE: Creating InputStream18:51:14 T:20248 NOTICE: Creating Demuxer18:51:14 T:19596 NOTICE: Thread FileCache start, auto delete: false18:51:14 T:20248 NOTICE: Opening stream: 0 source: 25618:51:14 T:20248 NOTICE: Creating video codec with codec id: 2818:51:14 T:20248 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 1018:51:14 T:20248 NOTICE: Creating video thread18:51:14 T:20248 NOTICE: Opening stream: 1 source: 25618:51:14 T:20248 NOTICE: Finding audio codec for: 8601818:51:14 T:21500 NOTICE: Thread DVDPlayerVideo start, auto delete: false18:51:14 T:21500 NOTICE: running thread: video_thread18:51:14 T:20248 NOTICE: Creating audio thread18:51:14 T:20248 NOTICE: Opening stream: 2 source: 25618:51:14 T:15776 NOTICE: Thread DVDPlayerAudio start, auto delete: false18:51:14 T:15776 NOTICE: running thread: CDVDPlayerAudio::Process()18:51:14 T:21500 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(1280x688)18:51:14 T:15776 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)18:51:14 T:21500 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 688, dwidth: 1280, dheight: 68818:51:14 T:21500 NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)18:51:14 T:21500 NOTICE: D3D: rendering method forced to DXVA processor18:51:14 T:13848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/dc5156e65490a6d9d4a95015aadce854/?id=dc5156e65490a6d9d4a95015aadce854&mode=play]18:51:14 T:13848 WARNING: CWinRenderer::UpdateVideoFilter - chosen scaling method 1 is not supported by renderer18:51:14 T:13848 NOTICE: CDVDPlayer::CloseFile()18:51:14 T:13848 NOTICE: DVDPlayer: waiting for threads to exit18:51:14 T:20248 NOTICE: CDVDPlayer::OnExit()18:51:14 T:20248 NOTICE: Closing stream player 118:51:14 T:20248 NOTICE: Waiting for audio thread to exit18:51:14 T:15776 NOTICE: thread end: CDVDPlayerAudio::OnExit()18:51:14 T:20248 NOTICE: Closing audio device18:51:14 T:20248 NOTICE: Deleting audio codec18:51:14 T:20248 NOTICE: Closing stream player 218:51:14 T:20248 NOTICE: waiting for video thread to exit18:51:14 T:21500 NOTICE: thread end: video_thread18:51:14 T:20248 NOTICE: deleting video codec18:51:14 T:20248 NOTICE: DXVA::CDecoder::Close - closing decoder18:51:14 T:20248 NOTICE: DXVA::Close - closing decoder context18:51:14 T:20248 NOTICE: Closing stream player 318:51:14 T:13848 NOTICE: DVDPlayer: finished waiting18:51:14 T:13848 NOTICE: CDVDPlayer::CloseFile()18:51:14 T:13848 NOTICE: DVDPlayer: waiting for threads to exit18:51:14 T:13848 NOTICE: DVDPlayer: finished waiting18:51:14 T:14392 NOTICE: EMBY Player -> onPlayBackStopped Link to comment Share on other sites More sharing options...
raptorjr 9 Posted June 6, 2015 Author Share Posted June 6, 2015 I enabled path substitution, but get similar output as above. But I see that the path is correct. And it shouldn't be a permission problem, since I can open the file from Explorer. 18:57:34 T:20612 NOTICE: PLAY Called18:57:34 T:13848 NOTICE: DVDPlayer: Opening: Z:\movies\Fracture (2007) [1080p]\Fracture.2007.1080p.mp418:57:34 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED18:57:34 T:16680 NOTICE: Thread DVDPlayer start, auto delete: false18:57:34 T:16680 NOTICE: Creating InputStream18:57:34 T:16680 NOTICE: Creating Demuxer18:57:36 T:16680 NOTICE: Opening stream: 0 source: 25618:57:36 T:16680 NOTICE: Creating video codec with codec id: 2818:57:36 T:16680 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 1018:57:36 T:16680 NOTICE: Creating video thread18:57:36 T:16680 NOTICE: Opening stream: 1 source: 25618:57:36 T:16680 NOTICE: Finding audio codec for: 8601818:57:36 T:20780 NOTICE: Thread DVDPlayerVideo start, auto delete: false18:57:36 T:20780 NOTICE: running thread: video_thread18:57:36 T:16680 NOTICE: Creating audio thread18:57:36 T:16680 NOTICE: Opening stream: 0 source: 102418:57:36 T:19760 NOTICE: Thread DVDPlayerAudio start, auto delete: false18:57:36 T:19760 NOTICE: running thread: CDVDPlayerAudio::Process()18:57:36 T:20780 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(1920x816)18:57:36 T:19760 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)18:57:36 T:19760 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 4218:57:36 T:20780 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 816, dwidth: 1920, dheight: 81618:57:36 T:20780 NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)18:57:36 T:20780 NOTICE: D3D: rendering method forced to DXVA processor18:57:36 T:13848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/4cfed4fa6940776b6e4982c84d4e8173/?id=4cfed4fa6940776b6e4982c84d4e8173&mode=play]18:57:36 T:13848 WARNING: CWinRenderer::UpdateVideoFilter - chosen scaling method 1 is not supported by renderer18:57:36 T:13848 NOTICE: CDVDPlayer::CloseFile()18:57:36 T:13848 NOTICE: DVDPlayer: waiting for threads to exit18:57:36 T:16680 NOTICE: CDVDPlayer::OnExit()18:57:36 T:16680 NOTICE: Closing stream player 118:57:36 T:16680 NOTICE: Waiting for audio thread to exit18:57:36 T:19760 NOTICE: thread end: CDVDPlayerAudio::OnExit()18:57:36 T:16680 NOTICE: Closing audio device18:57:36 T:14320 NOTICE: EMBY WebSocketThread -> Message : {"MessageType":"PlaybackStopped","Data":{"SupportedCommands":["MoveUp","MoveDown","MoveLeft","MoveRight","Select","Back","ToggleContextMenu","ToggleFullscreen","ToggleOsdMenu","GoHome","PageUp","NextLetter","GoToSearch","GoToSettings","PageDown","PreviousLetter","TakeScreenshot","VolumeUp","VolumeDown","ToggleMute","SendString","DisplayMessage","Mute","Unmute","SetVolume","Play","Playstate","PlayNext"],"QueueableMediaTypes":["Video"],"PlayableMediaTypes":["Audio","Video"],"Id":"01c7e489c3fffe9ffb04006031fc361b","UserId":"420e2d15f21a49ca8080a94e21fec302","UserName":"Stefan","AdditionalUsers":[],"ApplicationVersion":"1.0.02","Client":"Kodi","LastActivityDate":"2015-06-06T16:57:33.8231390Z","DeviceName":"Kodi","DeviceId":"A302F84F96C04E1AA128D982D165CCD7","SupportsRemoteControl":true,"PlayState":{"CanSeek":false,"IsPaused":false,"IsMuted":false}}}18:57:36 T:16680 NOTICE: Deleting audio codec18:57:36 T:16680 NOTICE: Closing stream player 218:57:36 T:16680 NOTICE: waiting for video thread to exit18:57:36 T:20780 NOTICE: thread end: video_thread18:57:36 T:16680 NOTICE: deleting video codec18:57:36 T:16680 NOTICE: DXVA::CDecoder::Close - closing decoder18:57:36 T:16680 NOTICE: DXVA::Close - closing decoder context18:57:36 T:16680 NOTICE: Closing stream player 318:57:36 T:13848 NOTICE: DVDPlayer: finished waiting18:57:36 T:13848 NOTICE: CDVDPlayer::CloseFile()18:57:36 T:13848 NOTICE: DVDPlayer: waiting for threads to exit18:57:36 T:13848 NOTICE: DVDPlayer: finished waiting18:57:36 T:14392 NOTICE: EMBY Player -> onPlayBackStopped Link to comment Share on other sites More sharing options...
xnappo 1593 Posted June 6, 2015 Share Posted June 6, 2015 You need to use UNC paths. \\server\path not z:\ Link to comment Share on other sites More sharing options...
raptorjr 9 Posted June 6, 2015 Author Share Posted June 6, 2015 Thank you for helping me. I actually find it a little amazing how big patient people have on this forum. Even stupid people get answered =) Anyway, a small step forward, but still not playing: 19:44:19 T:23516 NOTICE: PLAY Called19:44:19 T:13848 NOTICE: DVDPlayer: Opening: smb://192.168.1.10/multimedia/movies/Shade (2003)/Shade.2003.mkv19:44:19 T:13848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED19:44:19 T:23272 NOTICE: Thread DVDPlayer start, auto delete: false19:44:19 T:23272 NOTICE: Creating InputStream19:44:19 T:23272 NOTICE: Creating Demuxer19:44:19 T:23272 NOTICE: Opening stream: 0 source: 25619:44:19 T:23272 NOTICE: Creating video codec with codec id: 1319:44:19 T:23272 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 219:44:19 T:23272 NOTICE: Creating video thread19:44:19 T:23272 NOTICE: Opening stream: 1 source: 25619:44:19 T:23272 NOTICE: Finding audio codec for: 8601719:44:19 T:23272 NOTICE: Creating audio thread19:44:19 T:22692 NOTICE: Thread DVDPlayerVideo start, auto delete: false19:44:19 T:22692 NOTICE: running thread: video_thread19:44:19 T:23272 NOTICE: Opening stream: 0 source: 102419:44:19 T:23488 NOTICE: Thread DVDPlayerAudio start, auto delete: false19:44:19 T:23488 NOTICE: running thread: CDVDPlayerAudio::Process()19:44:20 T:23488 NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 48000, no pass-through)19:44:20 T:22692 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 219:44:20 T:22692 NOTICE: fps: 25.000000, pwidth: 640, pheight: 256, dwidth: 640, dheight: 25619:44:20 T:22692 NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)19:44:20 T:13848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/547edda62e0993ff21ed10969d883801/?id=547edda62e0993ff21ed10969d883801&mode=play]19:44:20 T:13848 NOTICE: CDVDPlayer::CloseFile()19:44:20 T:13848 NOTICE: DVDPlayer: waiting for threads to exit19:44:20 T:23272 NOTICE: CDVDPlayer::OnExit()19:44:20 T:23272 NOTICE: Closing stream player 119:44:20 T:23272 NOTICE: Waiting for audio thread to exit19:44:20 T:23488 NOTICE: thread end: CDVDPlayerAudio::OnExit()19:44:20 T:23272 NOTICE: Closing audio device19:44:20 T:23272 NOTICE: Deleting audio codec19:44:20 T:23272 NOTICE: Closing stream player 219:44:20 T:23272 NOTICE: waiting for video thread to exit19:44:20 T:14320 NOTICE: EMBY WebSocketThread -> Message : {"MessageType":"PlaybackStopped","Data":{"SupportedCommands":["MoveUp","MoveDown","MoveLeft","MoveRight","Select","Back","ToggleContextMenu","ToggleFullscreen","ToggleOsdMenu","GoHome","PageUp","NextLetter","GoToSearch","GoToSettings","PageDown","PreviousLetter","TakeScreenshot","VolumeUp","VolumeDown","ToggleMute","SendString","DisplayMessage","Mute","Unmute","SetVolume","Play","Playstate","PlayNext"],"QueueableMediaTypes":["Video"],"PlayableMediaTypes":["Audio","Video"],"Id":"01c7e489c3fffe9ffb04006031fc361b","UserId":"420e2d15f21a49ca8080a94e21fec302","UserName":"Stefan","AdditionalUsers":[],"ApplicationVersion":"1.0.02","Client":"Kodi","LastActivityDate":"2015-06-06T17:44:17.3386770Z","DeviceName":"Kodi","DeviceId":"A302F84F96C04E1AA128D982D165CCD7","SupportsRemoteControl":true,"PlayState":{"CanSeek":false,"IsPaused":false,"IsMuted":false}}}19:44:20 T:22692 NOTICE: thread end: video_thread19:44:20 T:23272 NOTICE: deleting video codec19:44:20 T:23272 NOTICE: Closing stream player 319:44:20 T:13848 NOTICE: DVDPlayer: finished waiting19:44:20 T:13848 NOTICE: CDVDPlayer::CloseFile()19:44:20 T:13848 NOTICE: DVDPlayer: waiting for threads to exit19:44:20 T:13848 NOTICE: DVDPlayer: finished waiting19:44:20 T:14392 NOTICE: EMBY Player -> onPlayBackStopped Link to comment Share on other sites More sharing options...
xnappo 1593 Posted June 6, 2015 Share Posted June 6, 2015 Okay.. Now that looks pretty much right. What version are you using beta or stable? xnappo Link to comment Share on other sites More sharing options...
raptorjr 9 Posted June 6, 2015 Author Share Posted June 6, 2015 (edited) The server: 2015-06-06 15:40:08.9723 Info - Main: Emby Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /media/multimedia/emby Operating system: Unix 3.13.0.52 Processor count: 2 64-Bit OS: True 64-Bit Process: True Program data path: /media/multimedia/emby Mono: 4.0.1 (tarball Tue May 26 04:28:10 UTC 2015) Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe2015-06-06 15:40:09.3228 Info - App: Application version: 3.0.5621.42015-06-06 15:40:09.4344 Info - App: Application configuration: And Emby for Kodi is version 1.0.02. It should be beta, at least that is my intention. I always have a hard time to wait for features and things when I see them added to the source. And don't mind reporting bugs as I find them. Sorry, missed the Kodi version: Kodi 15.0-BETA2 Edited June 6, 2015 by raptorjr Link to comment Share on other sites More sharing options...
xnappo 1593 Posted June 6, 2015 Share Posted June 6, 2015 Oh - that is the problem 0.02 has a bug. Go to the repo and do force refresh and you should get .03 which should fix this. We will hopefully have .04 out later today with an announcement of some great new features. .02 and .03 and definitely test releases and may have bugs! Link to comment Share on other sites More sharing options...
raptorjr 9 Posted June 6, 2015 Author Share Posted June 6, 2015 Thank you, works fine with 1.0.03 =) Link to comment Share on other sites More sharing options...
Recommended Posts