New SMTube: first public version

Forum to talk about the development of SMTube (code, patches...).

New SMTube: first public version

Postby rvm » Thu May 07, 2015 12:46 am

Since the old smtube doesn't work anymore, I'm uploading the current code of the new smtube, written from scratch.

To compile it:
Code: Select all
cd src/
qmake
make


Many things are still missing. For example, there's no configuration dialog.

You can get the source code from the SVN repository:
Code: Select all
svn co https://subversion.assembla.com/svn/smplayer/smtube/trunk/ smtube


Packages for windows and linux:
http://smtube.sourceforge.net/
rvm
Site Admin
 
Posts: 2717
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: New SMTube: first public version

Postby scootergrisen » Thu May 07, 2015 3:15 am

Can you give instructions on how to get Windows 7 to build ?
scootergrisen
 
Posts: 258
Joined: Sat Mar 07, 2015 1:43 am

Re: New SMTube: first public version

Postby rvm » Thu May 07, 2015 4:14 am

There's no build for Windows yet. Maybe tomorrow.
rvm
Site Admin
 
Posts: 2717
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: New SMTube: first public version

Postby BlackDalek » Thu May 07, 2015 6:28 am

I am using Ubuntu 14.04.
What prerequisites do I need to compile this?
I seem to be missing something. Here is the error I get...

Code: Select all
~$ make
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DUSE_PLAYERS -DYT_USE_SCRIPT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I.moc mywebview.h -o .moc/moc_mywebview.cpp
make: /usr/lib/x86_64-linux-gnu/qt4/bin/moc: Command not found
make: *** [.moc/moc_mywebview.cpp] Error 127
BlackDalek
 
Posts: 1
Joined: Thu May 07, 2015 6:21 am

Re: New SMTube: first public version

Postby speps » Thu May 07, 2015 10:11 am

rvm wrote:Since the old smtube doesn't work anymore, I'm uploading the current code of the new smtube, written from scratch.

Nice solution, it builds and runs great.
However it does not seems to work, this is what I get when I try to play a video:
Code: Select all
RetrieveYoutubeUrl::parse: no url found with valid signature

Here is the full log

Am I missing something (YouTube code is up to date)?
Thanks
speps
 
Posts: 3
Joined: Wed May 06, 2015 3:12 pm

Re: New SMTube: first public version

Postby rvm » Thu May 07, 2015 2:15 pm

BlackDalek wrote:I am using Ubuntu 14.04.
What prerequisites do I need to compile this?


1) How to make a deb package
----------------------------
Be sure you have installed the following packages: libqt4-dev, zlib1g-dev,
fakeroot, build-essential, devscripts, debhelper and g++.

sudo apt-get install libqt4-dev zlib1g-dev fakeroot build-essential devscripts debhelper g++

Now run ./create_deb.sh

Edit: you also need libqtwebkit-dev
rvm
Site Admin
 
Posts: 2717
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: New SMTube: first public version

Postby rvm » Thu May 07, 2015 2:29 pm

speps wrote:
rvm wrote:Since the old smtube doesn't work anymore, I'm uploading the current code of the new smtube, written from scratch.

Nice solution, it builds and runs great.
However it does not seems to work, this is what I get when I try to play a video:
Code: Select all
RetrieveYoutubeUrl::parse: no url found with valid signature

Here is the full log

Am I missing something (YouTube code is up to date)?
Thanks


It may happen that smplayer fails to find a video for your preferred quality. I think this problem is fixed in svn r6894.
rvm
Site Admin
 
Posts: 2717
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: New SMTube: first public version

Postby rvm » Thu May 07, 2015 2:34 pm

Uploaded a package for Windows. Link in the first post.
rvm
Site Admin
 
Posts: 2717
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: New SMTube: first public version

Postby cootmaster » Fri May 08, 2015 1:02 am

idk anything how to compile
so im assuming this compile is to show us whats changed
and YOU will release a full version when done?
cootmaster
 
Posts: 287
Joined: Sun Sep 16, 2012 5:45 pm

Re: New SMTube: first public version

Postby stevo » Fri May 08, 2015 1:59 am

It seems also to need a build-depends for libqtwebkit-dev, is this correct?
stevo
 
Posts: 31
Joined: Mon Dec 05, 2011 3:14 am

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest