Coder Social home page Coder Social logo

1channel's People

Contributors

blizzard2 avatar bstrdsmkr avatar dariosoltani avatar ekoyle avatar ferostarsky avatar highway99 avatar ilia avatar jacko873 avatar jded76 avatar jhavens1566 avatar jrmdev avatar mk01 avatar mr-blobby avatar rogerthis avatar smoky-jr avatar tallen1983 avatar tknorris avatar vlemert avatar zpanderson 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

1channel's Issues

Only featured items are displayed

Selecting sub-categories (or even doing a search) inside Movies/TV Show will only give "Featured" items as the result.

Platform:
AppleTV2 XBMC

No Sources found for this item

Nothing is playing at the moment through my 1channel plugin. I'm getting a 'no sources found for this item' on everything.

Any ideas?

Thanks in advance
jloafs

Add tvshow.nfo to library folder

Add tvshow.nfo to the show folder in the library to assist TvDB scan in finding the program. IMDB URL is required in tvshow.nfo

Fanart view bug

because the GetFilteredResults uses addDirectoryItem with true for folder, Confluence, the default XBMC skin does not display movie meta data.

Setting the folder to False && passing dialog=1 in the URL resolved the issue and the meta data is used in Fanart View for Confluence Skin.

Can't delete Favorites

Error Log

23:53:43 T:4048  NOTICE: 1Channel: {'url': 'http://www.1channel.ch/watch-12518-Glee', 'section': 'tv', 'title': 'Glee ', 'mode': 'DeleteFav', 'year': '2009'}
23:53:43 T:4048  NOTICE: Deleting Fav: tv
                                             Glee 
                                             http://www.1channel.ch/watch-12518-Glee
23:53:43 T:4048   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'mysql.connector.errors.ProgrammingError'>
                                            Error Contents: Wrong number of arguments during string formatting
                                            Traceback (most recent call last):
                                              File "C:\Users\Xbmc.ZuluOne\AppData\Roaming\XBMC\addons\plugin.video.1channel\default.py", line 1765, in <module>
                                                DeleteFav(section, title, url)
                                              File "C:\Users\Xbmc.ZuluOne\AppData\Roaming\XBMC\addons\plugin.video.1channel\default.py", line 153, in DeleteFav
                                                cursor.execute('DELETE FROM favorites WHERE type=? AND name=? AND url=?', (fav_type, name, url))
                                              File "C:\Users\Xbmc.ZuluOne\AppData\Roaming\XBMC\addons\script.module.myconnpy\lib\mysql\connector\cursor.py", line 310, in execute
                                                "Wrong number of arguments during string formatting")
                                            ProgrammingError: Wrong number of arguments during string formatting
                                            -->End of Python script error report<--

database error + patch

While modifying the plugin to work on xbmc4xbox I noticed an error when playing a video (actually happens after playback here)

with sqlite it should be connecting to db_dir rather than the name DB see diff:

diff --git a/playback.py b/playback.py
index d0ea2f5..5aedc55 100644
--- a/playback.py
+++ b/playback.py
@@ -80,7 +80,7 @@ class Player(xbmc.Player):
                        sql = sql.replace('?','%s')
                        db = database.connect(DB_NAME, DB_USER, DB_PASS, DB_ADDRESS, buffered=True)
                else:
-                       db = database.connect(DB)
+                       db = database.connect(db_dir)
                cur = db.cursor()
                cur.execute(sql, (self.video_type, self.title, self.season, self.episode, self.year))
                bookmark = cur.fetchone()

plugin fail

First of all, thank you for all your great job, its amazing what you do.

I've been follow your script and openelec updates for a while with a raspberry pi. The last update i did, it seems to be working well (the first time I start it), I watch a movie without any problems, but after i restart the raspberry and try to initialize de 1channel addon, it fails to start with 1channel.plugin.fail message. The build Im testing its Raspberry Pi ARM Version:2.99.5 (3.0 RC 5). Have you already detected something about this?

Thanks in advance

Add subscription source within addon

  • Determine whether or not source is already added
    • What about MySQL shares? Destination folder should be a local url, but source should be a share since the DB is shared between multiple installations
    • Is it possible to invoke the native source dialog?
  • Prompt user to name share
  • Write to sources.xml

Strm file name suggestion

Your current file naming template for episodes is: 'S01E01.strm' .... this can lead to issues when exporting watched statuses using the addon from the forum. Currently the Export Watched Status addon exports the filename of all episode file names that have been watched and allows for importing using this list. When importing this will mark all episodes matching the file name from the watched.xml and this will mark all of the 1channel strm files as watched...

May I suggest this file name template: 'Show Name 1x01.strm'

ERROR: local variable 'listitem' referenced before assignment.

Using latest version from git repository gives the following errors when trying to play each source....

01:25:59 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.putlocker.com/file/A05FC408085B1C60 01:25:59 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:04 T:4032 NOTICE: 1Channel: putlocker.com source failed. Trying next source... 01:26:04 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:04 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.putlocker.com/file/0B65ECE9300A8461 01:26:04 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:06 T:4032 NOTICE: 1Channel: putlocker.com source failed. Trying next source... 01:26:06 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:06 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.putlocker.com/file/0444F9D8C080B807 01:26:06 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:07 T:4032 NOTICE: 1Channel: putlocker.com source failed. Trying next source... 01:26:07 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:07 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.putlocker.com/file/523B09392285A2B7 01:26:07 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:08 T:4032 NOTICE: 1Channel: putlocker.com source failed. Trying next source... 01:26:08 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:08 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.putlocker.com/file/D57DD5DB25DFD876 01:26:08 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:10 T:4032 NOTICE: 1Channel: putlocker.com source failed. Trying next source... 01:26:10 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:10 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.putlocker.com/file/43660F9BDB0753D2 01:26:10 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:11 T:4032 NOTICE: 1Channel: putlocker.com source failed. Trying next source... 01:26:11 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:11 T:4032 NOTICE: 1Channel: Attempting to play url: http://www.sockshare.com/file/C444D9676EE2ED02 01:26:11 T:4032 DEBUG: urlresolver: resolving using putlocker/sockshare plugin 01:26:13 T:4032 NOTICE: 1Channel: sockshare.com source failed. Trying next source... 01:26:13 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment 01:26:13 T:4032 NOTICE: 1Channel: Attempting to play url: http://movpod.in/dr5qsvuncqhg 01:26:13 T:4032 DEBUG: urlresolver: resolving using movpod plugin 01:26:15 T:4032 NOTICE: 1Channel: movpod.in source failed. Trying next source... 01:26:15 T:4032 NOTICE: 1Channel: local variable 'listitem' referenced before assignment

Import Trakt Watchlist

It would be great if you could add support for using trakt.tv's watchlist (or better yet, custom list support too) ... This would be extremely useful as it will allow users to more easily add wanted movies and/or TV show subscriptions. All they would need to do is set up the list at trakt.tv and add wanted Movies/TV Shows to the list... you could set it up to check the user defined list at scheduled intervals. When your plugin finds a new entry on the list, it can just add the .strm file to the library (for movies) or if its a TV Show, add the subscription.

Another thought is the same plan, only using imdb.com watchlist or custom watchlists...

favorites - hide watched - series / seasons

I use favorites and "hide watched" to keep up to date with my tv shows. I thought this behavior worked before but isn't now.

Would it be possible to hide the season if all the available episodes have been watched? And if all the series episodes have been watched hide the series.

Then my favorites would only show what I haven't watched. Currently, I have to navigate into the series, then season to see if any episodes are unwatched.

script error

Script Error in default.py:TVShowEpisodeList() when META_ON is true and imdbnum 0

23:43:16 T:3780 NOTICE: 1Channel: DUMP
23:43:16 T:3780 NOTICE: 1Channel: {'TVShowTitle': 'Richard Hammonds Crash Course ', 'cover_url': '', 'title': u'Episode 1 - Abrams Tank'}
23:43:16 T:3780 ERROR: Error Type: <type 'exceptions.KeyError'>
23:43:16 T:3780 ERROR: Error Contents: ('season',)
23:43:16 T:3780 ERROR: Traceback (most recent call last):
File "C:\Users\goodman\AppData\Roaming\XBMC\addons\plugin.video.1channel\default.py", line 1518, in
TVShowEpisodeList(title, season, imdbnum, tvdbnum)
File "C:\Users\goodman\AppData\Roaming\XBMC\addons\plugin.video.1channel\default.py", line 804, in TVShowEpisodeList
meta['title'] = format_tvshow_episode(meta)
File "C:\Users\goodman\AppData\Roaming\XBMC\addons\plugin.video.1channel\utils.py", line 32, in format_tvshow_episode
label = re.sub('{s}', str(info['season']), episode_format)
KeyError: ('season',)

The 'if META_ON and imdbnum' falls through and format_tvshow_episode(meta) is called when meta['season'] is null and an exception is thrown. Personally, I moved the filling in the meta defaults out of the if/except to before the if so ensure they were set first.

update subscriptions - nothing happens

I setup superscription on some tv shows but when selecting "update subscriptions", I get a message saying "Resume from 20:59" / "Start from beginning".

I have selected both options. 1Channel says "Opening stream" but then nothing happens and eventually the dialog box disappears.

Is there a way to "reset" my subscriptions or skip this item:

Here is the logs:

10:37:02 T:140639643625216 NOTICE: metahandler: Attempting to retreive meta data for tvshow: The Killing
10:37:02 T:140638431102720 NOTICE: Thread Background Loader start, auto delete: false
10:37:02 T:140640159025024 NOTICE: Previous line repeats 1 times.
10:37:02 T:140640159025024 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.1channel/?play=True&mode=UpdateSubscriptions]
10:37:02 T:140639805454080 NOTICE: service.libraryautoupdate: update timers
10:38:15 T:140638688855808 NOTICE: Thread Background Loader start, auto delete: false
10:38:15 T:140638556694272 NOTICE: Thread Jobworker start, auto delete: true

Full integration with Trakt.tv

I think is a bug, but trakt.tv scrobb only the tv series from 1channel plugin (xbmc)!
and
Don't work with movies!!!
It is a bug??

p.s. i speak with trakt.tv support and say to me , maybe its the problem of 1channel plugin!

Simplify/optimize service

use XBMC's alarm function instead of keeping a python thread alive just to sleep for 8hrs at time

Script errors with metadata off

I have metadata off and I've been getting script errors when accessing the show list and episode list. The following patch fixed the errors for me:


diff --git a/1Channel/default.py b/1Channel/default.py
index 0360e52..fba56bc 100644
--- a/1Channel/default.py
+++ b/1Channel/default.py
@@ -594,6 +594,7 @@ def GetFilteredResults(section=None, genre=None, letter=None, sort='alphabet', p
                        img = thumb
                        fanart = ''
                        meta['imdb_id'] = ''
+                       meta['title'] = title

                        if META_ON:
                                # try:
@@ -777,6 +778,8 @@ def TVShowEpisodeList(ShowTitle, season, imdbnum, tvdbnum): #5000
                else:
                        meta['cover_url'] = ''
                        meta['title'] = eptitle
+                       meta['episode'] = epnum
+                       meta['season'] = season
                img = meta['cover_url']

                meta['TVShowTitle'] = ShowTitle

Set watched icon

Currently the shows that have been watched are not marked with a 'watched' icon.
I have seen other streaming addons that did, so I guess it's possible with media files not on disk.

1channel search not working

All of a sudden the search on 1channel does not work.
Click search ->type in desired programme/film->goes to screen with " .. "

I can view programmes/films if I go to featured, latest release, a-z guide etc just can not seem to do a specific search for programme/film

Have disabled and uninstalled and re-installed and enabled

Have the tried versions 1.0 / 1.01 / master 1channel 1.02

Please help

failing install from zip package

The file /art/themes/Glossy_Black/#123.png needs to be renamed and the code to reflect the name change.
The XBMC installer can not figure out the # sign in both Windows and iOS. Simple as that. :)

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.