Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 33

Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
02/26/14 03:15 PM (10 years ago)

YouTube playlist plugin doubles the video title

YouTube playlist plugin problem: screen showing the video thumbnail and title, the title repeats itself. https://dl.dropboxusercontent.com/u/10050914/photo.PNG I test it in iPhone 5s not simulator, and tried to find a fix through youtube but failed. Anyone has an idea? Thanks,
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/26/14 06:25 PM (10 years ago)
You should send message to: https://www.buzztouch.com/aussiedra They may be able to help, I havent used the plugin yet :-) David https://btmods.com/chat/
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/26/14 10:16 PM (10 years ago)
Let us know how it was fixed
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
03/11/14 09:40 AM (10 years ago)
Any Solution? I am having this problem too.
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
03/11/14 04:51 PM (10 years ago)
The developer is trying to find a solution but nothing so far. Waiting.....
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
03/20/14 04:17 AM (10 years ago)
Any advancement? My app is looking useless.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/20/14 09:07 AM (10 years ago)
Try looking in the Plugin code. I am not near a computer. Look for "title" to be repeated in close proximity. Use the search tool to find "title" in each file of the plugin. It's okay to remove code for experiments.
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
03/21/14 11:44 AM (10 years ago)
Finally, I fixed the issue: (Thanks to Niraj to guide to play with the code) in Das_video_playlist.m file, check about line 158 for this code; - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string{ if ([currentElement isEqualToString:@"media:title"]) { [albumTitle appendString:string]; } if ([currentElement isEqualToString:@"title"]) { [albumTitle appendString:string]; } It looks it is doubling the title and I removed the second statement, bingo!... you can just uncomment (//) before "if", "[albumTitle" and }. I hope this helps... Bayram
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
03/21/14 03:30 PM (10 years ago)
Thanks Bayram and Niraj You guys rock. Adnan
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/21/14 03:52 PM (10 years ago)
We all need a bit of encouragement now and then :-) Yay -- you solved it! -- Niraj
 

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.