[RELEASE] Pneumatic

  Thread Rating:
  • 7 Votes - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
simon_rb Offline
Senior Member
Posts: 114
Joined: Nov 2011
Reputation: 1
Post: #1001
(2012-04-18 00:49)mattisi Wrote:  1) yes newznab on server end. but somebody would have to know what data where needed from the last part.
i know darkly from the emuIe times ago. that you have to check the option "try download first and last chunk first" to get a preview.

2) so we have the problem surounded! il try to pm you.

it would be still intresting where to find the logs for your plugin(s) in openelec. (will not last problem i do report:-) )

Mattisi,

SSH into your openelec PC and type this

paste /storage/.xbmc/temp/xbmc.log

That will give you a pastebin web address containing you log Wink

Hope this helps.
find quote
Popeye Offline
Posting Freak
Posts: 878
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #1002
(2012-04-18 00:49)mattisi Wrote:  1) yes newznab on server end. but somebody would have to know what data where needed from the last part.
i know darkly from the emuIe times ago. that you have to check the option "try download first and last chunk first" to get a preview.

2) so we have the problem surounded! il try to pm you.

it would be still intresting where to find the logs for your plugin(s) in openelec. (will not last problem i do report:-) )

1. I don't see the point in solving it on the server end. Back in the early days of XBMC it didn't care about full archives. There is a track ticket for fixing this. I dont know C/C++ good enough to solve it. Also, relying on newznab is bad design. Pneumatic should be site independent. Upgrade you connection if you don't have the time to wait... Big Grin

2. I'll look into your pm later.

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
mattisi Offline
Junior Member
Posts: 13
Joined: Apr 2012
Reputation: 0
Post: #1003
@simon
thank for the tip. but i'm to paranoid to use it :-)
so newznab plugin write to xbmc log, good to know

@popeye
1) if its just a "bug/missing feature" of xbmc not could playing without last rar/lastpartofmkv, then it's definitly wrong to go other ways.
I was just thinking it is a problem with some video files/types, that some info/data absolutely essential for playing is at the EndOfFile.
find quote
Popeye Offline
Posting Freak
Posts: 878
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #1004
look at ticket 6888

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
mattisi Offline
Junior Member
Posts: 13
Joined: Apr 2012
Reputation: 0
Post: #1005
@popeye
just doing a flyover, my skills are very limited:-)
i asume you already thinked about just look for name of last rar-file and create a 0byte dummy file, when movie started, delete the dummy?
find quote
Popeye Offline
Posting Freak
Posts: 878
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #1006
(2012-04-18 16:54)mattisi Wrote:  @popeye
just doing a flyover, my skills are very limited:-)
i asume you already thinked about just look for name of last rar-file and create a 0byte dummy file, when movie started, delete the dummy?

This is exactly what is going on right now...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
mattisi Offline
Junior Member
Posts: 13
Joined: Apr 2012
Reputation: 0
Post: #1007
@popeye
i'm thinking about to tweak a newznab. so i need maybe to modify the plugin, but dont wanna lose your great work/updates.
i have tried some little with svn. is that also doable with your plugin? any checkout url?

i'm completely new to phyton/xbmc plugin, but i like to give a try, because of your great plugin:-)
@popeye

your sure, it's just creating a dummy file?

for me it looks, that last part will be downloaded and not just a 0byte dummy is created.
(This post was last modified: 2012-04-18 17:12 by mattisi.)
find quote
Popeye Offline
Posting Freak
Posts: 878
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #1008
This is what I have been saying. Xbmc needs the last rar for mkv and mp4. I dont know why but it works. I also make 7 byte rar header fake files to trick xbmc to play.
Regarding newznab I have no clue what you intend to do...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
mattisi Offline
Junior Member
Posts: 13
Joined: Apr 2012
Reputation: 0
Post: #1009
Ah, now think i understand.
The last rar is needed completly, just a dummy is not enough. for the rars between (r02,r03) you have to create dummys.

i'm looking to create an api for newznab(serverside) for listing series by name.(A..Z)
but then i need to change your plugin to show that.
is there any svn checkout for your code?..so i can merge your updates with my tweaks?
find quote
Popeye Offline
Posting Freak
Posts: 878
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #1010
(2012-04-18 17:29)mattisi Wrote:  Ah, now think i understand.
The last rar is needed completly, just a dummy is not enough. for the rars between (r02,r03) you have to create dummys.

i'm looking to create an api for newznab(serverside) for listing series by name.(A..Z)
but then i need to change your plugin to show that.
is there any svn checkout for your code?..so i can merge your updates with my tweaks?

Great! I'm sorry for my short answers but I have been using tapatalk on my phone and it really sucks writing on a touch screen...
Yes, xbmc need the file beginning and end for mkv/mp4. In some cases there is also a sample inside the rars, then I download the first, second and last since the second usually contains the end of the sample and the beginning of "the real deal". In the case of multi archives (cd1/cd2) I grab the first of each cd and check what files are inside and then create a playlist with the relevant files.
Anyhow, for newznab you can just fork my git repo. Current version of my newznab addon is in the eden branch. Once you are done, just do a pull request and I'll include your code (if it looks good ;D ). Will you merge your api to the current newznab branch or will it be just a personal fork? If so, will you share it? Also, a setting in the newznab addon for enabling the feature could be a good idea...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
Post Reply