Jump to content

Welcome, Guest!

Be a part of CinemaVision today! Once registered and logged in, you will have access to public chat and your own private messenger, you can view and contribute guides, collaborate on the forums, review downloads, give reputation to your fellow members, contribute content and so much more. Registering is quick and completely free, so what are you waiting for?
   Sign In    Sign Up

Become a RedCarpet Club Member Today!

   Join Now
  • 0
Sign in to follow this  
cirkator

Trivias will not play with music enabled

Question

Hi, I have encountered a problem where my trivia slides will not show when I enable the music option.

I have to say that I am using Emby as my media backend and the Emby for Kodi addon to play my media content on my HTPC. I guess the problem is because I am using Emby for Kodi since nobody else has written about such a problem. I will post the same question at their forum and see if they have an idea for a solution. I guess it has something to do with the way the music files are located directly on my HTPC and not on my NAS where all the movies are and Emby serves them to Emby for Kodi.

 

When I disable the music option the trivia slides will play fine and the whole sequence plays to the end.

With music enabled it will stop with a black screen and neither showing a slide nor plays music. The sequence will not continue after the time the trivia slides are supposed to play is over.

 

In the log I have enabled kodi debug, emby debug and CV debug. It first I play the sequence without music. At the 11:08:58 minute mark I exit the slides and start enabling the music option. And then play the sequence again with music enabled.

I am using Kodi 15.1, CV 0.39 and Emby for Kodi 1.1.39 from the stable repo. On Ubuntu 14.04.3.

As a test, I have added the music folder from the cinema experience folder structure as a music source in Kodi and added to music folder with Kodis file manager. That didnt help, still no sound and just a black screen.

http://pastebin.com/qsGW3J9k

Any more info I should provide?

kodi_CV_v0.39.log

Edited by cirkator

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

This will be fixed in the next release! We'll need a log from you after you test with the next version, 0.0.40. Thanks for your help tracking it down.

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

I may have an idea. This is just a wild guestimation since i am not a programmer and have no way of verifying since I am not at home and will not be for a few days more.

BUT

Since this is the error message:

11:09:28 T:140367408113408   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: unsupported operand type(s) for -: 'float' and 'str'
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/script.cinemavision/lib/experience.py", line 485, in onPlayBackStopped
                                                self.next()
                                              File "/home/kodi/.kodi/addons/script.cinemavision/lib/experience.py", line 1040, in next
                                                if not self.showImageQueue(playable):
                                              File "/home/kodi/.kodi/addons/script.cinemavision/lib/experience.py", line 925, in showImageQueue
                                                musicEnd = end - image_queue.musicFadeOut
                                            TypeError: unsupported operand type(s) for -: 'float' and 'str'
                                            -->End of Python script error report<--

And i THINK the interesting bit is:

TypeError: unsupported operand type(s) for -: 'float' and 'str'

Where it seems that the "-" symbol is throwing the error.

Again, I can not verify this right now, but it MIGHT be that i added a song yesterday to the folder that was titled like this: Artist - Title.mp3

It COULD be that i had songs in the folder that were labeled like this before. But i cant say for sure. I THINK that when i tested version 0.35 everything was working fine. Slides with music together, but i did the testing quite late at night and only did one testrun and that was some time ago, cant remember for sure.

 

Could this be the problem?

Edited by cirkator

Share this post


Link to post
Share on other sites
  • 0

Unfortunately this issue is not resolved for me.

I had time today to test with v.0.45 and i still get a black screen when i enable music for the trivia slides.

What is even weirder is that it worked ONCE. Then i restarted Kodi and tried it again, but i got a black screen.

 

What i did so far to test things out:

  • Deleted all weird characters from the mp3 file names (- ? ´)
  • Cleared all ID3 tags, all tags are now empty
  • Added the CV music folder as a music source into kodi (tried with added source and without)
  • Tried to set the music option in trivia menu to single file and tried every mp3 seperately, didnt work with any song
  • I can play the mp3s in Kodi just fine
  • Tried with the "Content" option and with "directory" in trivia menu

 

I have attached a debug log again. Unfortunately the error is still the same as it was the first time when i posted. The error is at line 2207 in the log.

In the log, i first play trivia slides without music, then i enable music and it throws the error.

I also attach my script.cinemavision folder as a zip file and my .cvseq file and a screenshot of the names of the mp3s.

 

I hope you have an idea, because i dont anymore. Cant understand why it worked once, i was so happy that i forgot to save that log file. Stupid me...

 

LOGFILE

 

script.cinemavision.zip

2D Default.cvseq

CV_music.JPG

kodi.old.log

Edited by cirkator
  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

Our wizard of a developer just fixed this. Turns out, there was a setting for your locale that was treating periods as commas, so the slider for the fade was setting to 3,00000 instead of 3.0 which was causing havoc. Check it out in the next release and let us know how it goes.

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

Haha, wow! Thats a fantastic find. Would have never thought about this.

The amount of time, dedication, brains and love you two are putting into this project is amazing

 

Share this post


Link to post
Share on other sites
  • 0

I can confirm that the latest beta fixed my issue!

Thank you so much for fixing it. I am now in the happy circle of CV users, even though I have lost yesterdays round of Trivia against my friends ;-)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines and Terms of Use.