Open an0Nym0us63 opened 12 years ago
continued discussion from:
I just have to understand how to fork it on my post and pull request modifications (that would be more simple than pasting pieces of code everywhere
np, i hope you're familiar with the terminal/command line
cd Sick-Beard
git remote add mneuhaus https://github.com/mneuhaus/Sick-Beard.git
git checkout -b multi_language mneuhaus/multi_language
Hope this helps :)
yes i'm familiar with the terminal command/line I will start this tonight Hope having this soon ;)
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 11h48 Objet : Re: [Sick-Beard] Work in progress (#1)
np, i hope you're familiar with the terminal/command line
i just started watchnig but i will probably wait you finish commiting everything because , i noticed a mistake in th db, for th show table there is a missing 's' a t audio_lang
yea, i've just started to continue were i left of :)
getting rid of audio_lang in favor of audio_langs right now :)
s let's be sure the working branch is Foreignlanguages
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h10 Objet : Re: [Sick-Beard] Work in progress (#1)
getting rid of audio_lang in favor of audio_langs right now :) — Reply to this email directly or view it on GitHub.
i'm not working on the branch foreignLanguages anymore, because i've taken the current midgetspy/development branch and applied all changes from foreignLanguages in one single commit. This will make it way easier to create a pull request back to midgetspy later on, because the foreignlanguage branch is already to "old" with some commits here and there.
here's the branch i've just pushed:
now i'll take a stab at setting the snatched language
if you like you could test german and french a bit :)
I'm preparing everything, i created the fork. I'm going to give it a full test this evening after dinner
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h20 Objet : Re: [Sick-Beard] Work in progress (#1)
if you like you could test german and french a bit :) — Reply to this email directly or view it on GitHub.
did'nt you forget to commit addshowtmpl because i cant see audio lang selector
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h20 Objet : Re: [Sick-Beard] Work in progress (#1)
if you like you could test german and french a bit :) — Reply to this email directly or view it on GitHub.
nope i didn't forget, i mentioned it in the commit message's TODO, that that's missing. i'll update that after i get setting snatched languages working, which could be quite soon. I've already got a field for the episodes and it gets set to the episodes language when it's snatched. now i'm adding the column to display the language :)
i mean the newshow tmpl
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h20 Objet : Re: [Sick-Beard] Work in progress (#1)
if you like you could test german and french a bit :) — Reply to this email directly or view it on GitHub.
you're right i've just seen your commit message.
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h41 Objet : Re: [Sick-Beard] Work in progress (#1)
nope i didn't forget, i mentioned it in the commit message's TODO, that that's missing. i'll update that after i get setting snatched languages working, which could be quite soon. I've already got a field for the episodes and it gets set to the episodes language when it's snatched. now i'm adding the column to display the language :) — Reply to this email directly or view it on GitHub.
here's a teaser for the episode languages :)
http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b
I think youre my king youre so fast, rhaaaa if only i were a better coder lol , i loose a lot of time on my side when i wanted to do something to find how to.
I think i will only help you with my ideas my tests my little modifications maybe) and my congratulations
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
what does the both flags mean, should'nt it snatch only preferrred language
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
i'm not able to test for now because i have a bug
when i had a existing show or a new show
Traceback (most recent call last): File "D:\Github\Sick-Beard\cherrypy_cprequest.py", line 660, in respond response.body = self.handler() File "D:\Github\Sick-Beard\cherrypy\lib\encoding.py", line 193, in call self.body = self.oldhandler(_args, _kwargs) File "D:\Github\Sick-Beard\cherrypy_cpdispatch.py", line 25, in call return self.callable(_self.args, _self.kwargs) File "D:\Github\Sick-Beard\sickbeard\webserve.py", line 1953, in index return _munge(t) File "D:\Github\Sick-Beard\sickbeard\webserve.py", line 120, in _munge return unicode(string).encode('utf-8', 'xmlcharrefreplace') File "C:\Python27\lib\site-packages\Cheetah\Template.py", line 1010, in unicode return getattr(self, mainMethName)() File "_Github_Sick_Beard_data_interfaces_default_home_tmpl.py", line 339, in respond File "C:\Python27\lib\site-packages\Cheetah\NameMapper.py", line 245, in valueFromSearchList executeCallables=executeCallables) File "C:\Python27\lib\site-packages\Cheetah\NameMapper.py", line 229, in _valueForName obj = nextObj() File "D:\Github\Sick-Beard\sickbeard\tv.py", line 130, in getLanguagesList for language in self.getLanguages(): File "D:\Github\Sick-Beard\sickbeard\tv.py", line 114, in getLanguages for language in self.audio_langs.split("|"): AttributeError: 'NoneType' object has no attribute 'split'
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
Those are the languages of the snatched downloads. Newzbin provides multiple languages :-) Am 24.08.2012 18:49 schrieb "sarakha63" notifications@github.com:
what does the both flags mean, should'nt it snatch only preferrred language
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008072.
So those are the languages for one file, right? (Dubbed) Or do you snatch multiple files?
You mean it snatched an episode with both language i tought it snatched an episode for both language (strange for a sd-tv to have two soundtracks)
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h12 Objet : Re: [Sick-Beard] Work in progress (#1)
Those are the languages of the snatched downloads. Newzbin provides multiple languages :-) Am 24.08.2012 18:49 schrieb "sarakha63" notifications@github.com:
what does the both flags mean, should'nt it snatch only preferrred language
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008072.
— Reply to this email directly or view it on GitHub.
One file :-) Am 24.08.2012 19:13 schrieb "LeovR" notifications@github.com:
So those are the languages for one file, right? (Dubbed) Or do you snatch multiple files?
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008738.
OK i understand, just a suggestion it is secondary, because some other things are prioritary. But audio languages is too long and makes a big case for only one or two flags (i suggest :
Soundtracks, Audio Lang. (something less long)
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h15 Objet : Re: [Sick-Beard] Work in progress (#1)
One file :-) Am 24.08.2012 19:13 schrieb "LeovR" notifications@github.com:
So those are the languages for one file, right? (Dubbed) Or do you snatch multiple files?
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008738.
— Reply to this email directly or view it on GitHub.
Yes, but it is. Just search for it on Newzbin. Am 24.08.2012 19:14 schrieb "sarakha63" notifications@github.com:
You mean it snatched an episode with both language i tought it snatched an episode for both language (strange for a sd-tv to have two soundtracks)
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h12 Objet : Re: [Sick-Beard] Work in progress (#1)
Those are the languages of the snatched downloads. Newzbin provides multiple languages :-) Am 24.08.2012 18:49 schrieb "sarakha63" notifications@github.com:
what does the both flags mean, should'nt it snatch only preferrred language
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub< https://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008072>.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008760.
I'll commit that later. I'm grocery shopping right now :-) Am 24.08.2012 19:18 schrieb "Marc Neuhaus" mneuhaus@famelo.com:
Yes, but it is. Just search for it on Newzbin. Am 24.08.2012 19:14 schrieb "sarakha63" notifications@github.com:
You mean it snatched an episode with both language i tought it snatched an episode for both language (strange for a sd-tv to have two soundtracks)
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h12 Objet : Re: [Sick-Beard] Work in progress (#1)
Those are the languages of the snatched downloads. Newzbin provides multiple languages :-) Am 24.08.2012 18:49 schrieb "sarakha63" notifications@github.com:
what does the both flags mean, should'nt it snatch only preferrred language
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub< https://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008072>.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008760.
What about other providers?
No i beleive you and it's great if it's working like that.
When you'll all finish i'll give it a try to an episode wich is in english and then i will creat a report for it in french to see if it catches and replaces it by putting french, english and checkbox french.
Great work and waouuuwww it's just like you will finish the project in one day lol
I really say it congratulation and i will do alll i can to test, debug and give suggestions
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h18 Objet : Re: [Sick-Beard] Work in progress (#1)
Yes, but it is. Just search for it on Newzbin. Am 24.08.2012 19:14 schrieb "sarakha63" notifications@github.com:
You mean it snatched an episode with both language i tought it snatched an episode for both language (strange for a sd-tv to have two soundtracks)
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h12 Objet : Re: [Sick-Beard] Work in progress (#1)
Those are the languages of the snatched downloads. Newzbin provides multiple languages :-) Am 24.08.2012 18:49 schrieb "sarakha63" notifications@github.com:
what does the both flags mean, should'nt it snatch only preferrred language
De : mneuhaus notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 18h45 Objet : Re: [Sick-Beard] Work in progress (#1)
here's a teaser for the episode languages :) http://snappy-app.com/s/show.php?pass=6f63a387276a1d71c47cded211ca2e7b — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub< https://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008072>.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/mneuhaus/Sick-Beard/issues/1#issuecomment-8008760.
— Reply to this email directly or view it on GitHub.
i think for other providers, it will catch the episode language the same way. if there is one it will catch one if it's multiple language it will catch all laguages if the language you wanted is in the list.It's very rare to have mutliple language show but it's great that when it happens it is implemented. I saw that for movies but rarely for tvshows. But great.
De : LeovR notifications@github.com À : mneuhaus/Sick-Beard Sick-Beard@noreply.github.com Cc : sarakha63 sarakha_ludovic@yahoo.fr Envoyé le : Vendredi 24 août 2012 19h27 Objet : Re: [Sick-Beard] Work in progress (#1)
What about other providers? — Reply to this email directly or view it on GitHub.
i've already changed the other providers to return their single found language as an array, i just think it's the right way to to this because files can have multiple languages :)
the replacing of unsatisfactory languages with an satisfactory language isn't working yet! that's the next part i'll have to tackle, i've only added an column to track the language of the snatched download so far.
but i'll give my best to get that working tonight.
you can test if the downloading itself works so far, and if it correctly recognises the desired language.
Traceback (most recent call last): File "D:\Github\Sick-Beard\cherrypy_cprequest.py", line 660, in respond response.body = self.handler() File "D:\Github\Sick-Beard\cherrypy\lib\encoding.py", line 193, in call self.body = self.oldhandler(_args, _kwargs) File "D:\Github\Sick-Beard\cherrypy_cpdispatch.py", line 25, in call return self.callable(_self.args, _self.kwargs) File "D:\Github\Sick-Beard\sickbeard\webserve.py", line 1953, in index return _munge(t) File "D:\Github\Sick-Beard\sickbeard\webserve.py", line 120, in _munge return unicode(string).encode('utf-8', 'xmlcharrefreplace') File "C:\Python27\lib\site-packages\Cheetah\Template.py", line 1010, in unicode return getattr(self, mainMethName)() File "_Github_Sick_Beard_data_interfaces_default_home_tmpl.py", line 339, in respond File "C:\Python27\lib\site-packages\Cheetah\NameMapper.py", line 245, in valueFromSearchList executeCallables=executeCallables) File "C:\Python27\lib\site-packages\Cheetah\NameMapper.py", line 229, in _valueForName obj = nextObj() File "D:\Github\Sick-Beard\sickbeard\tv.py", line 130, in getLanguagesList for language in self.getLanguages(): File "D:\Github\Sick-Beard\sickbeard\tv.py", line 114, in getLanguages for language in self.audio_langs.split("|"): AttributeError: 'NoneType' object has no attribute 'split'
Error i have when adding a show
that error is gone now:)
I've added the language selection to the newShow wizard to the "Customize Options"
I've also commited the Audio flags for Episodes, which get set during snatching.
Next up is the task to replace non satisfactory languages with a satisfactory one :)
i think a bug is left
2012-08-24 23:35:34.547000 SHOWQUEUE-ADD :: DB error: no such column: audio_langs 2012-08-24 23:35:34.557000 SHOWQUEUE-ADD :: Error trying to add show: no such column: audio_langs
Impossible to add a show
in fact the column created in show table is audio_lang and not audio_langs as it should
weird, could you start with a fresh database by deleting/renaming the sickbeard.db ? i think the version numbers were messed up at some point, but it should be fine now
in fact it's me i must be tired i think i did'nt launch the good one lol
I'm launching the new one and ill tell you
yea, sorry, didn't get back to it sooner, but i'll be coding for another 1-2 hours probably :)
ok so it's seems good for adding show
2 suggestions (but i think you planned it) :
yea, the ui right now is just a prototype without much love yet :)
i'll have to look into those saved settings when i'll make that ui better :)
but were getting there pretty quickly in my opinion, what do you think?
oh yes very very quickly
here's a bug while searching :
2012-08-24 23:49:31.033000 SEARCHQUEUE-MANUAL-SEARCH :: Error while searching Newzbin, skipping: unhashable type: 'list'
backlog search works but not the manual search
i've created those two issues as seperate issues to keep better track of that :)
yes know the project is advanced enough to cretate real issue
i have a new one lol
we will keep this issue for discussioon
manual search works with nzbmatrix ;)
the same for nzbsu (newznab)
a question does it actually use the order to snatch an episode or no ?
which order do you mean?
yes sorry imeant order of the language :
I know it doesnt actually keep in mind to keep searchingyour prefered langage if it found english
but when the both are choosen (first french then english does it take the order into account ?)
no it doesn't prioritze/order them yet. but that's the behavior i'll try to archieve
Continuation of the discussion