Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Movie Subtitles Now Supported
#11
(04-02-2015, 08:16 AM)masoko Wrote: I can see the subtitles option on youtube movies but not on YTS torrents.
Does YTS Movies = YTS Torrents or YTS Movies is something different?

Regards,

Yes,

YTS Movies = YTS Torrrents.

Check you have the latest version of YTS Torrents by doing:
Code:
cd blissflixx/plugins/bfch_yts_torrents


Then running:

Code:
git pull

Now restart blissflixx server and refresh your browser
Reply
#12
~/blissflixx/plugins/bfch_yts_torrents $ git pull
Already up-to-date.

Updated and restarted BlissFlixx using the web interface.
Refreshed the browser with crl+f5 tried different browsers - no subs in YTS but there are subs in youtube movies and kickass torrents.
Reply
#13
Very strange...

Lets double check you have the latest yts plugin:

Code:
cd blissflixx/plugins/bfch_yts_torrents

Now open __init__.py in your favourite editor:


Code:
vi __init__.py

Can you confirm that the lines 68 and 69 contain the following code:

Code:
   subs = movie_title_year(title)
   results.add(TorrentPlayItem(title, img, url, subtitle, synopsis, subs))
Reply
#14
not sure if they are lines 68 and 69 but they are very close to the EOF
here are the last N lines containing the subs string:

subs = movie_title_year(title)
results.add(TorrentPlayItem(title, img, url, subtitle, synopsis, subs))
return results

def _smallest_size(torrlist):
size = torrlist[0]['size_bytes']
torrent = torrlist[0]
for t in torrlist:
if t['size_bytes'] < size:
size = t['size_bytes']
torrent = t
return torrent


---------- when I saw the subs missing I have reinstalled this plugin by deleting its folder and running the install command
Reply
#15
Yes it looks like you definitely have the latest version. Let me have a think about what to try next...
Reply
#16
OK try this. Paste the following url in your browser (replace the 192.168.1.100 with the ip address of your Raspberry PI):

Code:
http://192.168.1.100/api/channels?fn=feed&data=%7B%22chid%22%3A%22bfch_yts_torrents%22%2C%22idx%22%3A0%7D

Can you show me the output? (just the first 10 lines or so)
Reply
#17
I have found the problem.
When installing the server I have installed YTS plugin in the root of blissflixx not in plugins and it was not recognizes, so I have installed again in plugins and forgot to delete the wrong installation.
Now when I deleted the plugin from the root of Blissflixx and restarted the server everything works file.

Thanks for your support.
The subs look to work fine - I'll be able to confirm once I get home as I can't see the hdmi output from work - I can just ssh and watch the web interface which seem to be working fine.

Thank you for the fast release of the subs functionality! Keep the good work.
Reply
#18
Please help I have updated my pi and blissflixx subs stoped working.
I have run apt-get update and then apt-get upgrade and now when I try to play with subs the page content disapears - I can see the header navigation and the dark blue body of the page but that is all.

To fix it I have tried reinstalling blissflixx and its plugins but the issue remains.

Here is the output you requested yesterday

[{"subtitle": "Size: 813.65 MB, Seeds: 981, Peers: 791", "subs": {"lang": "eng", "year": 1984, "title": "1984"}, "img": "https://s.ynet.io/assets/images/movies/1984_1984/medium-cover.jpg", "title": "1984 (1984)", "url": "https://yts.to/torrent/download/4F3D618C7F8B690986F2E13587D013B1E9BD6AA2.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/4F3D618C7F8B690986F2E13587D013B1E9BD6AA2.torrent?bf_torr_idx=-1", "title": "1984 (1984)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt0087803/'>IMDB Rating: 7.2</a>"}, {"subtitle": "Size: 759.51 MB, Seeds: 767, Peers: 571", "subs": {"lang": "eng", "year": 2012, "title": "Found"}, "img": "https://s.ynet.io/assets/images/movies/found_2012/medium-cover.jpg", "title": "Found (2012)", "url": "https://yts.to/torrent/download/C5671BCD74F20F1ED0809A5E4A9941EC8E395D47.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/C5671BCD74F20F1ED0809A5E4A9941EC8E395D47.torrent?bf_torr_idx=-1", "title": "Found (2012)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt2149360/'>IMDB Rating: 6.1</a>"}, {"subtitle": "Size: 877.12 MB, Seeds: 907, Peers: 919", "subs": {"lang": "eng", "year": 2002, "title": "Amen"}, "img": "https://s.ynet.io/assets/images/movies/amen_2002/medium-cover.jpg", "title": "Amen. (2002)", "url": "https://yts.to/torrent/download/8B687F214DA358F3CB77B62B862590D99AFE0F0F.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/8B687F214DA358F3CB77B62B862590D99AFE0F0F.torrent?bf_torr_idx=-1", "title": "Amen. (2002)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt0280653/'>IMDB Rating: 7.3</a>"}, {"subtitle": "Size: 754.07 MB, Seeds: 6544, Peers: 4238", "subs": {"lang": "eng", "year": 2014, "title": "Wyrmwood: Road of the Dead"}, "img": "https://s.ynet.io/assets/images/movies/wyrmwood_road_of_the_dead_2014/medium-cover.jpg", "title": "Wyrmwood: Road of the Dead (2014)", "url": "https://yts.to/torrent/download/5D635622492EA433F633713883A3E305A9D747D2.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/5D635622492EA433F633713883A3E305A9D747D2.torrent?bf_torr_idx=-1", "title": "Wyrmwood: Road of the Dead (2014)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt2535470/'>IMDB Rating: 6.3</a>"}, {"subtitle": "Size: 809.11 MB, Seeds: 424, Peers: 171", "subs": {"lang": "eng", "year": 1971, "title": "The Magnificent Seven Deadly Sins"}, "img": "https://s.ynet.io/assets/images/movies/the_magnificent_seven_deadly_sins_1971/medium-cover.jpg", "title": "The Magnificent Seven Deadly Sins (1971)", "url": "https://yts.to/torrent/download/A37A28A2D6B3F2705DC6C90C8D4E6C83102FC2FA.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/A37A28A2D6B3F2705DC6C90C8D4E6C83102FC2FA.torrent?bf_torr_idx=-1", "title": "The Magnificent Seven Deadly Sins (1971)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt0067381/'>IMDB Rating: 5.5</a>"}, {"subtitle": "Size: 698.85 MB, Seeds: 1616, Peers: 763", "subs": {"lang": "eng", "year": 2014, "title": "From the Dark"}, "img": "https://s.ynet.io/assets/images/movies/from_the_dark_2014/medium-cover.jpg", "title": "From the Dark (2014)", "url": "https://yts.to/torrent/download/E30F4D49A9C43E5728E8CF73E3B9F3F427B1A02C.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/E30F4D49A9C43E5728E8CF73E3B9F3F427B1A02C.torrent?bf_torr_idx=-1", "title": "From the Dark (2014)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt4030442/'>IMDB Rating: 5.6</a>"}, {"subtitle": "Size: 814.77 MB, Seeds: 25833, Peers: 13590", "subs": {"lang": "eng", "year": 2014, "title": "Taken 3"}, "img": "https://s.ynet.io/assets/images/movies/taken_3_2014/medium-cover.jpg", "title": "Taken 3 (2014)", "url": "https://yts.to/torrent/download/8AB05F86CA0390FA77C6E1DD03F96926CDC2D904.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/8AB05F86CA0390FA77C6E1DD03F96926CDC2D904.torrent?bf_torr_idx=-1", "title": "Taken 3 (2014)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt2446042/'>IMDB Rating: 6.1</a>"}, {"subtitle": "Size: 874.29 MB, Seeds: 250, Peers: 168", "subs": {"lang": "eng", "year": 1965, "title": "Darling"}, "img": "https://s.ynet.io/assets/images/movies/darling_1965/medium-cover.jpg", "title": "Darling (1965)", "url": "https://yts.to/torrent/download/F0F1618574AD896226AF862DA0C4DF380ADBE9AE.torrent?bf_torr_idx=-1", "actions": [{"type": "playwithsubs", "label": "Play With Subtitles"}, {"type": "addplaylist", "label": "Add To Playlist"}, {"link": "https://yts.to/torrent/download/F0F1618574AD896226AF862DA0C4DF380ADBE9AE.torrent?bf_torr_idx=-1", "title": "Darling (1965)", "type": "torrfiles", "label": "View Files..."}], "synopsis": "<a target='_blank' href='http://www.imdb.com/title/tt0059084/'>IMDB Rating: 7.2</a>"}, {"subtitle": "Size: 809.23 MB, Seeds: 6097, Peers: 3056", "subs": {"lang": "eng", "year": 2014, "title": "Cake"}, "img":

Thank you,

I have just noticed that the only palce where subs work is the kickass TV serials, maybe when you add this it broke the rest of the subs - atleast for me.
Reply
#19
>> maybe when you add this it broke the rest of the subs - atleast for me.

Yes you are right - I broke other subs  Sad

Anyway it is now fixed. Just restart & update and then refresh your browser by pressing ctrl key + F5

Sorry about that.
Reply
#20
I can see the subs screen now but I can't get past it - clicking paly just reloads the page and shows the subs selection screen again - only option is to hit cancel and go back to the catalog.
Tried resatrting the server - f5 /crtl+f5 different browser.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)