Skip to content

Commit

Permalink
support unrar 5.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
Shao Hao committed Apr 3, 2014
1 parent 26836a6 commit 0858f34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -69,7 +69,8 @@ UNRAR_OBJS += strlist.o \
headers.o \
threadpool.o \
rs16.o \
cmddata.o
cmddata.o \
ui.o

OBJS = $(UNRAR_OBJS) $(APP).o

Expand Down
5 changes: 5 additions & 0 deletions README → README.md
@@ -1,3 +1,8 @@
vfs_rar
========

vfs plugin for DEADBEEF player.

Please download unrar source code from http://www.rarlab.com/rar_add.htm and
untar the source code into the "unrar" subfolder.

4 changes: 1 addition & 3 deletions vfs_rar.cpp
Expand Up @@ -6,8 +6,6 @@ using namespace std;
#include <deadbeef/deadbeef.h>
#include "unrar/rar.hpp"

#include <wchar.h>

//-----------------------------------------------------------------------------

#ifdef DEBUG
Expand Down Expand Up @@ -64,7 +62,7 @@ vfs_rar_is_streaming (void)
return 0;
}

// fname must have form of zip://full_filepath.zip:full_filepath_in_zip
// fname must have form of rar://full_filepath.rar:full_filepath_in_rar
DB_FILE*
vfs_rar_open (const char *fname)
{
Expand Down

0 comments on commit 0858f34

Please sign in to comment.