Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 99

Slav
Apple Fan
Profile
Posts: 37
Reg: Sep 09, 2013
Toronto
370
01/21/14 04:51 PM (11 years ago)

YouTube Playlist plugin cause app crashing, bad reviews

My app started selling OK, but now I have only bad reviews and ratings. People complain that going to this screen cause app to crash. I checked - yes, almost always it crashes. And app is build around this plugin mostly. Maybe somebody can advice me anything? Maybe the number of videos should be limited, or anything else?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/21/14 06:05 PM (11 years ago)
Bah. That bites. Sorry for the pain. "Usually" when something crashes, it's because of a code issue. However, if it works and then it doesn't, that 'typically' means it's running out of memory. Either way, you're going to need to hookup your device to your computer, and run your app from within Xcode and monitor the logs to see if there is any 'pattern' to the crash. I don't have that plugin (I usually confine myself to cross platform) but if the App is for iOS 6, then make sure all of your objects are released from memory as soon as they're done instead of when the screen closes. The steady playing of large video files will eat up your memory, and after a while it will run out… and crash. a BTv3 app will be using 'ARC', and will release objects automatically, so you 'should not' have this problem in BTv3... I can't say that *this* is your problem; no logs, no real info. But this 'sounds' like it's your problem. Good Luck! Cheers! -- Smug
 
KozmoWeb
Aspiring developer
Profile
Posts: 342
Reg: Dec 08, 2012
Sarasota, FL
8,520
like
01/21/14 06:21 PM (11 years ago)
Hi @Slav, I've seen this happen in my app. There was one video in the playlist that was no longer available (removed by the uploader I think) and this caused the app to crash. Look in your playlist and check that all the videos are still live. Remove any references to any videos that no longer exist. This fixed the problem for me. Best, -William
 
Slav
Apple Fan
Profile
Posts: 37
Reg: Sep 09, 2013
Toronto
370
like
01/21/14 06:54 PM (11 years ago)
THIS SOLVED MY PROBLEM!!!! Guys, thank you very much, you can't imagine how frustrating this was! I think this ABSOLUTELY SHOULD be mentioned in plugin description and in installation instructions in control panel (by the way very detailed in all other way) Just say: This plugin needs constant monitoring for the playlists, especially if you are not the author of videos. Thank you again
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/21/14 07:35 PM (11 years ago)
Way cool! Nice going, Kozmo! :) Good information to know :) Cheers! -- Smug
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
01/22/14 09:52 AM (11 years ago)
One thing I do to prevent youtube links from going down and my app not knowing it, I rip the video from youtube, then re-upload it to my own youtube account, and mark it as unlisted. That way, it's not like I'm not duplicating the youtube post, since it's not publicly visible (unless you have the direct link), but my app can still access it, even if the original one is removed. Gives me a little more feeling of control this way, and no worries about videos being removed without you knowing about it. Theres a great free online tool to rip the video from youtube... it's at http://www.clipconverter.cc and it allows 50 per day for free without registration.
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
01/22/14 01:30 PM (11 years ago)
update coming up to fix this and also to allow to add youtube channels.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/22/14 09:50 PM (11 years ago)
Great Aussiedra! Please let us know when you update then Plugin. Thank you.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
01/23/14 08:16 AM (11 years ago)
Awesome news. Such a great plugin with so much code to explore and use. I've hacked it up so much, can't wait to see your new mods. I love that Parser in there :) Ninja - check out jDownloader if you're ripping YT's. You can grab the 720 version with it.
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
02/06/14 07:23 AM (11 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.