Advertising (This ad goes away for registered users. You can Login or Register)

Qcma - Crossplatform content manager for the PSVita

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Locked
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Qcma - Crossplatform content manager for the PSVita

Post by codestation »

QCMA is an open source Content Manager Assistant for the PS Vita. Since Sony forgot about Linux users i decided to make an implementation of their CMA using the vitamtp library that Yifan Lu made. QCMA is made in Qt so it can be recompiled to Windows and Mac OS X without trouble.

Advanced settings explanation:
  • Offline mode: if you disable this then the PS Vita can use Qcma to check for updates and download firmware updates from the Internet. Keep it disabled if you don't want to upgrade.
  • Skip metadata retrieval: the initial scan will be A LOT faster by omiting some info when doing the initial scan. For example you will not be able to see ID3 info for mp3 files, resolution and duration for movies and game names for psp savedatas.
  • Disable USB monitoring: Qcma won't be able to connect to the PS Vita using a USB cable.
  • Disable wireless monitoring: Qcma won't be able to connect to the PS Vita via WiFi.
Verbose logging is activated by the command line switch --verbose. Debug output is activated using --with-debug (this will create hex dumps of every transaction). Under windows use qcma_console.exe to generate logs.

Some screenshots because people like pictures of things ;)
Linux
Image
Image
Image
Image
Image
Windows
Image
Image
Image
Image
Image
OS X
Image
Image
Image
Image
Image
Source code: https://github.com/codestation/qcma
Wiki: https://github.com/xiannox/qcma/wiki
Download links: http://codestation.github.io/qcma https://github.com/codestation/qcma/releases/latest

If you like this software and want to buy me a juice beer or a game then you can make a donation here (via PayPal):
Image

This software wouldn't be possible without the vitamtp library, so you can also show Yifan Lu some appreciation (his donate button is on the right of his website).
Advertising
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
fate6
Big Beholder
Posts: 7599
Joined: Fri Mar 09, 2012 1:18 am
Location: [fate6@Canterlot ~]$

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by fate6 »

Yay!
as much as I like the terminal I do like GUI's ^__^
plus with my new PC arriving in a few days I will finally be able to get back to Linux so this will be useful
(I'm switching to Archlinux from OpenSuse, yep thats right its time for big boy Linux!)
(and now I wait for Xian's response even tho I know he doesn't care but hey its funner this way :3)
Advertising
Image
anon wrote:If you can't trust a 600 year old vampire in a prepubescent girl's body, who can you trust?
Total-Noob
Guru
Posts: 536
Joined: Sat Feb 02, 2013 5:08 pm

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by Total-Noob »

Great work!
wth
HBL Developer
Posts: 834
Joined: Wed Aug 31, 2011 4:44 pm
Contact:

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by wth »

Nice ! Qt ftw :p
SMOKE
Retired Mod
Posts: 3673
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by SMOKE »

Thanks codestation! I have one question though.
How do I compile it? Im assuming I need Qt, which im installing now, but what do I need to do after I get Qt installed?
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by codestation »

SMOKE wrote:Thanks codestation! I have one question though.
How do I compile it? Im assuming I need Qt, which im installing now, but what do I need to do after I get Qt installed?
First of all, i recommend to use Qt 5.x if you don't have any other Qt apps in your system or Qt 4.x if you are using KDE so it can use the native themes. You also need the latest ffmpeg/libav available.

For the vitamtp library, you have to use my fork (the link is in the readme) for now since i added a couple of extra functions and added some missing functionality (like cancelTask support, somewhat hacky but it works for now until a better design is made).

To compile qcma just do the following:

Code: Select all

lrelease qcma.pro  # to compile the translations
qmake  PREFIX=/usr # makefile generation (use qmake-qt4 or qmake4 or similar (depends of your distro) if you are linking aganist Qt 4 )
make
make install  # installation into /usr, you can change the prefix to /usr/local or any other of your choice.
Update the desktop database to refresh the menu entries (so you can see an qcma entry in your DE menu).

Code: Select all

gtk-update-icon-cache -ftq usr/share/icons/hicolor
update-desktop-database -q
What is your distro, architecture (32 or 64 bits) and version of ffmpeg? (these guys break their API a lot so i have to ask for your version). I can take some time of the next week to learn a little about .deb packaging and create some download links for Debian/Ubuntu.
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
SMOKE
Retired Mod
Posts: 3673
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by SMOKE »

codestation wrote:What is your distro, architecture (32 or 64 bits)
Ubuntu 13.04 32bit
codestation wrote:and version of ffmpeg?
Synaptic Package Manager says: 6:0.8.6-1ubuntu2

Also, when I try to compile using qmake PREFIX=/usr
It says: Project ERROR: Package libvitamtp not found
I already have your fork installed and working, so IDK whats going on.
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by codestation »

SMOKE wrote:I already have your fork installed and working, so IDK whats going on.
Do you also have installed the pkgconfig file? The install script should have copied that too

Code: Select all

% cat /usr/lib/pkgconfig/libvitamtp.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libvitamtp
Description: Media transfer with PlayStation Vita
Version: 2.0.0
Libs: -L${libdir} -lvitamtp
Libs.private: 
Requires.private: libusb-1.0 libxml-2.0
Cflags: -I${includedir}
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
SMOKE
Retired Mod
Posts: 3673
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by SMOKE »

codestation wrote:Do you also have installed the pkgconfig file? The install script should have copied that too
Theres no libvitamtp.pc at /usr/lib/pkgconfig
I took the code you posted and moved it to there, but it still says the same thing.
Did I do it right?
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: QCMA - Content Manager Assistant GUI for vitamtp

Post by codestation »

Some troubleshooting:

Code: Select all

% pkg-config --libs --cflags libvitamtp
-I/usr/include/libusb-1.0 -I/usr/include/libxml2 -lvitamtp 
% ls -l /usr/lib/libvitamtp.*    
-rw-r--r-- 1 root root 296914 sep  1 02:27 /usr/lib/libvitamtp.a
lrwxrwxrwx 1 root root     19 sep  1 02:27 /usr/lib/libvitamtp.so -> libvitamtp.so.2.0.0
lrwxrwxrwx 1 root root     19 sep  1 02:27 /usr/lib/libvitamtp.so.2 -> libvitamtp.so.2.0.0
-rwxr-xr-x 1 root root 214888 sep  1 02:27 /usr/lib/libvitamtp.so.2.0.0
% ls -l /usr/include/vitamtp.h      
-rw-r--r-- 1 root root 24202 sep  1 02:27 /usr/include/vitamtp.h
% echo $PKG_CONFIG_PATH
Do you have installed pkg-config? other devel packages?
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
Locked

Return to “Programming and Security”