Error Playing TV Series from Home Screen
#1
Hey,
just updated to RC1 and all went fine. But i noticed an wrong behavior on my ATV2 that may occur on other platforms as well. So here is whats wrong.
I downloaded the latested Top Gear Episode and i renamed it to "Top Gear - S18E05 - Saab Tribute, Rocket Man Race, Maserati Gran Turismo MC Stradale, and Mercedes C63 Black.mkv". So i went to XBMC, made i search for new stuff.
The Series appeared at the Home Screen under the latested four new Series. I went to the Top Gear Ep. which had a cover and seemed correct, but pressing play doesn't do anything. I went to the Series Section and then to the Top Gear Series and tried to play the Ep. from there and it worked. Then i turned on the debuging log went back to home screen. Here is the result:

Code:
14:45:47 T:113467392  NOTICE: DVDPlayer: Opening: smb://HP6910P/Filme auf G/TV Serien/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute
14:45:47 T:113467392 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:45:47 T:113467392   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
14:45:47 T:113467392   DEBUG: LinuxRendererGL: Cleaning up GL resources
14:45:47 T:127098880   DEBUG: Thread CDVDPlayer start, auto delete: 0
14:45:47 T:127098880  NOTICE: Creating InputStream
14:45:47 T:127098880   DEBUG: CFileSMB::Open - opened Filme auf G/TV Serien/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute, fd=-1
14:45:47 T:127098880    INFO: FileSmb->Open: Unable to open file : 'smb://HP6910P/Filme%20auf%20G/TV%20Serien/Top%20Gear/Season%2018/Top%20Gear%20%2d%20S18E05%20%2d%20Saab%20Tribute'
                                            unix_err:'2' error : 'No such file or directory'
14:45:47 T:127098880   ERROR: CDVDPlayer::OpenInputStream - error opening [smb://HP6910P/Filme auf G/TV Serien/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute]
14:45:47 T:127098880  NOTICE: CDVDPlayer::OnExit()
14:45:47 T:127098880  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:45:47 T:127098880   DEBUG: Thread CDVDPlayer 127098880 terminating

So it seems that there is an Problem with the filename string. Perhaps someone can confirm it or report it as a bug in case it is one.

thanks a lot
poebler
Reply
#2
I've got a couple of ATV2s that are still running Eden beta 3 and on one of them today I tried launching a couple of TV shows from the "recent episode" popups on the home screen with no joy. Running them via a menu entry that showed the grid of recently added episodes worked as expected.

Tonight I'll switch on debug logging and try to recreate the issue. Afterwards, I'll post the relevant logs on here for the devs to review if it shows a similar problem.

My media is hosted on a QNAP NAS and accessed via SMB with a shared MySQL db in the mix as well.

One thing I noticed about your log snippet, it doesn't include the file extension for your file (eg you mentioned it was an mkv), perhaps this is why the fileopen is failing. Would be interesting to compare a "failed" open with one that works to isolate the difference.
Reply
#3
Platform: ATV2
ATV Software: 4.4.4 (3330)
XBMC Version: Darwin iOS (11.0.0 AppleTV2,1, Version 5.0.1 (Build 9A406a)). Built on Feb 8 2012
Media Location: QNAP NAS
Share Protocol: SMB
Media Database: MySQL hosted on NAS
Skin: Default skin (Confluence)

Logs:

XBMC.log for Top Gear - S18E05 : http://pastebin.com/MDFXA1AW
XBMC.log for Monsters INC: http://pastebin.com/KncvdPZU


Configuration options required to recreate issue:

System -> Settings -> Skin -> Home Window options

Home screen options

Show video info : unset
Show music info : unset
Show weather info : unset
Show Recently added Videos : set

Hide Main Menu Buttons

Hide - Videos : unset
Hide - Movies (Videos - Library) : unset
Hide - TV shows (Vidoes - Library) : set
Hide - Music : unset
Hide - Pictures : unset
Hide - Programs : set

Steps to recreate issue:

1. Launch XBMC.
2. Highlight "Videos" on home screen and observe recently added episodes shown at top of screen.
3. Highlight one of the recently added episodes that has a comma in its name, eg "Top Gear - S18E05 - Saab Tribute, Rocket Man Race, Maserati Gran Turismo MC Stradale, and Mercedes C63 Black" and attempt to launch it.
4. Observe that the episode does not start as expected.
5. Navigate to Videos, Library, Recently added episodes.
6. Attempt to launch the same episode with a comma in its name. The episode should start to play correctly.

Analysis:

Looking at the logs, when you select an episode to play, XBMC needs to translate/convert the selection to an actual disc based filename which is what it will attempt to open and play. This process doesn't appear to work correctly for files that have a comma in their name when they are launched from the recently used section on the home screen, instead the filename gets truncated at the first comma. When it then tries to find a file with that partial name to play, it fails. Browsing to the Library, Recently added episodes allows it work correctly.

EG: When trying to play the Top Gear episode from the home screen recently used, you get the following:

Code:
09:57:43 T:136617984   DEBUG: ExecuteXBMCAction : Translating PlayMedia($INFO[Window.Property(LatestEpisode.2.Path)])
09:57:43 T:136617984   DEBUG: ExecuteXBMCAction : To PlayMedia(smb://TIMMY/Qmultimedia/TV/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute, Rocket Man Race, Maserati Gran Turismo MC Stradale, and Mercedes C63 Black.avi)
09:57:43 T:136617984   DEBUG: CPlayerCoreFactory::GetPlayers(smb://TIMMY/Qmultimedia/TV/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute)

...

09:57:43 T:136617984  NOTICE: DVDPlayer: Opening: smb://TIMMY/Qmultimedia/TV/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute
09:57:43 T:136617984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:57:43 T:136617984   DEBUG: LinuxRendererGL: Cleaning up GL resources
09:57:43 T:123555840   DEBUG: Thread CDVDPlayer start, auto delete: 0
09:57:43 T:123555840  NOTICE: Creating InputStream
09:57:43 T:123555840   DEBUG: CFileSMB::Open - opened Qmultimedia/TV/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute, fd=-1
09:57:43 T:123555840    INFO: FileSmb->Open: Unable to open file : 'smb://TIMMY/Qmultimedia/TV/Top%20Gear/Season%2018/Top%20Gear%20%2d%20S18E05%20%2d%20Saab%20Tribute'
                                            unix_err:'2' error : 'No such file or directory'
09:57:43 T:123555840   ERROR: CDVDPlayer::OpenInputStream - error opening [smb://TIMMY/Qmultimedia/TV/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute]
09:57:43 T:123555840  NOTICE: CDVDPlayer::OnExit()
09:57:43 T:123555840  NOTICE: CDVDPlayer::OnExit() deleting input stream
09:57:43 T:123555840   DEBUG: Thread CDVDPlayer 123555840 terminating
09:57:43 T:136617984   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
09:57:43 T:136617984   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
09:57:43 T:136617984   ERROR: XBMC.PlayMedia could not play media: smb://TIMMY/Qmultimedia/TV/Top Gear/Season 18/Top Gear - S18E05 - Saab Tribute


The same behaviour is also present for recently added Movies as well, eg on my homescreen I have "Monsters, Inc." as a movie title, but attempting to launch it from there fails. Browsing to recently added movies under Videos allows it to work as expected.

Full details are in the logs referenced at Pastebin.

Poebler, can you try launching the affected episode from Library, Recently added episodes and confirm if this works for you?

Can you also supply the full details needed by the devs eg platform, build, install method etc so they can properly investigate this. Thanks.
Reply
#4
Just a quick update to add that the issue also seems to be present in the Windows version of Eden Beta 3 as well which I have running on a W7 Home Premium Acer Aspire Revo (R6310).

I observed the same behaviour earlier today with the offending Top Gear episode.

This leads me to think that the issue isn't platform specific.
Reply
#5
this is a skin issue an can easily be fixed.

should any skinner be reading this,
http://trac.xbmc.org/ticket/12708 has instructions on how to fix it.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Error Playing TV Series from Home Screen0