Youtube Mod 0.1 Bèta

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Youtube Mod 0.1 Bèta

Postby Qbix » Fri Nov 11, 2011 6:54 pm

Hi All,

This is the first official release of a Youtube search script I've used/changed to fit (my) Subsonic needs.
It's using drag & drop technics and even contains a working playlist option.

Below you can find a screenshot and instructions on how to install this mod.

Screen:
Image

BACKUP ALL FILES IN YOUR SUBSONIC FOLDER!

To install this mod your first need to stop the subsonic service.
Now you need to change one file.

Open the file "\subsonic\jetty\2361\webapp\WEB-INF\jsp\top.jsp"
In this file find:
Code: Select all
<td style="min-width:4em;padding-right:1.5em">
   <a href="nowPlaying.view?" target="main"><img src="<spring:theme code="nowPlayingImage"/>" title="${nowPlaying}" alt="${nowPlaying}"></a><br>
        <a href="nowPlaying.view?" target="main">${nowPlaying}</a>
</td>

Below that add:
Code: Select all
<td style="min-width:4em;padding-right:1.5em">
        <a href="/youtube/index.html" target="main"><img src="../icons/youtube.png" height="22" width="22"></a><br>
        <a href="/youtube/index.html" target="main">Youtube</a>
</td>


Now you need to extract Youtube.rar in your \subsonic\jetty\2361\webapp\ folder.
If everything goes well it would not ask you to overwrite any files. If it does, please contact me.

Please start your subsonic service again, clean your temp. internet files and enjoy your new Youtube search.

I can use some feedback so please let me all know what you think of it. A couple of things I'm still working on are:

- In fullscreen the controls are not always working
- Drag & Drop needs a throw function IMO
- Users must be able to customize table sizes and table order to fit their own needs


Cheers,
Q
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Re: Youtube Mod 0.1 Bèta

Postby SeR » Sat Nov 12, 2011 10:23 am

It works marvelously at the moment. Thank you Qbix.
SeR
 
Posts: 2
Joined: Sun Nov 06, 2011 11:25 pm

Re: Youtube Mod 0.1 Bèta

Postby Qbix » Sat Nov 12, 2011 12:18 pm

You're welcome, if you run into anything just let me know...I will work on the issues mentioned above and I'll release a 0.1 final soon 8)
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Re: Youtube Mod 0.1 Bèta

Postby rfunderburk » Tue Jan 24, 2012 4:12 pm

I love this mod.

I'm trying to switch the Youtube Feed to show just "Official" "Music" videos. I've spent hours researching this and have landed http://code.google.com/apis/youtube/2.0/developers_guide_protocol_video_feeds.html

But none that I've tried have worked, it leaves the entire 50 random video section blank. What line in the index.html would one need to replace to get a category like Music, etc... instead of "Most Recent"?

Also I would like to switch from 3 videos wide to 2. Which section would one need to mod for that.

Thanks for any assistance & this great mod.

I have switched the background to black & the font's to white to match my theme as well. Along with the icon to closer match my theme. If you do not mind & others are interested I will happily share.
rfunderburk
 
Posts: 7
Joined: Sat Jan 07, 2012 11:35 pm

Re: Youtube Mod 0.1 Bèta

Postby muiz » Tue Jan 24, 2012 8:38 pm

black looks nice, please share :)
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Re: Youtube Mod 0.1 Bèta

Postby rfunderburk » Tue Jan 24, 2012 10:44 pm

Edited \subsonic\jetty\2361\webapp\index.html

The original index.html

Background sections:
Line
637 background: #EFEFEF;
675 background: #EFEFEF;
686 background: #EFEFEF;
713 background: #EFEFEF;
732 background: #EFEFEF;

Edited to show:
637 background: #000000;
675 background: #000000;
686 background: #000000;
713 background: #000000;
732 background: #000000;

Fonts:
Line
639 color: #000000;
648 color: #000000;
655 color: #000000;

Edited to show:
639 color: #FFFFFF;
648 color: #FFFFFF;
655 color: #FFFFFF;

You can change the background & fonts to any color of your choosing by using http://drpeterjones.com/colorcalc/ and replacing the 6 digits of Hexadecimal above #000000 or #FFFFFF

I'm going to attach the index.html, which you can swap with the original (if you would like it removed Qbix) just let me know.
-Download Index.zip
-Unzip to \subsonic\jetty\2361\webapp\youtube\
-When prompted replace the original (make a backup of the original)
-Stop the Subsonic Control Panel Service
-Restart the Subsonic Control Panel Service
-Clear the browers cache'
-Log back in.
rfunderburk
 
Posts: 7
Joined: Sat Jan 07, 2012 11:35 pm

Re: Youtube Mod 0.1 Bèta

Postby muiz » Wed Jan 25, 2012 11:47 am

thx i will try
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Re: Youtube Mod 0.1 Bèta

Postby muiz » Wed Jan 25, 2012 5:42 pm

Niceeeee, thx !
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Re: Youtube Mod 0.1 Bèta

Postby Hellscream » Sat Jan 28, 2012 6:05 pm

AAAAAAA Awesome m8 GZ i love this.
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Youtube Mod 0.1 Bèta

Postby text » Wed Feb 08, 2012 10:27 am

Nice.

Is this one of those mods that's going to need frequent updates because of how YouTube will change their design often?
text
 
Posts: 40
Joined: Tue Feb 07, 2012 7:34 am

Re: Youtube Mod 0.1 Bèta

Postby Hellscream » Thu Feb 16, 2012 9:35 pm

Qbix wrote:Hi All,

This is the first official release of a Youtube search script I've used/changed to fit (my) Subsonic needs.
It's using drag & drop technics and even contains a working playlist option.

Below you can find a screenshot and instructions on how to install this mod.

Screen:
Image

BACKUP ALL FILES IN YOUR SUBSONIC FOLDER!

To install this mod your first need to stop the subsonic service.
Now you need to change one file.

Open the file "\subsonic\jetty\2361\webapp\WEB-INF\jsp\top.jsp"
In this file find:
Code: Select all
<td style="min-width:4em;padding-right:1.5em">
   <a href="nowPlaying.view?" target="main"><img src="<spring:theme code="nowPlayingImage"/>" title="${nowPlaying}" alt="${nowPlaying}"></a><br>
        <a href="nowPlaying.view?" target="main">${nowPlaying}</a>
</td>

Below that add:
Code: Select all
<td style="min-width:4em;padding-right:1.5em">
        <a href="/youtube/index.html" target="main"><img src="../icons/youtube.png" height="22" width="22"></a><br>
        <a href="/youtube/index.html" target="main">Youtube</a>
</td>


Now you need to extract Youtube.rar in your \subsonic\jetty\2361\webapp\ folder.
If everything goes well it would not ask you to overwrite any files. If it does, please contact me.

Please start your subsonic service again, clean your temp. internet files and enjoy your new Youtube search.

I can use some feedback so please let me all know what you think of it. A couple of things I'm still working on are:

- In fullscreen the controls are not always working
- Drag & Drop needs a throw function IMO
- Users must be able to customize table sizes and table order to fit their own needs


Cheers,
Q

you can also change this
Code: Select all
<td style="min-width:4em;padding-right:1.5em">
        <a href="/youtube/index.html" target="main"><img src="../icons/youtube.png" height="22" width="22"></a><br>
        <a href="/youtube/index.html" target="main">Youtube</a>
</td>

to this
Code: Select all
<td style="min-width:4em;padding-right:1.5em">
        <a href="/youtube/index.html" target="main"><img src="<spring:theme code="youtubeImage"/>" title="${youtube}" alt="${youtube}"></a><br>
        <a href="/youtube/index.html" target="main">${youtube}</a>

than edit ResourceBundle.properties and ResourceBundle_en.properties location for this file is (\subsonic\jetty\2583\webapp\WEB-INF\classes\net\sourceforge\subsonic\i18n\) add this line
Code: Select all
top.youtube = Youtube
in bouth files.
Than edit default.properties location for this file is (:\subsonic\jetty\2583\webapp\WEB-INF\classes\net\sourceforge\subsonic\theme\) and add
Code: Select all
youtubeImage = icons/youtube.png
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Youtube Mod 0.1 Bèta

Postby rfunderburk » Fri Feb 17, 2012 4:11 am

@Hellscream, what will those changes do for this mod? Thanks
rfunderburk
 
Posts: 7
Joined: Sat Jan 07, 2012 11:35 pm

Re: Re: Youtube Mod 0.1 Bèta

Postby Hellscream » Wed Feb 22, 2012 11:42 am

rfunderburk wrote:@Hellscream, what will those changes do for this mod? Thanks

in original code u manualy set size of the icon in top.jsp with this code i post size of the icon is determen by the real size of the icon file u have in icon follder

Sent from my GT-P7500 using Tapatalk
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Youtube Mod 0.1 Bèta

Postby siGh » Mon Mar 12, 2012 9:13 am

An excellent mod! It installed exactly as instructed, and works like a charm :) Keep up the great work
siGh
 
Posts: 30
Joined: Tue Mar 06, 2012 7:51 am
Location: Northamptonshire

Re: Youtube Mod 0.1 Bèta

Postby snoopyp » Mon Apr 16, 2012 12:03 pm

What version do you use?
Link http://www.uniper.nl/youtube.rar doesn't work...

Thanks
snoopyp
 
Posts: 8
Joined: Fri Apr 13, 2012 8:39 am

Next

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 4 guests