Code Monkey home page Code Monkey logo

quasar's People

Contributors

assapir avatar elgatito avatar i96751414 avatar scakemyer avatar steeve avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quasar's Issues

With great multi-file comes great responsibility

Now that multi-file support is in (and working pretty well at that @i96751414), there needs to be a few changes to make it useful, like allowing to search by season or as fallback when an episode isn't found.

Providers will obviously have to make changes, but Quasar also needs to leverage that newfound capability.

We could go a few ways about this, like allowing "season x" to not be flagged as an irrelevant item in SearchEpisodeLinks, which works but feels hackish, or we could add proper support for season searching. For that I'd propose making an API change for providers, using our pre-1.0 window for it, and adding a search_season method to it. It'd also be easier to use that as a fallback when a specific episode isn't found.

Timing out on Trakt

Hi, I've used the plugin with success past week, and trakt worked, but just on first day of use, since then it's always timing out after a couple of minutes. This is the relevant log for when I try to list my collection:

ERROR: Control 55 in window 10025 has been asked to focus, but it can't                                                                         
ERROR: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover                                                                        
ERROR: [plugin.video.quasar] Traceback (most recent call last):                                                                                 
ERROR: [plugin.video.quasar]   File "/storage/.kodi/addons/plugin.video.quasar/resources/site-packages/quasar/navigation.py", line 178, in run  
ERROR: [plugin.video.quasar]     data = _json(url)                                                                                              
ERROR: [plugin.video.quasar]   File "/storage/.kodi/addons/plugin.video.quasar/resources/site-packages/quasar/navigation.py", line 125, in _json
ERROR: [plugin.video.quasar]     with closing(urllib2.urlopen(url)) as response:                                                                
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen                                                       
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/urllib2.py", line 429, in open                                                          
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/urllib2.py", line 447, in _open                                                         
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain                                                   
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open                                                    
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open                                                      
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse                                                  
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/httplib.py", line 438, in begin                                                         
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/httplib.py", line 394, in _read_status                                                  
ERROR: [plugin.video.quasar]   File "/usr/lib/python2.7/socket.py", line 480, in readline                                                       
ERROR: [plugin.video.quasar] timeout: timed out                                                                                                 
ERROR: [plugin.video.quasar]                                                                                                                    
ERROR: GetDirectory - Error getting plugin://plugin.video.quasar/shows/trakt/collection                                                         
ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.quasar/shows/trakt/collection) failed                                                

Need help building daemon

Hi, I'm trying to build the daemon and hope to figure out what I'm doing wrong.
I just wanted to make quasar add episodes to my library only one day after its air date, it's a pretty specific change but also easy to do so I tried to build the one line change myself.

All I did so far:

  1. Downloaded quasar daemon source from github Download ZIP
  2. make pull PLATFORM=linux-x64 - since I'm running 64bit ubuntu
  3. export GOPATH="/home/my_name/go" - since ~/go would make the next steps impossible
  4. go get -d github.com/scakemyer/quasar - at first this resulted in segmentation fault, but reinstalling gccgo after that error and re-runing the command kinda worked o.O
  5. go get github.com/mattn/go-isatty
  6. Copied what was downloaded to /home/my_name/go to /src
  7. In terminal I try make libs but it results in this error:
make[3]: Entering directory `/src/github.com/scakemyer/libtorrent-go'
docker run --rm -v :/go -v /src/github.com/scakemyer/libtorrent-go:/go/src/github.com/scakemyer/libtorrent-go -w /go/src/github.com/scakemyer/libtorrent-go -e GOPATH=/go libtorrent-go:android-arm make re;
Unable to find image 'libtorrent-go:android-arm' locally
Pulling repository libtorrent-go
FATA[0002] Error: image library/libtorrent-go:android-arm not found 
make[3]: *** [android-arm] Error 1
...

It gives the same error for every platform iteration, I am listing android-arm above as an example.

Could somebody please help me with this?

Support for platform-specific repo updates

It's already possible in plugin.video.quasar to create platform-specific packages, which could easily be added to the Travis builds, but users would get the all-platforms-supported updates only.

[NFR] Separate plugin from service

Hello this is a new feature request. The idea is to separate kodi plugin from quasar service.

The idea comes with the in-comparability issue with android 5+ (PIE).
so basically ether quasar ether pulsar cant run on android device with android 5+ so i made an workaround for me . I have a linux based HTPC where i run a quasar service and TV Sony Bravia with kodi and quasar plugin. Only with few lines of modification in both application they can talk each other.

Probably have many people with my case so if you like i can submit a diff to add such a functionality.

Downloading subtitles fails on android tv's

It has something to do with the temporary folder we are downloading the subs, by default there is no write permissions on this folder, one possible solution is to write to app's temp folder, not to system's one.

Fix loading plugin performance on delay start up

Please, fix the plugin delay on startup.

I managed to do a troubleshooting myself and the main reason is due a lot of Opening/Closing connections with the Kodi itself.

@ quasar/config/config.go there is a lot of calls for xbmc.GetSetting() that opens and closes the connection for each call.

Refactoring the quasar/xbmc/jsonrpc.go to allow multiple method calls within a single connection will probably fix this issue

Quasar daemon chracshes on windows

It started crashing two days ago. Installing the new release quasar-0.9.35 did not help.
Here is the kodi log where it fails

08:42:13 T:9996  NOTICE: [plugin.video.quasar] panic: runtime error: invalid memory address or nil pointer dereference
08:42:13 T:9996  NOTICE: [plugin.video.quasar] [signal 0xc0000005 code=0x0 addr=0x0 pc=0x560893]
08:42:13 T:9996  NOTICE: [plugin.video.quasar]
08:42:13 T:9996  NOTICE: [plugin.video.quasar] goroutine 1 [running]:
08:42:13 T:9996  NOTICE: [plugin.video.quasar] panic(0xa0f1a0, 0xc0420040b0)
08:42:13 T:9996  NOTICE: [plugin.video.quasar]  /usr/local/go/src/runtime/panic.go:500 +0x1af
08:42:13 T:9996  NOTICE: [plugin.video.quasar] github.com/scakemyer/quasar/xbmc.executeJSONRPCEx(0xab9d5b, 0xc, 0x9bf880, 0xc042216000, 0x0, 0x0, 0x0, 0x0, 0x0)
08:42:13 T:9996  NOTICE: [plugin.video.quasar]  /go/src/github.com/scakemyer/quasar/xbmc/jsonrpc.go:62 +0xd3
08:42:13 T:9996  NOTICE: [plugin.video.quasar] github.com/scakemyer/quasar/xbmc.GetAddonInfo(0xc042006600)
08:42:13 T:9996  NOTICE: [plugin.video.quasar]  /go/src/github.com/scakemyer/quasar/xbmc/xbmcaddon.go:24 +0xa8
08:42:13 T:9996  NOTICE: [plugin.video.quasar] github.com/scakemyer/quasar/config.Reload(0xc0420079b0)
08:42:13 T:9996  NOTICE: [plugin.video.quasar]  /go/src/github.com/scakemyer/quasar/config/config.go:82 +0xfd
08:42:13 T:9996  NOTICE: [plugin.video.quasar] main.main()
08:42:13 T:9996  NOTICE: [plugin.video.quasar]  /go/src/github.com/scakemyer/quasar/main.go:84 +0x491
08:42:13 T:9996  NOTICE: [plugin.video.quasar]
08:42:13 T:9996  NOTICE: Previous line repeats 85 times.
08:42:13 T:9996  NOTICE: [plugin.video.quasar] System information: windows_x64 post2012Server
08:42:13 T:9996  NOTICE: [plugin.video.quasar] Kodi build version: 16.1 Git:20160424-c327c53
08:42:13 T:9996  NOTICE: [plugin.video.quasar] OS type: Windows
08:42:13 T:9996  NOTICE: [plugin.video.quasar] uname: ('Windows', 'JOHNDL', 'post2012Server', '6.3.9600', 'AMD64', 'Intel64 Family 6 Model 55 Stepping 8, GenuineIntel')
08:42:14 T:11044  NOTICE: EPG::CEpgContainer::Start - EPG thread started
08:42:15 T:10492   ERROR: C:\Users\Owner.JOHNDL\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
                                              InsecurePlatformWarning
08:42:16 T:9996  NOTICE: [plugin.video.quasar] quasard: starting quasard
08:42:18 T:9996  NOTICE: [plugin.video.quasar] Deleting stale files set([])

Quasar & Trakd

Hi and congrats on your work. I am facing an issue, I have read all relevant threads but it is not covered.
The issue has to do with watched collection series (or movies) in Quasar. I have recently moved to Quasar and tried to link to Trakd. It worked fine, all my series are here, also the ones I have already watched. By selecting watched / unwatched there is no actual change. The system works fine for the series I watch now, they disappear. Plus there is no choice of "marking season as watched" so that they will disappear if it not possible to be done automatically.

Thanks.

Support Pulsar providers

@i96751414 could it be as simple as adding script.pulsar. in xbmc.go? Might be great for the transition, but at the same time I kind of like making the distinction between old and new. What are your thoughts on this?

        if strings.HasPrefix(addon.ID, "script.quasar.") {
            list = append(list, NewAddonSearcher(addon.ID))
        }

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.