Git Product home page Git Product logo

plugin.audio.addict's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

plugin.audio.addict's Issues

Channels stop playing after a few seconds

OS: Ubuntu 14.04.5 LTS
uname -a : Linux kodi 3.13.0-129-generic #178-Ubuntu SMP Fri Aug 11 12:48:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Kodi version: 2:17.4+git20170822.1009-final-0trusty
plugin.audio.addict version: v0.5.0 (2017-August-10)

Hi,
This started happening recently, the channels (from any network) start playing, stutter for a few seconds then just stop.

This shows up in the logs:

14:30:00.343 T:139757109511936   ERROR: /home/axx/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              SNIMissingWarning
14:30:00.343 T:139757109511936   ERROR: /home/kodi/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecurePlatformWarning
14:30:01.193 T:139760481925184  NOTICE: CVideoPlayer::CloseFile()
14:30:01.193 T:139760481925184  NOTICE: VideoPlayer: waiting for threads to exit
14:30:01.252 T:139757218453248  NOTICE: CVideoPlayer::OnExit()
14:30:01.252 T:139757218453248  NOTICE: Closing stream player 1
14:30:01.252 T:139757218453248  NOTICE: Waiting for audio thread to exit
14:30:01.261 T:139757298902784  NOTICE: thread end: CVideoPlayerAudio::OnExit()
14:30:01.261 T:139757218453248  NOTICE: Closing audio device
14:30:01.263 T:139757218453248  NOTICE: Deleting audio codec
14:30:01.672 T:139760481925184  NOTICE: VideoPlayer: finished waiting
14:30:01.672 T:139760481925184  NOTICE: VideoPlayer: Opening: http://prem2.di.fm:80/glitchhop_hi?xxx|User-Agent=Mozilla/5.0&Referer=http://www.di.fm/
14:30:01.701 T:139757218453248  NOTICE: Creating InputStream
14:30:02.340 T:139757218453248  NOTICE: Creating Demuxer
14:30:02.369 T:139757218453248  NOTICE: Opening stream: 0 source: 256
14:30:02.369 T:139757218453248  NOTICE: Finding audio codec for: 86017
14:30:02.369 T:139757218453248  NOTICE: Creating audio thread
14:30:02.370 T:139757138880256  NOTICE: running thread: CVideoPlayerAudio::Process()
14:30:02.381 T:139757138880256  NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 44100, no pass-through)
14:30:02.459 T:139757218453248 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
14:30:05.467 T:139757138880256  NOTICE: CVideoPlayerAudio::Process - stream stalled

Any ideas?

Thanks

0.5.1 and 0.6.0 not working?

The addon is not working for me anymore on various Kodi installations (Android, Windows, Linux, CoreELEC/LibreELEC):

16:16:22.604 T:3916428144 DEBUG: StartScript - calling plugin AudioAddict('plugin://plugin.audio.addict/','56','','resume:false')
16:16:22.605 T:2899301232 DEBUG: Thread LanguageInvoker start, auto delete: false
16:16:22.605 T:2899301232 INFO: initializing python engine.
16:16:22.605 T:2899301232 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.audio.addict/addon.py): start processing
16:16:22.637 T:2899301232 DEBUG: -->Python Interpreter Initialized<--
16:16:22.637 T:2899301232 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.audio.addict/addon.py): the source file to load is "/storage/.kodi/addons/plugin.audio.addict/addon.py"
16:16:22.638 T:2899301232 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.audio.addict/addon.py): setting the Python path to /storage/.kodi/addons/plugin.audio.addict:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.urllib3/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
16:16:22.638 T:2899301232 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.audio.addict/addon.py): entering source directory /storage/.kodi/addons/plugin.audio.addict
16:16:22.638 T:2899301232 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.audio.addict/addon.py): instantiating addon using automatically obtained id of "plugin.audio.addict" dependent on version 2.20.0 of the xbmc.python api
16:16:22.654 T:2899301232 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'audioaddict' is not defined
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.audio.addict/addon.py", line 74, in
main()
File "/storage/.kodi/addons/plugin.audio.addict/addon.py", line 70, in main
audioaddict.run_addon(addon_url, addon_handle, addon_args)
NameError: global name 'audioaddict' is not defined
-->End of Python script error report<--
16:16:22.655 T:2899301232 DEBUG: onExecutionDone(72, /storage/.kodi/addons/plugin.audio.addict/addon.py)
16:16:22.658 T:2899301232 INFO: Python interpreter stopped
16:16:22.658 T:2899301232 DEBUG: Thread LanguageInvoker 2899301232 terminating
16:16:22.665 T:3916428144 ERROR: GetDirectory - Error getting plugin://plugin.audio.addict/
16:16:22.666 T:3916428144 DEBUG: Thread waiting 3916428144 terminating
16:16:22.666 T:4091905424 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.addict/) failed

Any ideas how to fix this?

Add some useful sort methods for channels

Currently channels can't be sorted by any criteria. However, some sort methods might be useful for informational purposes like:

  • sorting by channel name
  • sorting by creation date (descending sorting will show latest added channels)

Highlight new channels

If new channels are getting added to one network, the user should be able to see them quickly. Therefore new channels will get highlighted e.g. bold or with another color to emphasize them.

The criteria of what is new will be what channels have been added in the last "N moths". The amount of months to consider a channel as new will be configurable.

Disco House on DigitallyImported won't play

This issue was reported by ubducted (forum.kodi.tv)!

The attempt to play "Disco House" leads to advancing to the next channel in the list. The channel plays fine via the DI web site, so this is a bug in the addon.

Add possibility to use a preferred streaming server

Some people might want to use a fixed streaming server to mitigate streaming issues in their location.
Currently there are four premium streaming servers: prem1, prem2, prem3, prem4.

It shall be possible to define the preferred streaming server which will be used if it appears in the playlist of a certain channel. If the server doesn't appear, a random server from the playlist will be chosen!

No channel list displayed, because of missing 'default logo image'

Error log with v0.5.0:

08:09:34.265 T:1309668256   DEBUG: -->Python Interpreter Initialized<--
08:09:34.265 T:1309668256   DEBUG: CPythonInvoker(104, /storage/.kodi/addons/plugin.audio.addict/addon.py): the source file to load is "/storage/.kodi/addons/plugin.audio.addict/addon.py"
08:09:34.266 T:1309668256   DEBUG: CPythonInvoker(104, /storage/.kodi/addons/plugin.audio.addict/addon.py): setting the Python path to /storage/.kodi/addons/plugin.audio.addict:/storage/.kodi/addons/script.module.requests/lib:/usr/lib/
python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
08:09:34.266 T:1309668256   DEBUG: CPythonInvoker(104, /storage/.kodi/addons/plugin.audio.addict/addon.py): entering source directory /storage/.kodi/addons/plugin.audio.addict
08:09:34.266 T:1309668256   DEBUG: CPythonInvoker(104, /storage/.kodi/addons/plugin.audio.addict/addon.py): instantiating addon using automatically obtained id of "plugin.audio.addict" dependent on version 2.20.0 of the xbmc.python api
08:09:34.525 T:1962037056   DEBUG: ------ Window Init (DialogBusy.xml) ------
08:09:37.378 T:1309668256   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'default'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.audio.addict/addon.py", line 74, in <module>
                                                main()
                                              File "/storage/.kodi/addons/plugin.audio.addict/addon.py", line 70, in main
                                                audioaddict.run_addon(addon_url, addon_handle, addon_args)
                                              File "/storage/.kodi/addons/plugin.audio.addict/resources/lib/audioaddict/main.py", line 28, in run_addon
                                                main(addon, settings)
                                              File "/storage/.kodi/addons/plugin.audio.addict/resources/lib/audioaddict/main.py", line 47, in main
                                                show_channels(addon, settings)
                                              File "/storage/.kodi/addons/plugin.audio.addict/resources/lib/audioaddict/channels.py", line 13, in show_channels
                                                add_channels_to_kodi_directory(addon, settings)
                                              File "/storage/.kodi/addons/plugin.audio.addict/resources/lib/audioaddict/channels.py", line 40, in add_channels_to_kodi_directory
                                                list_item = create_list_item(channel)
                                              File "/storage/.kodi/addons/plugin.audio.addict/resources/lib/audioaddict/channels.py", line 59, in create_list_item
                                                image_url = channel.image_default()
                                              File "/storage/.kodi/addons/plugin.audio.addict/resources/lib/audioaddict/api.py", line 74, in image_default
                                                url = "http:%s" % self._channel['images']['default']
                                            KeyError: 'default'
                                            -->End of Python script error report<--
08:09:37.397 T:1309668256    INFO: Python script stopped
08:09:37.397 T:1309668256   DEBUG: Thread LanguageInvoker 1309668256 terminating
08:09:37.415 T:1962037056   ERROR: GetDirectory - Error getting plugin://plugin.audio.addict/?listen_key=[...]&mode=open_network&network_key=di
08:09:37.415 T:1962037056   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.addict/?listen_key=[...]&mode=open_network&network_key=di) failed
08:09:37.426 T:1962037056   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'DefaultAddonMusic.png'
08:09:37.431 T:1962037056   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'DefaultMusicPlaylists.png'
08:09:37.433 T:1962037056   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'DefaultFolder.png'
08:09:37.434 T:1962037056   DEBUG: CGUIMediaWindow::GetDirectory ()
08:09:37.434 T:1962037056   DEBUG:   ParentPath = [plugin://plugin.audio.addict/?listen_key=[...]&mode=open_network&network_key=di]
08:09:37.443 T:1962037056   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'DefaultAddonMusic.png'
08:09:37.447 T:1962037056   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'DefaultMusicPlaylists.png'
08:09:37.449 T:1962037056   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'DefaultFolder.png'
08:09:37.452 T:1962037056   DEBUG: RetrieveMusicInfo() took 0 msec
08:09:37.463 T:1309668256   DEBUG: Thread BackgroundLoader start, auto delete: false
08:09:37.471 T:1309668256   DEBUG: Thread BackgroundLoader 1309668256 terminating

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.